sqlmetal.exe在路径中找不到,即使它在我的机器上正确的路径 - Linqer程序

问题描述 投票:0回答:2

我正在尝试运行Linqer(一个sql程序 - > linq)并在创建数据库连接时遇到此错误,并尝试生成“linq to sql model files”。

错误:文件C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools/SqlMetal.exe not found

如图所示:enter image description here

我有文件夹中的文件:C:\ Program Files(x86)\ Microsoft SDKs \ Windows \ v10.0A \ bin \ NETFX 4.6.2工具,

如何将其设置为使用v10.0A而不是v8?

我已经检查过我在Visual Studio上安装了所有的microsoft SDK。如何为此设置正确的路径?我将不胜感激任何帮助!谢谢

c# path sdk sqlmetal linqer
2个回答
1
投票

您的错误告诉您它无法找到它

C:\Program Files (x86)\Microsoft SDKs\Windows\**v8.0A**\bin\**NETFX 4.0 Tools**/

而你正在寻找

C:\Program Files (x86)\Microsoft SDKs\Windows\**v10.0A**\bin\**NETFX 4.6.2 Tools**/

在“SQLMetal选项”对话框中设置正确的路径。


0
投票

Please go and Search in 
C:\Program Files (x86)\Microsoft SDKs\Windows with term "SqlMetal.exe"

I got "not found" error in this location:
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SqlMetal.exe



But it was there here.
C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\SqlMetal.exe

NETFX 4.5.1  is the difference .Please Try once again
© www.soinside.com 2019 - 2024. All rights reserved.