-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Description
Repro steps
I want to have deterministic builds, regardless of the folder that the project is checked-out into.
Following information found here, I added a PathMap property to my fsproj:
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Deterministic>true</Deterministic>
<DeterministicSourcePaths>true</DeterministicSourcePaths>
<PathMap>$(EnlistmentRoot)=/home/runner/</PathMap>
</PropertyGroup>Expected behavior
Deterministic builds
Actual behavior
$ dotnet build
usr/share/dotnet/sdk/5.0.103/FSharp/Microsoft.FSharp.Targets(281,9): error MSB6006: "dotnet" exited with code 134.Known workarounds
Unknown
Related information
$ dotnet --version
5.0.103
$ lsb_release -a
LSB Version: core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focalMetadata
Metadata
Assignees
Labels
No labels