SciSharp/BotSharp

PizzaBot runs to failed

evolcano opened this issue · 2 comments

I have cloned this Rep to local, and open PizzaBot.sln in visual studio 2022.

Step 1:
When I start to debug WebStarter, two errors occur:

Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'E:\BaiduSyncdisk\OpenSourceCode\LLM\BotSharp\packages\netstandard2.1\BotSharp.Abstraction.dll' could not be found 'E:\BaiduSyncdisk\OpenSourceCode\LLM\BotSharp\src\Plugins\BotSharp.Plugin.Dashboard\bin\Debug\netstandard2.1\BotSharp.Plugin.Dashboard.dll' could not be found

Stap 2:
So I add package reference in MuGet package menager for WebStarter. After I select BotSharp.Abstraction and click install, new error occur:

Error NU1106 Unable to satisfy conflicting requests for 'Microsoft.Extensions.Configuration.Binder': Microsoft.Extensions.Configuration.Binder (>= 8.0.1) (via package/BotSharp.Abstraction 0.22.0), Microsoft.Extensions.Configuration.Binder (>= 8.0.1) (via project/BotSharp.Abstraction 0.22.0), Microsoft.Extensions.Configuration.Binder (>= 7.0.0) (via package/Microsoft.Extensions.Logging.Configuration 7.0.0) Framework: (.NETCoreApp,Version=v6.0)

Step:3
I upgrade the target framework of WebStarter from .NET 6.0 to .NET 8.0, and add BotSharp.Abstraction package again. Error still exist:

Error NU1106 Unable to satisfy conflicting requests for 'System.Runtime.CompilerServices.Unsafe': System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Npgsql 6.0.8), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.Primitives 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Npgsql 6.0.8), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/System.Collections.Immutable 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 5.0.0) (via package/MongoDB.Bson 2.19.2), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/System.Collections.Immutable 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 5.0.0) (via package/MongoDB.Bson 2.19.2), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.Primitives 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.Primitives 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.DependencyModel 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.DependencyModel 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.Primitives 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.Primitives 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.DependencyModel 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 6.0.0) (via package/Microsoft.Extensions.DependencyModel 6.0.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0), System.Runtime.CompilerServices.Unsafe (>= 4.5.1) (via package/Microsoft.Extensions.Primitives 2.2.0) Framework: (.NETCoreApp,Version=v8.0)

remove BotSharp.Plugin.Dashboard.csproj from WebStarter

That's OK!