I build my project with dotnet build, targeting netcoreapp3.1.
The problem is that the assemblies contain the full path to the source-files:
/home/runner/my-app/App.fs
This means that the hash of the assemblies depends on the directory where the code was built. I want it to only depend on the hash of the source-files and the .NET SDK itself.
Is there a way to make dotnet build use relative paths like this?
./my-app/App.fs