How to set SGEN toolpath in Msbuild to target 3.5 framework

后端 未结 5 405
时光取名叫无心
时光取名叫无心 2020-11-29 07:58

I\'ve just upgraded a project from VS2008 to VS2010 but I\'m still targeting the 3.5 framework.

In my project file I have a custom task to run SGEN to generate my X

5条回答
  •  清酒与你
    2020-11-29 08:25

    The problem is $(SGenToolPath) isn't set by MSBuild. If you use $(TargetFrameworkSDKToolsDirectory) then it will attempt to resolve the path based on $(TargetFrameworkVersion).

    Its helpful to make use of tags for printf() style debugging. Add the following temporally.

    
      
      
      
    

提交回复
热议问题