fsprojects / ExcelProvider

This library is for the .NET platform implementing a Excel type provider.
http://fsprojects.github.io/ExcelProvider/
The Unlicense
141 stars 51 forks source link

no public type provider classes were found #6

Closed mfcd closed 10 years ago

mfcd commented 10 years ago

I get the following:

Referenced assembly 'C:...\packages\ExcelProvider.0.1.0\lib\net40\ExcelProvider.dll' has assembly level attribute 'Microsoft.FSharp.Core.ComplierServices.TypeProviderAssemblyAttribute' but no public type provider classes were found

This error is generated by:

'''

r @"C:...\packages\ExcelProvider.0.1.0\lib\net40\ExcelProvider.dll"

'''

could you point me in the right direction fixing this? Thank you

Btw, what is the difference between the ExcelProvider and FSharpx.TypeProviders.Excel ?

UeliHilfiker commented 10 years ago

I has this similar problem in a vb.NET project under Microsoft Visual Studio 2013 Desktop Express. I could solved the problem after installing "Visual F# Tools", see: http://fsharp.org/use/windows/ and then install ExcelProvider via NuGet again.

NickJosevski commented 9 years ago

I hit this error attempting to build it targeting .NET Framework 4.0 (via some msbuild scripts), changing to build in our intended 4.5.1 fixed this.