patrick
patrick

Reputation: 16959

Publishing in .NET produces "Application Files\MyApp_SomeVersionNumber" How to get this number?

When I publish my app it gives me a name like

Application Files\WPFMapLauncher_1_0_0_43

I can get the 1.0.0.0 with this :

String version = Assembly.GetExecutingAssembly().FullName;

But how can I get the 43?

Upvotes: 2

Views: 2193

Answers (1)

Faizan S.
Faizan S.

Reputation: 8644

You have to update both manually/OR in any other way:

Assembly Version AND File version in Project Properties.

Upvotes: 2

Related Questions