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

.NET (Core and Framework)

 
AnswerRe: Setup and Deployment Question Pin
led mike12-Jun-08 4:37
led mike12-Jun-08 4:37 
GeneralRe: Setup and Deployment Question Pin
godspeed12312-Jun-08 7:26
godspeed12312-Jun-08 7:26 
AnswerRe: Setup and Deployment Question Pin
Mike Dimmick15-Jun-08 12:50
Mike Dimmick15-Jun-08 12:50 
QuestionList formatting in RTF Control/OLE Pin
egarcia197011-Jun-08 5:14
egarcia197011-Jun-08 5:14 
QuestionIIS Problems Pin
Shrimpersfan11-Jun-08 4:24
Shrimpersfan11-Jun-08 4:24 
AnswerRe: IIS Problems Pin
Christian Graus11-Jun-08 7:57
protectorChristian Graus11-Jun-08 7:57 
QuestionCOM and GAC Pin
Adriaan Davel11-Jun-08 3:58
Adriaan Davel11-Jun-08 3:58 
AnswerRe: COM and GAC Pin
Mike Dimmick15-Jun-08 13:00
Mike Dimmick15-Jun-08 13:00 
You probably don't actually want to install to the GAC. Installing is much safer and easier if every program has its own copy of any dependencies, and you run no risk of versioning problems.

Unfortunately if any of your dependencies have strong names (signed with a private key, to give the assembly a PublicKeyToken property) the runtime looks in the GAC before it looks in your local folders. Another installation could put an incompatible version in the GAC that would override your local copy, if it had the same assembly version number (or if the publisher used Publisher Policy to override the version used).

You also have a different servicing problem - if a third-party component has a security problem, you would have to redistribute a new version of your program, because they will be unable, typically, to detect the presence of their library in your private installation folder. You may want this level of control if they haven't fully managed compatibility with their previous version, though.

Anyway, if you really want to do it, you have to use a Windows Installer package such as Visual Studio's deployment package. To install to the GAC from Visual Studio, open the File System Editor in your setup project, right-click the root (File System on Target Machine) and select Add Special Folder, Global Assembly Cache Folder. You can now drop the assemblies in here. If you want them somewhere else as well you will need to add an extra copy.


DoEvents: Generating unexpected recursion since 1991

GeneralRe: COM and GAC Pin
Adriaan Davel16-Jun-08 22:47
Adriaan Davel16-Jun-08 22:47 
QuestionCreating a Help system... Pin
new_phoenix11-Jun-08 3:57
new_phoenix11-Jun-08 3:57 
AnswerRe: Creating a Help system... Pin
John Ad11-Jun-08 4:29
John Ad11-Jun-08 4:29 
AnswerRe: Creating a Help system... Pin
Thomas Stockwell18-Jun-08 16:22
professionalThomas Stockwell18-Jun-08 16:22 
QuestionWhat is OLE Automation? Pin
Vanitha Sivakumar11-Jun-08 1:58
Vanitha Sivakumar11-Jun-08 1:58 
AnswerRe: What is OLE Automation? Pin
Vasudevan Deepak Kumar11-Jun-08 2:05
Vasudevan Deepak Kumar11-Jun-08 2:05 
QuestionHow to determine ms word document version in c# Pin
csharpguy769-Jun-08 17:35
csharpguy769-Jun-08 17:35 
AnswerRe: How to determine ms word document version in c# Pin
Vasudevan Deepak Kumar11-Jun-08 0:56
Vasudevan Deepak Kumar11-Jun-08 0:56 
Questionvb.net class Pin
sanraj77-Jun-08 20:29
sanraj77-Jun-08 20:29 
AnswerRe: vb.net class Pin
Colin Angus Mackay7-Jun-08 23:41
Colin Angus Mackay7-Jun-08 23:41 
AnswerRe: vb.net class Pin
Christian Graus9-Jun-08 17:27
protectorChristian Graus9-Jun-08 17:27 
AnswerRe: vb.net class Pin
John Ad11-Jun-08 3:37
John Ad11-Jun-08 3:37 
QuestionWin32 API usage from C# code not working on deployment environment Pin
impeham7-Jun-08 1:31
impeham7-Jun-08 1:31 
AnswerRe: Win32 API usage from C# code not working on deployment environment Pin
Christian Graus7-Jun-08 6:04
protectorChristian Graus7-Jun-08 6:04 
GeneralRe: Win32 API usage from C# code not working on deployment environment Pin
impeham7-Jun-08 6:45
impeham7-Jun-08 6:45 
QuestionRe: Win32 API usage from C# code not working on deployment environment [modified] Pin
impeham7-Jun-08 13:34
impeham7-Jun-08 13:34 
QuestionHow can I Develope Telephony Applicatino/Auto Dialer Pin
Suresh Suthar6-Jun-08 23:41
professionalSuresh Suthar6-Jun-08 23:41 

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.