在VS2013中构建SQL Server数据库项目时出错

时间:2016-05-24 10:09:03

标签: asp.net visual-studio-2013

我已经创建了一个数据库应用程序,我正在尝试在VS2013中构建它,但它总是抛出错误:

Error 101 03073: The command ""C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin>sgen.exe" "C:\D\GoogleGeoCoder\GoogleGeoCoder\bin\Debug\GoogleGeoCoder.dll"" exited with code 3. 
File => "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets"

什么是Microsoft.Common.CurrentVersion.targets以及使用它的目的是什么?

什么是sgen.exe

如何解决上述构建错误?

1 个答案:

答案 0 :(得分:0)

在我的案例中执行以下步骤:

步骤:

  • 右键单击项目并转到属性。
  • 选择Build Events
  • sgen.exe路径更改为C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\sgen.exe
  • 并检查dll提供的路径是否正确。
相关问题