This project is read-only.

How to debug Crude.Tasks

  • Unload TestingProject project
  • On Crude.Tasks project properties, Debug tab set the "start external program" to msbuild (C:\Windows\Microsoft.NET\Framework64\v4.0.30319) ()
    • If not 64bit system - C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
  • Set the "command line argument" to the full location of the csproj of TestingProject
  • Restart Visual Studio (Crude.Tasks is loaded and cannot be build because TestingProject was initially loaded)
  • Set the Crude.Tasks as startup project
  • To run another msbuild target add to the "command line argument" /target:PublishLocal (to execute publish local)
  • To write the build log to a file add to the "command line argument" /fileLogger1

Last edited Dec 5, 2010 at 8:26 PM by maximno, version 4


No comments yet.