Click here to Skip to main content
15,885,767 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralProperty Grid control Pin
kstoj19-Jan-05 7:25
kstoj19-Jan-05 7:25 
QuestionWhy using Microsoft DAAB with COM+is Bad practice? Pin
AshishRawat19-Jan-05 6:11
AshishRawat19-Jan-05 6:11 
GeneralISupportInitialize Pin
Sendilkumar.M19-Jan-05 2:53
Sendilkumar.M19-Jan-05 2:53 
Generalauthorization and profile application block Pin
tigertwareg18-Jan-05 6:44
tigertwareg18-Jan-05 6:44 
GeneralReading XLS files in C#, but cell contents are truncated Pin
taz_hexland18-Jan-05 6:27
taz_hexland18-Jan-05 6:27 
GeneralRe: Reading XLS files in C#, but cell contents are truncated Pin
Rob Graham19-Jan-05 3:22
Rob Graham19-Jan-05 3:22 
Generaldll version Pin
pssuresh18-Jan-05 0:21
pssuresh18-Jan-05 0:21 
GeneralRe: dll version Pin
Mike Dimmick18-Jan-05 2:41
Mike Dimmick18-Jan-05 2:41 
If you want to redirect all applications on a machine which use this assembly, you can use Publisher Policy[^] to redirect all uses of this assembly to the new version.

Things to be aware of:

The framework looks for a publisher policy file with the major and minor version of the assembly reference. If you patch this assembly again, calling it v3.0, and you want clients which need v1.0 and v2.0 to use v3.0, you'll need to ship policy.1.0.assemblyname.dll and policy.2.0.assemblyname.dll. I'd recommend keeping the same major and minor version numbers for patches, incrementing only the last two parts of the version number (build and revision). Only change the major and minor version number for breaking changes in the interface.

You must use the same strong-name key to sign policy assemblies as the original assembly.

You must set the version number on the policy assemblies. The GAC install process will silently fail to overwrite a policy assembly with the same or lower version number.

It isn't fully clear in Microsoft's documentation - you CANNOT embed the policy XML file in the assembly DLL file. The assembly must link to the policy file.

The publisher policy system is most useful for security patches.

If you want to redirect a single application, you can use bindingRedirect[^] elements in the application's configuration file.

You should generally default to not putting your own assemblies in the GAC. See this blog post[^] for reasons.

Stability. What an interesting concept. -- Chris Maunder
GeneralThree Package and Deployment Questions... Pin
new_phoenix17-Jan-05 12:40
new_phoenix17-Jan-05 12:40 
GeneralRe: Three Package and Deployment Questions... Pin
Robert Rohde19-Jan-05 19:54
Robert Rohde19-Jan-05 19:54 
GeneralRe: Three Package and Deployment Questions... Pin
rwestgraham1-Feb-05 11:34
rwestgraham1-Feb-05 11:34 
GeneralFormatting problem in a CRichEditView Pin
Isomorphism16-Jan-05 8:41
Isomorphism16-Jan-05 8:41 
GeneralConfused: DataGrid tied to DataTable, new row added to DG not appearing in DT Pin
no_spoon15-Jan-05 5:29
no_spoon15-Jan-05 5:29 
GeneralRe: Confused: DataGrid tied to DataTable, new row added to DG not appearing in DT Pin
Robert Rohde15-Jan-05 19:25
Robert Rohde15-Jan-05 19:25 
GeneralRe: Confused: DataGrid tied to DataTable, new row added to DG not appearing in DT Pin
no_spoon16-Jan-05 10:52
no_spoon16-Jan-05 10:52 
QuestionHow to rotate button text 90 degrees? Pin
pyanfur14-Jan-05 8:57
pyanfur14-Jan-05 8:57 
GeneralProblem drawing outline of Regions. Pin
Morrgan14-Jan-05 3:07
Morrgan14-Jan-05 3:07 
GeneralHelp pls with CScrollView and CMetaFileDC Pin
Dimitris Vikeloudas14-Jan-05 0:45
Dimitris Vikeloudas14-Jan-05 0:45 
GeneralCalling CDialog C++ code from C# Pin
gabnicu13-Jan-05 23:49
gabnicu13-Jan-05 23:49 
GeneralTypes system in .NET Pin
Paul Selormey13-Jan-05 18:58
Paul Selormey13-Jan-05 18:58 
GeneralWeb service causes WinForm design mode problems Pin
Jon Rista13-Jan-05 15:52
Jon Rista13-Jan-05 15:52 
GeneralStrange problem with open/save file dialogs Pin
satorical13-Jan-05 12:13
satorical13-Jan-05 12:13 
GeneralRe: Strange problem with open/save file dialogs Pin
JoshWilliams5-Jan-23 10:42
JoshWilliams5-Jan-23 10:42 
QuestionMake windows go standby? Pin
Søren Alsbjerg Hørup13-Jan-05 8:39
Søren Alsbjerg Hørup13-Jan-05 8:39 
AnswerRe: Make windows go standby? Pin
Colin Angus Mackay15-Jan-05 12:05
Colin Angus Mackay15-Jan-05 12:05 

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.