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
When creating a new provider and referencing FSharp.TypeProviders.SDK7.0.3 from Nuget, getting the following compilation error:
The type provider designer assembly 'AvroProvider.DesignTime.dll' could not be loaded from folder '/Users/alexey/src/test/AvroProvider/src/AvroProvider.DesignTime/bin/Debug/net6.0'. The exception reported was: System.IO.FileNotFoundException - Could not load file or assembly 'FSharp.TypeProviders.SDK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
There is no place in the project that references FSharp.TypeProviders.SDK1.0.0.0, however AvroProvider/src/AvroProvider.DesignTime/bin/Debug/net6.0/AvroProvider.DesignTime.deps.json includes this statement:
The provider builds and is accessible in the test project
Actual behavior
The type provider designer assembly 'AvroProvider.DesignTime.dll' could not be loaded from folder '/Users/alexey/src/test/AvroProvider/src/AvroProvider.DesignTime/bin/Debug/net6.0'. The exception reported was: System.IO.FileNotFoundException - Could not load file or assembly 'FSharp.TypeProviders.SDK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Known workarounds
I wasn't able to find any
Related information
Operating system: Mac OS
Branch: NuGet, 7.0.3
.NET Version: 6.0.202
The text was updated successfully, but these errors were encountered:
dsyme
changed the title
Wrong version of FSharp.TypeProviders.SDK is required when using a nuget package
FSharp.TypeProviders.SDK nuget package usage is not simple and not documented
Aug 17, 2022
Description
Env:
.NET6
,F# 6
,MacOS
, nopacket
When creating a new provider and referencing
FSharp.TypeProviders.SDK
7.0.3
from Nuget, getting the following compilation error:There is no place in the project that references
FSharp.TypeProviders.SDK
1.0.0.0
, howeverAvroProvider/src/AvroProvider.DesignTime/bin/Debug/net6.0/AvroProvider.DesignTime.deps.json
includes this statement:I am not sure if it is a cause of a symptom of the problem.
Repro steps
Clone this project: https://github.com/AlexeyRaga/FSharp.AvroProvider
do
dotnet build
(I am building it on MacOS)Expected behavior
The provider builds and is accessible in the test project
Actual behavior
Known workarounds
I wasn't able to find any
Related information
The text was updated successfully, but these errors were encountered: