oleg-shilo / cs-script

C# scripting platform
http://www.cs-script.net
MIT License
1.61k stars 235 forks source link

NET8: "Microsoft.CodeAnalysis.CSharp" has been changed to "Microsoft.CodeAnalysis.CSharp.Workspaces." #352

Closed 54ble closed 10 months ago

54ble commented 10 months ago

"Microsoft.CodeAnalysis.CSharp" has been changed to "Microsoft.CodeAnalysis.CSharp.Workspaces."

Severity Code Description Project File Line Suppress State
Error NU1107 Version conflict detected in Microsoft.CodeAnalysis.Common. Installing/referencing Microsoft.CodeAnalysis.Common 4.8.0 directly in the Doer.Framework project can resolve this issue.
 Doer.Framework -> Furion.Pure 4.9.1.6 -> Furion.Pure.Extras.DependencyModel.CodeAnalysis 4.9.1.6 -> Microsoft.CodeAnalysis.CSharp.Workspaces 4.8.0 -> Microsoft.CodeAnalysis.Common (= 4.8.0) 
 Doer.Framework -> CS-Script 4.8.8 -> Microsoft.CodeAnalysis.CSharp.Scripting 4.1.0 -> Microsoft.CodeAnalysis.Common (= 4.1.0). Doer.Framework  D:\Workspace\doer.stack\Doer.Framework\src\Doer.Framework\Doer.Framework.csproj 1   

Is upgrading dependencies to adapt to NET8 a solution to this issue?

oleg-shilo commented 10 months ago

You can solve the problem by upgrading Microsoft.CodeAnalysis.CSharp.Scripting to the latest version 4.8.0 I will be releasing the new version in a few days so will bump the dependency version too.

oleg-shilo commented 10 months ago

Done The latest release v4.8.9/4.8.10 targets the latest Microsoft.CodeAnalysis.CSharp.Scripting dependency package.