AssemblyInfo.cs 0.0.0.0

  • Thread starter Thread starter Jason Speece
  • Start date Start date
J

Jason Speece

OK... I have traced down the problem I was having getting
the version of my application to the fact that the
application is not calling the AssemblyInfo.cs in the
project. I didn't even know this was possible. I
discovered this by calling the version and getting back
0.0.0.0 even though I had set the version number to
1.1.1.6. How can I correct this?

Thanks,
Jason
 
In the Solution explorer window select the AssemblyInfo.cs file and ensure
the "BuildAction" is set to Compile. It should be by default.
You should also be able to verify the version of your application or library
from Explorer on your development machine - browse to your project folder
/bin/Release (or bin/Debug) folder and rightclick you application/dll and
select properties, on the Version tap of the Properties dialog you can
interrogate the version, company name etc for the file.

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
 
Back
Top