-
Notifications
You must be signed in to change notification settings - Fork 100
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
Could not load file or assembly System.Runtime.CompilerServices.Unsafe #170
Comments
It can be fixed by reference System.Runtime.CompilerServices.Unsafe from NuGet for SabberStoneGui project. |
By the way, I also found you have a no span build option,
|
System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.ReadOnlySpan
1..ctor(T[] array, Int32 start, Int32 length) at SabberStoneCore.Model.Zones.Zone
1.GetSpan()at SabberStoneCore.Model.Entities.Controller.Options(Boolean skipPrePhase)
at SabberStoneCoreGui.Nodes.OptionNode.Options(ConcurrentDictionary`2& optionNodes) in C:\repository\GitHub\HearthSim\SabberStone\SabberStoneGui\src\Nodes\OptionNode.cs:line 113
at SabberStoneGui.MainWindow.<>c__DisplayClass4_2.<worker_DoWork>b__5() in C:\repository\GitHub\HearthSim\SabberStone\SabberStoneGui\src\MainWindow.xaml.cs:line 82
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
=== Pre-bind state information ===
LOG: DisplayName = System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/repository/GitHub/HearthSim/SabberStone/SabberStoneGui/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\repository\GitHub\HearthSim\SabberStone\SabberStoneGui\bin\Debug\SabberStoneGui.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/repository/GitHub/HearthSim/SabberStone/SabberStoneGui/bin/Debug/System.Runtime.CompilerServices.Unsafe.DLL.
LOG: Attempting download of new URL file:///C:/repository/GitHub/HearthSim/SabberStone/SabberStoneGui/bin/Debug/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.DLL.
LOG: Attempting download of new URL file:///C:/repository/GitHub/HearthSim/SabberStone/SabberStoneGui/bin/Debug/System.Runtime.CompilerServices.Unsafe.EXE.
LOG: Attempting download of new URL file:///C:/repository/GitHub/HearthSim/SabberStone/SabberStoneGui/bin/Debug/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.EXE.
The text was updated successfully, but these errors were encountered: