Click here to Skip to main content
16,018,318 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralTransfers to the client an amount of the expected result Pin
s_habibi1-Apr-04 19:35
s_habibi1-Apr-04 19:35 
QuestionHow to override non-virtual method in .NET (not a joke) Pin
Eugene Mayeski1-Apr-04 12:34
professionalEugene Mayeski1-Apr-04 12:34 
AnswerRe: How to override non-virtual method in .NET (not a joke) Pin
Colin Angus Mackay1-Apr-04 13:21
Colin Angus Mackay1-Apr-04 13:21 
GeneralRe: How to override non-virtual method in .NET (not a joke) Pin
Eugene Mayeski1-Apr-04 13:30
professionalEugene Mayeski1-Apr-04 13:30 
GeneralRe: How to override non-virtual method in .NET (not a joke) Pin
Colin Angus Mackay1-Apr-04 14:01
Colin Angus Mackay1-Apr-04 14:01 
GeneralDeployment of already installed Appllication in .NET. Pin
Mahesh Dara31-Mar-04 18:22
Mahesh Dara31-Mar-04 18:22 
GeneralRe: Deployment of already installed Appllication in .NET. Pin
John Kuhn31-Mar-04 18:44
John Kuhn31-Mar-04 18:44 
GeneralRe: Deployment of already installed Appllication in .NET. Pin
je_gonzalez1-Apr-04 14:28
je_gonzalez1-Apr-04 14:28 
I had this problem when I was using wildcards in the AssemblyVersion. The way I solved it was as follows:

1. Created a class where the system constants are kept..

namespace myCo.Constants
{
public class SystemConstants
{
...
public const string SystemVersion = "2004.03.27.02";
...
}
}

2. Included the class in every AssemblyInfo file in the solution, and used the constant in the AssemblyVersion...

...
using myCo.Constants;
...

...
...
[assembly: AssemblyVersion(myCo.Constants.SystemConstants.SystemVersion)]
...
...

3. In the setup project for the app, I use the version number, converted as follows:

SystemVersion in Code Version In Setup
2004.03.27.02 04.03.2702

When the version is changed in the setup project, the system will give you a warning that the ProductCode and PackageCode should also be changed, and if you answer "Yes", the system will update them for you.

Also I have the "DetectNewerInstalledVersion" and "RemovePreviousVersions" set to true, that way the new version deletes any previous versions, but does not allow an older version to be installed.

Once we went to this procedure, I have never had a single problem with installs.

In my app, every time a version is released, a permanent copy of all the source is then archived, and the SystemVersion constant is updated accordingly, so is the setup project Version. Since the SystemVersion is in one place, it is easy to modify all of the assemblies, we have multiple setup projects, which are a bit of a pain, since I do them manually, but I do remember seeing an article here in CP that does the setup projects.

Hope this helps...

GeneralRe: Deployment of already installed Appllication in .NET. Pin
Mahesh Dara1-Apr-04 20:21
Mahesh Dara1-Apr-04 20:21 
QuestionHow to print a RTF document Pin
manfred.bjorlin31-Mar-04 3:45
manfred.bjorlin31-Mar-04 3:45 
GeneralCalling .Net-DLLs from regular, unmanaged C++ Pin
Eric Schaefer30-Mar-04 22:40
Eric Schaefer30-Mar-04 22:40 
GeneralRe: Calling .Net-DLLs from regular, unmanaged C++ Pin
Roman Rodov31-Mar-04 14:41
Roman Rodov31-Mar-04 14:41 
GeneralRe: Calling .Net-DLLs from regular, unmanaged C++ Pin
Eric Schaefer1-Apr-04 22:08
Eric Schaefer1-Apr-04 22:08 
GeneralRe: Calling .Net-DLLs from regular, unmanaged C++ Pin
Mike Dimmick5-Apr-04 2:32
Mike Dimmick5-Apr-04 2:32 
Generalrichtextbox removing highlight from selected text Pin
Member 33109630-Mar-04 19:54
Member 33109630-Mar-04 19:54 
GeneralPrompt to add files when inserted MISSING Pin
Kris Morness30-Mar-04 12:19
Kris Morness30-Mar-04 12:19 
GeneralRe: Prompt to add files when inserted MISSING Pin
Heath Stewart30-Mar-04 13:04
protectorHeath Stewart30-Mar-04 13:04 
GeneralRe: Prompt to add files when inserted MISSING Pin
Kris Morness30-Mar-04 13:13
Kris Morness30-Mar-04 13:13 
GeneralRe: Prompt to add files when inserted MISSING Pin
Heath Stewart30-Mar-04 13:15
protectorHeath Stewart30-Mar-04 13:15 
GeneralRe: Prompt to add files when inserted MISSING Pin
Kris Morness30-Mar-04 14:30
Kris Morness30-Mar-04 14:30 
QuestionSend mail thru Lotus Notes ? Pin
MrBean29-Mar-04 21:29
MrBean29-Mar-04 21:29 
AnswerRe: Send mail thru Lotus Notes ? Pin
Daniel Turini29-Mar-04 21:41
Daniel Turini29-Mar-04 21:41 
GeneralCompiling project developed in VC 6.0 .NET Compiler Pin
Vini Deep29-Mar-04 20:48
Vini Deep29-Mar-04 20:48 
GeneralRe: Compiling project developed in VC 6.0 .NET Compiler Pin
Colin Angus Mackay29-Mar-04 22:10
Colin Angus Mackay29-Mar-04 22:10 
GeneralRe: Compiling project developed in VC 6.0 .NET Compiler Pin
Vini Deep29-Mar-04 23:06
Vini Deep29-Mar-04 23:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.