dotnet publish sets wrong version for SourceContentInstaller.
malortie opened this issue · 0 comments
malortie commented
As of SourceModPatcher v0.1.0, SourceContentInstaller --version
returns 0.1.0 while it should be 0.0.0.
This doesn't happen when testing it in Debug/Release but it does when using dotnet publish
.
Since SourceModPatcher.csproj is used as the root project for publishing, first hypothesis is that SourceModPatcher's VersionPrefix
overrides the one in SourceContentInstaller.
I tried setting a custom MSBuild property for SourceContentInstaller to substitute in VersionPrefix
but it doesn't work either.