visual studio 2010 - MSBuild Tasks Execution -
vs 2010 - .net 4.0
in .csproj file if dropped following code @ bottom of file inside tag why not run?
<target name="foobared" > <message text="hello foobar" /> </target>
i trying understand makes target execute. have .targets file target in getting imported proj file , runs fine.
i have .targets file target in no condition , not run.
1) change importance of message task. add importance="high" message task.
2) 'foobared' not default build target. you'll either need pass "/t:foobared" msbuild.exe command, or cause target execute using dependsontargets, aftertargets, or beforetargets.
Comments
Post a Comment