I have a project for all javascript (which I have made common for three projects)
During a build, I want to take these scripts in three projects, how can I do this by editing the .csproj and how?
Update:
I have the same solution in webapplication1 and webapplication2 and I < Code> .csproj for Webapplication1, and I want to copy all the files to the Test folder
& lt; Target name = "afterbild" & gt; & Lt; Copy source files = "$ (WDTargetDir) test \" destination folder = "$ (SolutionRoot) WebApplication2" & gt; & Lt; / Copy & gt; & Lt; / Target & gt; Although nothing is happening.
There are two ways to do this:
_xproject Edit, you should target a goal named after (cancel goal).
& lt; Item group & gt; & Lt; Include JavascriptFiles = "* .js" /> & Lt; / ItemGroup & gt; & Lt; Target name = "afterbild" & gt; & Lt; Copy source files = "@ (javascript files)" destinationfolder = "pathwidthIcontextyourjojoscript files" /> & Lt; / Target & gt; _ Post Build Event (in Project Properties) in Visual Studio
Comments
Post a Comment