Build.cmd fails with error FS2026 on windows if run after checkout
Repro steps
Step A
Check out the repository onto a Windows machine with Visual Studio 16.4 installed
Step B
Attempt to run build with command "./build.cmd" from command line with Administrator Privileges
Expected behavior
Expect the libraries to be built successfully.
Actual behavior
The build process fails with the following error messages
FSC : error FS2026: Deterministic builds only support portable PDBs (--debug:portable or --debug:embedded) [C:\repos\quintusm\ExcelProvider\src\ExcelProvider.DesignTime\ExcelProvider.DesignTime.fsproj]
FSC : error FS2026: Deterministic builds only support portable PDBs (--debug:portable or --debug:embedded) [C:\repos\quintusm\ExcelProvider\src\ExcelProvider.DesignTime\ExcelProvider.DesignTime.fsproj]
FSC : error FS2026: Deterministic builds only support portable PDBs (--debug:portable or --debug:embedded) [C:\repos\quintusm\ExcelProvider\src\ExcelProvider.DesignTime\ExcelProvider.DesignTime.fsproj]
Description
Build.cmd fails with error FS2026 on windows if run after checkout
Repro steps
Check out the repository onto a Windows machine with Visual Studio 16.4 installed
Attempt to run build with command "./build.cmd" from command line with Administrator Privileges
Expected behavior
Expect the libraries to be built successfully.
Actual behavior
The build process fails with the following error messages
Known workarounds
Not currently aware of any workarounds
Related information