Skip to content
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

Build is broken without full VS installation #412

Open
omcnoe opened this issue Oct 5, 2021 · 0 comments
Open

Build is broken without full VS installation #412

omcnoe opened this issue Oct 5, 2021 · 0 comments

Comments

@omcnoe
Copy link

omcnoe commented Oct 5, 2021

Issue Summary

.NET developer pack from https://dotnet.microsoft.com/download/visual-studio-sdks alone is not enough to successfully build a project using this library. There is some dependency that is only pulled in with a full VS installation.

To Reproduce

On clean Windows 10 install, install .NET 4.8 developer pack but not full VS.
Create new project in Rider using SqlCommandProvider.

Error

At build time you will receive this error:
error FS3053: Error : The type provider constructor has thrown an exception: Could not load file or assembly 'System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. 4>FSC: Error FS3005 : Referenced assembly 'C:\Users\omcnoe\.nuget\packages\fsharp.data.sqlclient\2.0.7\lib\net40\FSharp.Data.SqlClient.dll' has assembly level attribute 'Microsoft.FSharp.Core.CompilerServices.TypeProviderAssemblyAttribute' but no public type provider classes were found

Expected behavior

Build should work without error, or at least indicate which missing component needs installed. Currently build fails with this obtuse error message. Solution is to install full Visual Studio with desktop .Net development components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant