I have a csproj file that copies shared (linked) files on build, like this:
<Target Name="CopyLinkedContentFiles" BeforeTargets="Build">
<Copy SourceFiles="%(None.Identity)" DestinationFiles="%(None.Link)" SkipUnchangedFiles="true" OverwriteReadOnlyFiles="true" ContinueOnError="true" Condition="'%(None.Link)' != ''" />
</Target>
I use it for core ts and css files. Now, every time I change something in these files, I have to rebuild in order for these files to be updated in the opened solution.
Is there a way I can do any of these:
- Manually trigger the copy of one of these files
- Make a task to automatically copy on save any of these files
- Some other way I cannot foresee?
thanks!