-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Copy link
Description
Core compiler is now used by default even in netfx builds. That results in a breaking change in behavior due to this:
roslyn/src/Compilers/Shared/BuildClient.cs
Lines 86 to 94 in 7cf6390
| /// <summary> | |
| /// Returns the directory that contains mscorlib, or null when running on CoreCLR. | |
| /// </summary> | |
| public static string? GetSystemSdkDirectory() | |
| { | |
| return RuntimeHostInfo.IsCoreClrRuntime | |
| ? null | |
| : RuntimeEnvironment.GetRuntimeDirectory(); | |
| } |
Workaround: set msbuild property RoslynCompilerType=FrameworkPackage.
Reactions are currently unavailable