Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Multithreading, GUI hangs while loading Pin
Judah Gabriel Himango31-Jul-07 10:02
sponsorJudah Gabriel Himango31-Jul-07 10:02 
GeneralRe: C# Multithreading, GUI hangs while loading Pin
Justincc31-Jul-07 10:20
professionalJustincc31-Jul-07 10:20 
GeneralRe: C# Multithreading, GUI hangs while loading Pin
PhilDanger31-Jul-07 10:23
PhilDanger31-Jul-07 10:23 
GeneralRe: C# Multithreading, GUI hangs while loading Pin
Justincc31-Jul-07 10:32
professionalJustincc31-Jul-07 10:32 
GeneralRe: C# Multithreading, GUI hangs while loading Pin
Judah Gabriel Himango31-Jul-07 13:13
sponsorJudah Gabriel Himango31-Jul-07 13:13 
QuestionBeginner Need Help Pin
patkan31-Jul-07 7:03
patkan31-Jul-07 7:03 
AnswerRe: Beginner Need Help Pin
Dave Kreskowiak31-Jul-07 7:29
mveDave Kreskowiak31-Jul-07 7:29 
GeneralRe: Beginner Need Help Pin
patkan1-Aug-07 0:11
patkan1-Aug-07 0:11 
GeneralRe: Beginner Need Help Pin
Dave Kreskowiak1-Aug-07 11:59
mveDave Kreskowiak1-Aug-07 11:59 
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 

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.