You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wsdl type provider doesn't work on clean install of Windows 10 #637
The type provider 'Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders' reported an error: The .NET SDK 4.0 or 4.5 tools could not be found ConsoleApplication2 c:\users\robert\documents\visual studio 2015\Projects\ConsoleApplication2\ConsoleApplication2\Program.fs 8
As far as I can see, the version of the type providers that ships with VS 2017.3 still doesn't have this fix in it. I had the same error, and I looked at the IL for the Wsdl Provider (in C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp.NETFramework\v4.0\4.3.0.0\Type Providers) it looks to me like the original 'two locations' strategy, not the fixed version from PR 638 that checks for the SDK in more locations. Maybe I'm just referencing the wrong dll, but this is the only one I could find (and the one that appears in VS 2017's Add Reference dialog, on my new laptop)
I reference nuget FSharp.Data.TypeProviders, 5.0.0.2, the problem goes away, which makes me strongly suspect that this fix has never made it's way into an OOB release, and anyone struggling with this should probably reference the nuget instead.
Activity
piers7 commentedon Oct 18, 2017
As far as I can see, the version of the type providers that ships with VS 2017.3 still doesn't have this fix in it. I had the same error, and I looked at the IL for the Wsdl Provider (in C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp.NETFramework\v4.0\4.3.0.0\Type Providers) it looks to me like the original 'two locations' strategy, not the fixed version from PR 638 that checks for the SDK in more locations. Maybe I'm just referencing the wrong dll, but this is the only one I could find (and the one that appears in VS 2017's Add Reference dialog, on my new laptop)
Assembly I'm looking in:
// Type: Microsoft.FSharp.Data.TypeProviders.Utility.Util
// Assembly: FSharp.Data.TypeProviders, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// MVID: 5011D889-858F-C49F-A745-038389D81150
// Assembly location: C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp.NETFramework\v4.0\4.3.0.0\Type Providers\FSharp.Data.TypeProviders.dll
I reference nuget FSharp.Data.TypeProviders, 5.0.0.2, the problem goes away, which makes me strongly suspect that this fix has never made it's way into an OOB release, and anyone struggling with this should probably reference the nuget instead.
dsyme commentedon Nov 6, 2017
Yes, you should reference the nuget package from now on