Search code examples
c#pathsdksqlmetallinqer

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


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


Solution

  • 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.