Open
Description
- Create a solution with 2 projects targeting net5 (and MSBuild from net5 sdk)
- Add
FSharp.Text.RegexProvider v2.1.0/2.0.2
to each project
Expected:
No errors
Actual:
The first open project is successfully type-checked, the second project is open with the message "The type 'Regex' is not defined"
But both projects are built successfully.
Reproduced in Rider (FCS netstandard 2.0, with type providers hosted in .NET 5.0.3 runtime)
and VS Code Ionide 5.3.2
When FCS tries to instantiate the type provider for the second project, this code fails with "Assembly with same name is already loaded"
Repro:
net5repro.zip