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

.NET (Core and Framework)

 
GeneralRe: File System Virtual Directories Pin
Tristan Rhodes18-Nov-08 4:55
Tristan Rhodes18-Nov-08 4:55 
AnswerRe: File System Virtual Directories Pin
cmk23-Nov-08 10:35
cmk23-Nov-08 10:35 
QuestionHow to register COM components into C#.Net window applications Pin
veereshIndia17-Nov-08 22:34
veereshIndia17-Nov-08 22:34 
AnswerRe: How to register COM components into C#.Net window applications Pin
Dave Kreskowiak18-Nov-08 2:05
mveDave Kreskowiak18-Nov-08 2:05 
AnswerRe: How to register COM components into C#.Net window applications Pin
Jon_Boy18-Nov-08 2:34
Jon_Boy18-Nov-08 2:34 
AnswerRe: How to register COM components into C#.Net window applications Pin
Paul Conrad18-Nov-08 5:01
professionalPaul Conrad18-Nov-08 5:01 
Questiongacutil version question Pin
Member 391904917-Nov-08 14:01
Member 391904917-Nov-08 14:01 
AnswerRe: gacutil version question [modified] Pin
Member 391904917-Nov-08 19:29
Member 391904917-Nov-08 19:29 
I figured it out - my assumption was correct. However, now I am trying to reference an assembly in the GAC:

I'm trying to figure out how to reference assemblies in the GAC.

I have the following assembly installed in the GAC:

Dalc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f71ce40ac4e60391, processorArchitecture=MSIL

I have researched this issue on the web and the solution to this problem appears to be to add the following block to machine.config:

<system.web>
<compilation debug="false" explicit="true" defaultlanguage="c#">
<assemblies>
<add assembly="Dalc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f71ce40ac4e60391, processorArchitecture=MSIL" />
</assemblies>
</compilation>
</system.web>


(I have also tried this with Web.config).

I did this and restarted VS2008 but unfortunately when I add a using directive of "using Dalc;" the Dalc reference is not found.

Am I doing something incorrectly or is there a better way of doing it? I have read about one option of copying a version of the dll into a local directory as a reference (and supposedly the system will revert to the GAC). However, this alternative does not seem like a very elegant approach. Any suggestions?

modified on Tuesday, November 18, 2008 1:35 AM

GeneralRe: gacutil version question Pin
Jon_Boy18-Nov-08 2:37
Jon_Boy18-Nov-08 2:37 
GeneralRe: gacutil version question Pin
Member 391904918-Nov-08 6:59
Member 391904918-Nov-08 6:59 
GeneralRe: gacutil version question [modified] Pin
Jon_Boy19-Nov-08 1:53
Jon_Boy19-Nov-08 1:53 
QuestionDifference between CLR and FCL Pin
Member 391904917-Nov-08 12:20
Member 391904917-Nov-08 12:20 
AnswerRe: Difference between CLR and FCL Pin
Judah Gabriel Himango17-Nov-08 18:51
sponsorJudah Gabriel Himango17-Nov-08 18:51 
QuestionGeneric Control property changed event? Pin
astibich215-Nov-08 18:52
astibich215-Nov-08 18:52 
AnswerRe: Generic Control property changed event? Pin
Dave Kreskowiak16-Nov-08 8:04
mveDave Kreskowiak16-Nov-08 8:04 
QuestionHow can Create message alart in javascript. and how can i use it from .aspx.cs in csharp Pin
fatemauddin14-Nov-08 20:18
fatemauddin14-Nov-08 20:18 
AnswerRe: How can Create message alart in javascript. and how can i use it from .aspx.cs in csharp Pin
Wael Al Wirr16-Nov-08 2:10
Wael Al Wirr16-Nov-08 2:10 
GeneralRe: How can Create message alart in javascript. and how can i use it from .aspx.cs in csharp Pin
joindotnet10-Dec-08 18:45
joindotnet10-Dec-08 18:45 
QuestionException initializing SplitContainerDesigner Pin
astibich214-Nov-08 12:39
astibich214-Nov-08 12:39 
QuestionConnected & Disconnected architecture Pin
Xandip13-Nov-08 17:51
Xandip13-Nov-08 17:51 
AnswerRe: Connected & Disconnected architecture Pin
Pete O'Hanlon14-Nov-08 1:26
mvePete O'Hanlon14-Nov-08 1:26 
QuestionRe: Connected & Disconnected architecture Pin
Xandip14-Nov-08 2:38
Xandip14-Nov-08 2:38 
AnswerRe: Connected & Disconnected architecture Pin
Jon_Boy14-Nov-08 2:50
Jon_Boy14-Nov-08 2:50 
GeneralRe: Connected & Disconnected architecture Pin
Xandip14-Nov-08 2:56
Xandip14-Nov-08 2:56 
GeneralRe: Connected & Disconnected architecture Pin
Jon_Boy14-Nov-08 3:05
Jon_Boy14-Nov-08 3: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.