Closed Mythra closed 9 months ago
I wanted to migrate the build tooling before porting in the native executables, as we may want to add dependencies/have multiple libraries + binaries built which would required build changes. And didn't want to deal with the old build tooling, or have more work to do to migrate it to dotnet core later on 😄
fixes #1
In order to start getting this project ready for Cross-OS building we need to be building with dotnet core. After this pr you should be able to on a windows machine run
dotnet build
from within the project directory to actually build the project using the dotnet core system (which will be required for cross-os compatibility)..\AC_e-Reader_Card_Creator\bin\Debug
to.\AC_e-Reader_Card_Creator\bin\Debug\net8.0-windows
. You may need to manually clean this directory if you've done a build before.Move signing out of being required for debug/release build, and behind a flag
-p:SignAssemblies=True
, now users can build debug/release binaries to their hearts content.sn -k AC_e-Reader_Card_Creator_TemporaryKey.snk
then passing-p:SignAssemblies=True
to their build arguments.Change from signing with
pfx
tosnk
as is required for dotnet core.Also removed your home directory from the project, since we don't have your home directory structure 😉 -- you can still pass it in manually if the newer default doesn't work for you.
Visual Studio builds should still continue to work as normal. I planned on documenting the build process in this PR, but there may be future changes coming as a result of doing cross-os support, so since there weren't any building instructions already, I figured we can just leave it undocumented for now, and document it at the end when we're sure it's stable.