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

Simple RdfProvider breaks on System.Private.CoreLib #391

Open
bdkoepke opened this issue Dec 4, 2022 · 0 comments
Open

Simple RdfProvider breaks on System.Private.CoreLib #391

bdkoepke opened this issue Dec 4, 2022 · 0 comments

Comments

@bdkoepke
Copy link

bdkoepke commented Dec 4, 2022

Description

DesignTime the RdfProvider I built here (https://github.com/bdkoepke/RdfProvider) resolves the types, but then fails with the following message during compile time for the tests

error FS1108: The type 'Int32' is
required here and is unavailable. You must add a reference to assembly 'System.Private.CoreLib, Version=6.0.0.0, Cultur
e=neutral, PublicKeyToken=7cec85d7bea7798e'

Repro steps

git clone https://github.com/bdkoepke/RdfProvider.git
cd RdfProvider
dotnet build RdfProvider.sln
dotnet build RdfProvider.TestsAndDocs.sln

Expected behavior

Builds and runs the tests.

Actual behavior

Crashes with the following error:

C:\Users\brandon\src\RdfProvider\tests\RdfProvider.Tests\RdfProvider.Tests.fs(8,21): error FS1108: The type 'Int32' is
required here and is unavailable. You must add a reference to assembly 'System.Private.CoreLib, Version=6.0.0.0, Cultur
e=neutral, PublicKeyToken=7cec85d7bea7798e'. [C:\Users\brandon\src\RdfProvider\tests\RdfProvider.Tests\RdfProvider.Test
s.fsproj]

Known workarounds

None

Related information

  • .NET 6.0.403
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