sqlmetal.exe not found in path even though it is on my machine in the correct path - Linqer Program

3.8k Views Asked by At

I am trying to run Linqer (a program for sql -> linq) and getting this error when creating a DB connection, and trying to generate "linq to sql model files".

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

Shown here:enter image description here

I have the file in the folder: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools,

How can I set it to use v10.0A instead of v8?

I have checked I have installed all microsoft SDKs on Visual Studio. How do I set the correct path for this? I would appreciate any help on this! Thanks

2

There are 2 best solutions below

3
On BEST ANSWER

Your error is telling you that it can't find it in

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

whereas you're looking in

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

Set the correct path on the SQLMetal Options dialog.

0
On

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.