I've been using Mono.Cecil for my modding software for a while now. I recently added it into the launcher which didn't have it beforehand and for some reason when I release it with dotnet publish there is an error with missing netstandard.
Failed to resolve assembly: 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
If I build it normally, it doesn't have this issue. Only once it's published.
This is the netstandard I have installed in the launcher.
Here are some extra details which may help.
It's a WPF application targeting Windows x64 only
Its made in .net 5.0
I'm modifying some a games code made in Unity.
I've been using Mono.Cecil for my modding software for a while now. I recently added it into the launcher which didn't have it beforehand and for some reason when I release it with
dotnet publish
there is an error with missing netstandard.If I build it normally, it doesn't have this issue. Only once it's published. This is the netstandard I have installed in the launcher.
Here are some extra details which may help. It's a WPF application targeting Windows x64 only Its made in .net 5.0 I'm modifying some a games code made in Unity.
This is the method where it's having the error https://gitlab.com/vtolvr-mods/ModLoader/-/blob/dev/Launcher/Views/Settings.xaml.cs#L633
I'm unsure what to search for this issue or how I should debug it, so any help would be greatly appreciated. Thank you.