urgent:: How to get the same package code with each new build in .NET deployment project.

R

RK

Hi

I am having this problem with my deployment project.

'Another version of this product is already installed. Installtion of
this version cannot continue. Configure or remove existing version of
this product use Add/Remove programs on the control panel.'

I think PackageCode will change with each build. Can we configure(set
any property) so as to PackageCode remains same with each new build.

can anybody suggest what property should change, so that even with
each new build I can install/uninstall my application without going to
Add/Remove programs in the control panel.

Right now my deployment project has both properties
DetectNewerInstalledVersion and RemoveOlderVersions set to true.

thanks in advance.
--RK
 
T

Tampa .NET Koder

Make sure that your assemblies are versioned in the Assembly.vb file and I
would strong name your assembly as well using the sn.exe -k
yourassembly.exe
See if that works.
 

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