1

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

RBarryYoung
  • 55,398
  • 14
  • 96
  • 137
Liam
  • 429
  • 1
  • 13
  • 33

2 Answers2

6

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.

spodger
  • 1,668
  • 1
  • 12
  • 16
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.

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291