I have a Visual Studio 2010 MVC2 web application that I\'m building via the command line using Hudson. I\'d like to make Hudson publish a web output, so I added the DeployO
It seems that conditions to run publish target are not satisfied.
1) You can have different publication paths
2) Condition to run publish target is false
To verify both of them call your command with flag /v:diag. Search by Target "Publish" and try to figure out what really happens. It will looks like
Target "ExecuteT4Templates: (TargetId:144)" in file "D:\App\App.csproj" from project "D:\App\App.csproj":
Skipping target "ExecuteT4Templates" because all output files are up-to-date with respect to the input files.
Input files: D:\App\App.exe\\App_Config\Configuration.tt;D:\App\App.exe\\App_Config\Debug.App.tt;obj\\Debug.t4lastbuild
Output files: D:\App\App.exe\\App.config
Done building target "ExecuteT4Templates" in project "App.csproj".: (TargetId:144)