-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openapitypeprovider\1.5.1\lib\netstandard2.0\OpenAPITypeProvider.dll cannot be loaded #6
Comments
My fsproj is: <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="FSharp.Core" Version="4.5.2" />
<PackageReference Include="OpenAPITypeProvider" Version="1.5.0" />
</ItemGroup>
</Project> |
F# Type Provider Design-Time Components appears to still have troubles with dotnet core. Here are my notes from looking around:
F# Tooling RFC FST-1003 - Loading Type Provider Design-Time Components into F# Tooling I think there are still unresolved problems dotnet/fsharp#3303 (comment) |
Hi @ctaggart, thanks for information and notes. I suppose that this example app does not work for you neither, does it? |
If you author type providers with dependencies you should use the exact structure used by the TPSDK template
|
Thank you Don, I'll use template and try to merge it with current implementation. |
@ctaggart FYI I still working on it, I got build already running, but fighting with |
Hi @ctaggart, please, could you try this version and let me know? https://www.nuget.org/packages/OpenAPITypeProvider/1.6.0-beta1 It's based on template mentioned by @dsyme and should hopefully fix all problems with dependencies. 🙏 |
Yay! It is working now. 🎉 |
Thanks @ctaggart! Going to release new full version soon, meanwhile stick with beta. Thanks! |
Enjoy your weekend @Dzoukr! I'll be back on Tuesday. This looks like a great start. |
I'm a bit confused why I'm getting this TypeProvider error. I've got the latest Visual Studio 15.8.7 installed.
The text was updated successfully, but these errors were encountered: