Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Unassigned: Build Action / Publish options missing from linked files [1370]

$
0
0
These options are not available for linked files from the Properties pane for linked files.

This is an issue for me as I have common code I share across projects and I need to publish the file with my builds.
Comments: I am working around this at the moment by adding a new target into the njsproj file ``` <!-- Copy linked files --> <Target Name="CopyLinkedFiles" AfterTargets="Build"> <Copy SourceFiles="@(Content)" DestinationFiles="@(Content->'$(IntermediateOutputPath)%(Link)')" SkipUnchangedFiles="true" OverwriteReadOnlyFiles="true" Condition="%(Content.Link) != ''" /> </Target> ```

Viewing all articles
Browse latest Browse all 4630

Trending Articles