How to set SGEN toolpath in Msbuild to target 3.5 framework

后端 未结 5 429
时光取名叫无心
时光取名叫无心 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:12

    @Craig - Did you manually install the 7.0A framework on your build machine. If so, your problem may be your registry settings and not msbuild. Take a look at LocalMachine -> Software -> Microsoft -> MSBuild -> ToolsVersions -> 4.0 -> SDK35ToolsPath and make sure the reg key that is referenced there is valid. (Hint: Make sure the -x86 is there only if the -x86 key exists.)

提交回复
热议问题