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

Support .NET Standard #39

Closed diegobfernandez closed 4 years ago

diegobfernandez commented 7 years ago

Description

I would like to use this package on a .NET Standard library.

Repro steps

  1. dotnet add MyProject.csproj package ExcelProvider

Expected behavior

ExcelProvider to be installed on project

Actual behavior

PS C:\Users\diego\projects\core> dotnet add .\Core\Core.fsproj package ExcelProvider
Microsoft (R) Build Engine version 15.1.545.13942
Copyright (C) Microsoft Corporation. All rights reserved.

  Writing C:\Users\diego\AppData\Local\Temp\tmp81DD.tmp
info : Adding PackageReference for package 'ExcelProvider' into project '.\Core\Core.fsproj'.
log  : Restoring packages for C:\Users\diego\projects\core\Core\Core.fsproj...
info :   CACHE https://api.nuget.org/v3-flatcontainer/excelprovider/index.json
info :   CACHE https://api.nuget.org/v3-flatcontainer/excelprovider/0.8.1/excelprovider.0.8.1.nupkg
error: Package ExcelProvider 0.8.1 is not compatible with netstandard1.6 (.NETStandard,Version=v1.6). Package ExcelProvider 0.8.1 supports: net (.NETFramework,Version=v0.0)
error: One or more packages are incompatible with .NETStandard,Version=v1.6.
error: Package 'ExcelProvider' is incompatible with 'all' frameworks in project '.\Core\Core.fsproj'.

Known workarounds

None

Related information

.NET Command Line Tools (1.0.0-rc4-004777)

Product Information:
 Version:            1.0.0-rc4-004777
 Commit SHA-1 hash:  18c01886cd

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.0-rc4-004777
abhiranjankumar00 commented 7 years ago

+1

quintusm commented 6 years ago

+1

dsyme commented 6 years ago

Addressed in https://github.com/fsprojects/ExcelProvider/pull/61.

Please give version 1.0.0 a go. Namespace has been changed to FSharp.Interop.Excel.ExcelProvider

quintusm commented 4 years ago

I think we can safely close this issue now