EXE file version info?

H

Harry Simpson

I've religiously filled out all the info in the My Project\AssemblyInfo.vb
and hardcoded the version number as 3.1.0.12 for instance. I build/rebuild
and go to the newly built AppName.exe assembly and right click and look at
properties and no version tab and no version info even in the
Summary\Advanced section....what am i missing here

TIA
Harry
 
P

Peter Foot [MVP]

Do you have VS2005 Service Pack 1? The latest .NETCF Service Pack? I
remember there was a bug which affected Visual Basic .exe .NETCF v2.0
projects only and would not build in the version resource. It didn't affect
C# projects or VB.NET class library projects). I think it was fixed in the
service pack for Visual Studio.

Peter
 
H

Harry Simpson

Thanks Peter,

I think I've got the VS2005 w/ SP1 installed. I did need to install VS2003
AFTER I installed VS2005 - wonder if that boogered anything.

My about box for VS2005 reads v 8.0.50727.762 (SP.050727-7600)
..NET Framework is v.2.0.50727
Shouldn't the SP1 update the CF 2 for me?

I do have weird behavior when I double click on a solution file it says this
was created with a more recent version of Visual Studio and I just drag the
solution file over to my VS2005 icon shortcut and it opens just fine. Maybe
reinstalling SP1 is recommended?

Thanks!!
Harry
 
H

Harry Simpson

Reinstalled VS2005 SP1 and that did clear up the 2005 sln not being
associated with VS2005 IDE

But it did not clear up the problem of the assembly info not being
transfered to the EXE file info - when you right click a file and select
properties. I'm used to seeing a version tab with all the assemply info but
no assembly info exists here.
When I right click the project in the IDE and select properties, then select
the Assembly Information button all the info from AssemblyInfo.vb appears
just fine.

Any ideas how to get that info into the compiled exe's metadata?

TIA
Harry
 

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