Skip to content

Conversation

@da9l
Copy link
Contributor

@da9l da9l commented Nov 7, 2019

This partly fixes #1831.

What works:

Both exe and dll fsproj projects can use GitVersionTask and assemblies get version info when building in VisualStudio2019.

What does not work yet:

Neither dlls or exes get version info that is visible in the file properties in windows when built using dotnet build cli (3.0.100). This seems to be a bug in the dotnet core fsharp compiler atm. dotnet/fsharp#7220

Testing

Unfortunately I haven't found an easy way to automate testing of this.

I've created a test solution with both a csproj and a fsproj https://github.com/da9l/testgitversiontask4fsexe.git where I've tested this manually.

@da9l da9l changed the title Do fs exe prj Enable F# exe projects to use GitVersionTask Nov 7, 2019
@da9l
Copy link
Contributor Author

da9l commented Nov 7, 2019

@arturcic is this what you had in mind in your comment on #1894 ?

@da9l da9l marked this pull request as ready for review November 7, 2019 12:29
@arturcic arturcic merged commit ef652c1 into GitTools:master Nov 7, 2019
@arturcic
Copy link
Member

arturcic commented Nov 7, 2019

Thank you so much for your contributions, @da9l 👍. Can you try version 5.1.2-beta.1+13 when it's available and confirm it's working?

@arturcic arturcic added the bug label Nov 7, 2019
@arturcic arturcic added this to the 5.1.2 milestone Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitVersionTask does not work correctly with fsharp projects building an exe.

2 participants