Building an FSharp project doesn't set the file and product version on assemblies
enricosada opened this issue · comments
Enrico Sada commented
Moved from https://github.com/dotnet/cli/issues/4292
Originally posted by @dustinmoris
Steps to reproduce
dotnet new --lang=fsharp
dotnet restore
dotnet build
Inside the bin/Debug/netcoreapp1.0 folder the DLLs don't have a version set. It works for C# libraries though.
Expected behavior
Assembly versions to be set according to the value in project.json.
Actual behavior
Assembly version is not being set.
Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003131)
Product Information:
Version: 1.0.0-preview2-003131
Commit SHA-1 hash: 635cf40e58
Runtime Environment:
OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
RID: win10-x64
Enrico Sada commented
closing as project.json
based is deprecated in favore of 1.0 sdk (msbuild based)