dotnet / netcorecli-fsc

[DEPRECATED] F# and .NET Core SDK working together

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building an FSharp project doesn't set the file and product version on assemblies

enricosada opened this issue · comments

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

closing as project.json based is deprecated in favore of 1.0 sdk (msbuild based)