AssemblyInfo

B

Botia

After upgrading a project to Visual Studio 2005 and Compact Framework
2.0 the AssemblyInfo no longer gets compiled into the .exe. I tried
creating a new Windows Mobile 5 project and the AssemblyInfo in that
project does not appear to make it into the .exe either.

This worked fine in VS2003 with CF1.0. Any suggestions on how to get
this information (AssemblyVersion, etc.) into the .exe for the PocketPC?
 
B

Botia

Using Visual Studio .NET 2003, the Pocket PC application would compile.
When you look at the .exe in explorer you could see the version and
other information contained in the AssemblyInfo. This appears to no
longer be the case.
 
N

Norman Rericha

I saw the same thing, however I thought nothing of it. What I found was
that the AssemblyInfo.cs file was missing from my project. I added it
back in (Add New Item -> Assembly Information File). I then filled the
information as required. In 2005 I went one step farther and created a
new folder and called it "Properties", and put my new AssemblyInfo.cs
file in that folder. VS 2005 actually identified the folder name and
integrated additional functionality automatically.

I am not sure why this happened, it probably has something to do with
the way I created the project (Empty Project).


--
I hope this helps

--
Norman Rericha
Senior Software Engineer
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
 
D

Daniel Moth

OK so, as I suspected, you are not having a problem with the AssemblyInfo
file but with the AssemblyVersion attribute not having effect.

Please check the following and get back to me in this thread or directly:
0. Are you using the release (RTM) version of VS2005?
1. Can you try a *new* CF v2.0 csharp project and see if you can see the
file version for that?
2. You said you upgraded the project. Does that mean just an upgrade to
VS2005 (which means you are still using CF v1.0) or an upgraded to CF v2.0
(which you would have done by right clicking the project)? Check this in the
project properties window below solution explorer.

Cheers
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top