fsprojects / ExcelProvider

This library is for the .NET platform implementing a Excel type provider.
http://fsprojects.github.io/ExcelProvider/
The Unlicense
141 stars 51 forks source link

Build.cmd fails with FS2026 on Windows with VS16.4 #69

Closed quintusm closed 4 years ago

quintusm commented 4 years ago

Description

Build.cmd fails with error FS2026 on windows if run after checkout

Repro steps

  1. Step A

Check out the repository onto a Windows machine with Visual Studio 16.4 installed

  1. 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]

Known workarounds

Not currently aware of any workarounds

Related information

quintusm commented 4 years ago

According to this issue in the compiler this is a new by design behaviour, so we will need to change our build script to reflect this