Click here to Skip to main content
15,886,872 members
Home / Discussions / C#
   

C#

 
AnswerRe: Beginner Need Help Pin
PIEBALDconsult31-Jul-07 11:25
mvePIEBALDconsult31-Jul-07 11:25 
GeneralRe: Beginner Need Help Pin
Paul Conrad31-Jul-07 17:47
professionalPaul Conrad31-Jul-07 17:47 
GeneralRe: Beginner Need Help Pin
patkan1-Aug-07 0:38
patkan1-Aug-07 0:38 
GeneralRe: Beginner Need Help Pin
patkan1-Aug-07 0:33
patkan1-Aug-07 0:33 
GeneralRe: Beginner Need Help Pin
PIEBALDconsult1-Aug-07 13:51
mvePIEBALDconsult1-Aug-07 13:51 
QuestionShadowing and Overriding Pin
sivakumaran_in31-Jul-07 7:02
sivakumaran_in31-Jul-07 7:02 
AnswerRe: Shadowing and Overriding Pin
WillemM31-Jul-07 8:00
WillemM31-Jul-07 8:00 
QuestionGlobal Assembly Cache & Versioning [modified] Pin
MrEyes31-Jul-07 6:33
MrEyes31-Jul-07 6:33 
Lets say I have an application called Widgets.exe which references, via the GAC, CommonLibrary.dll. This application and its commonlibrary is then deployed to 1000's of devices.

Fast forward a few months and a small bug is found inside commonlibrary. This bug can be fixed without making any changes to Widgets.exe. The relevant developer diligently applies the necessary fixes to CommonLibrary.dll and as a matter of course increases the version number of the library. This is then redeployed, however as Widgets.exe has not changed this is not redeployed.

The problem now is that although the public method interfaces on the CommonLibrary have not changed Widgets.exe is expecting to find version 1.0.0.0 of CommonLibrary in the GAC, however this has now been replaced with v1.1.0.0 (which contains the bug fix). So at runtime a not found exception is thrown by the application.

Now I perfectly understand this and can see why this occurs etc etc. However the problem I have relates to this and how to manage it in the real world. In the real world, Widgets.exe is actually a very large application framework with many executables, assemblies and common libraries. I am trying to find a way to avoid having to redeploy, uninstall, reinstall the application in its entirity should a minor change be made to one of the common libraries.

At the moment to get around this we dont actually use .NET versioning as it should be. At compile time everything in the entire project is compiled to v1.1.0.0 and then we add a revision number to the AssemblyDescription property in AssemblyInfo.cs. This then means we can redeploy single libraries without breaking the dependency/reference chain. The version number would only be increase should a fundamental change be made.

While the ghetto style solution works, it doesnt sit very comfortably with me. So the question is can anybody suggest an alternative/better solution to this issue?


-- modified at 12:39 Tuesday 31st July, 2007
AnswerRe: Global Assembly Cache & Versioning Pin
WillemM31-Jul-07 8:08
WillemM31-Jul-07 8:08 
QuestionAugmented Reality...kinda Pin
GreenGiant8331-Jul-07 6:28
GreenGiant8331-Jul-07 6:28 
QuestionIndexer that return Interface ...What wrong with my code ? Pin
Yanshof31-Jul-07 4:50
Yanshof31-Jul-07 4:50 
AnswerRe: Indexer that return Interface ...What wrong with my code ? Pin
originSH31-Jul-07 5:10
originSH31-Jul-07 5:10 
GeneralRe: Indexer that return Interface ...What wrong with my code ? Pin
BoneSoft31-Jul-07 8:23
BoneSoft31-Jul-07 8:23 
GeneralRe: Indexer that return Interface ...What wrong with my code ? Pin
Pete O'Hanlon31-Jul-07 9:53
mvePete O'Hanlon31-Jul-07 9:53 
GeneralRe: Indexer that return Interface ...What wrong with my code ? Pin
originSH1-Aug-07 22:17
originSH1-Aug-07 22:17 
AnswerRe: Indexer that return Interface ...What wrong with my code ? [modified] Pin
J4amieC31-Jul-07 5:30
J4amieC31-Jul-07 5:30 
QuestionData Review Pin
sgeorgije31-Jul-07 4:40
sgeorgije31-Jul-07 4:40 
AnswerRe: Data Review Pin
Rizon40631-Jul-07 6:31
Rizon40631-Jul-07 6:31 
AnswerRe: Data Review Pin
sgeorgije31-Jul-07 7:14
sgeorgije31-Jul-07 7:14 
QuestionDB2 Time format problem? Pin
kidus131-Jul-07 4:27
kidus131-Jul-07 4:27 
QuestionCannot Update Non Local MYSQL Table using C#.NET and ODBC [modified] Pin
][cecu3e31-Jul-07 3:39
][cecu3e31-Jul-07 3:39 
AnswerRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC Pin
led mike31-Jul-07 4:17
led mike31-Jul-07 4:17 
GeneralRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC Pin
][cecu3e31-Jul-07 4:27
][cecu3e31-Jul-07 4:27 
AnswerRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC Pin
martin_hughes31-Jul-07 4:56
martin_hughes31-Jul-07 4:56 
GeneralRe: Cannot Update Non Local MYSQL Table using C#.NET and ODBC [modified] Pin
][cecu3e31-Jul-07 5:06
][cecu3e31-Jul-07 5: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.