Questions tagged [assemblyfileversion]

10 questions
11
votes
5 answers

What is the AssemblyFileVersion used for in C#?

In the assemblyInfo.cs I have AssemblyVersion and AssemblyFileVersion. Normally I just increment the AssemblyVersion like this. 1st digit: Major change 2nd digit: Minor change 3rd digit: bug fixes 4rd digit: Subversion revision number However, I am…
ant2009
  • 27,094
  • 154
  • 411
  • 609
8
votes
1 answer

Dynamic Versioning

I have a situation where i want the versioning to be dynamic at build time. Version Pattern: ... But i have read where the String value used in the Attribute is reparsed at compile time. Any advise on how to get this dynamic…
GoldBishop
  • 2,820
  • 4
  • 47
  • 82
4
votes
2 answers

VB.Net - What is the difference between AssemblyFileVersion & AssemblyFileVersionAttribute and AssemblyVersion & AssemblyVersionAttribute

I've inherited a VB.Net codebase which was VB 2005 and upgraded to VB 2008 consisting of around 100 projects I'm trying to re-version all of the components but have discovered some of the AssemblyInfo.vb files have an AssemblyFileVersion entry and…
3
votes
2 answers

How to determine file version of dll file in Compact Framework 3.5

I want to determine the file version of dll file in 'c#' when the path is specified. Suppose path = "\x\y\z.dll" . How to find the file version of z.dll when path is given? NOTE: I use Compact Framework 3.5 SP1
2
votes
2 answers

CS1607: Assembly generation -- The version '1.4.0.85725' specified for the 'file version' is not in the normal 'major.minor.build.revision' format

(Please excuse me if I get any terms mixed up here - I am a Java developer, new to .Net and C#. Please add/correct any tags on this question if need be.) I am using an MSBuild script to build my project. One of the tasks is to write the assembly…
vegemite4me
  • 6,621
  • 5
  • 53
  • 79
1
vote
2 answers

File version in AssemblyInfo.cs not reflected in Windows Explorer File Properties?

I've got a VS2010 project that contains an AssemblyInfo.cs file. This has: [assembly: AssemblyFileVersion("10.0.1.0")] When I run my app and ask for the file version from the executing assembly it picks up 10.0.1 no problem. However, if I…
Joel Brown
  • 14,123
  • 4
  • 52
  • 64
1
vote
0 answers

Auto Update of Assembly File Version on Build

I had created a C# Project, that takes a single argument ( being the location of the affected project's AssemblyInfo file ), which then updates the AssemblyFileVersion's Revision number by 1. This program is called from the Properties --> Build…
TheKidzKid
  • 11
  • 2
0
votes
1 answer

ToggleSwitch not worked in windowsphone7.5

I used ToggleSwitch control in windowsphone, It works fine in windowsphone7 version, takes Microsoft.Phone.Controls as a assembly reference. But in the windowsphone7.5 it asks assembly reference for ToggleSwitch control, it's not included in…
0
votes
1 answer

Get the data from the "Version" Tab in Dll properties with c# code?

I want to get the FileVersion (or ProductVersion) and the Comments fields which are in the "Version" tab of a dll using a c# code. I tried to use the Assembly class, but didn't find the data I need. Thanks in Advance.
Max
  • 1
  • 1
0
votes
0 answers

Can I change AssemblyInformationalVersion on an already compiled assembly?

We use svn revision for the ProductBuildPart of our FileVersionInfo . Because we're above revision 65536, we had to mod the number. To compensate, we stick the real number in the AssemblyInformationalVersionAttribute. This is easy enough when we…
Rob
  • 4,327
  • 6
  • 29
  • 55