Semuserable
Semuserable

Reputation: 474

Change default Roslyn project dlls version from 42.42.42.42 to 2.0.0.0

Any assembly that gets compiled from within Roslyn project has 42.42.42.42 version. Is there a way to change that? If I try to set it directly through project window I receive a runtime exception.

Upvotes: 2

Views: 404

Answers (1)

Jason Malinowski
Jason Malinowski

Reputation: 19021

Build on the command line with /p:OfficialBuild=true /p:BuildNumber=1234 or some other number.

Upvotes: 3

Related Questions