Add an assembly to the GAC.

I'm want to add assembly to the GAC.  I did this:

Added a setup project to my solution.  Create the GAC folder.  Signed my Assembly.  Added my Assembly to the GAC folder.  Built the setup.  Ran the setup on the target machine.

Now, my DLL has a dependency on a third party DLL.  After I run the setup, I see the third party DLL but I do not see mine.   if I try to uninstall the third party DLL from the GAC, I get error message about it being required by other applications.  That makes sense if my DLL was installed.  

Why can I not see my DLL?  Does the signing change the name by which I recognize it?  What could be wrong? What name is used in the GAC, based on my Project?  
LVL 1
HLRosenbergerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

f_o_o_k_yCommented:
Did you use that step to add dll to GAC or something different?

 in the File System tab of
the VS Setup project, right click on left pane, Add Special Folder and
select Global Assembly Cache Folder and add your dll there.


Best Regrads
 Fooky
0
HLRosenbergerAuthor Commented:
That's what I did, as you described.   So, why do I not see my DLL in the GAC when I view it with Explorer?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

f_o_o_k_yCommented:
Try sorting your assembly by publikkey

You can also try using .netConfiguration tool to look for dependencies

http://msdn.microsoft.com/en-us/library/ms973843.aspx

try using gacutil to install manually your dll and try to find it in folder.
0
HLRosenbergerAuthor Commented:
I sorted the GAC in explorer by Public Key and looked for the key for my assembly, but It's not there.  Is there possibly a step I missed in creating the Setup.exe?
0
f_o_o_k_yCommented:
Are you sure that you are searching in right place?
Note that for .NET 4.0 the GAC location is now:
%windir%\Microsoft.NET\assembly\...

If its < 4.0 then
%windir%\assembly\...

Best Regards
FooKy
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HLRosenbergerAuthor Commented:
The answer is that there are two GAC's - one for CLR 2.0 and one for CLR 4.0.
0
HLRosenbergerAuthor Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for HLRosenberger's comment http:/Q_27377193.html#36905959

for the following reason:

This is the correct answer
0
f_o_o_k_yCommented:
Hello,
HLRosenberger I disagree with your request to close this question.
My answer  #36905894 was correct.

I need to send my objections and request for Community Support for Moderator review.

Best Regards
Fooky
0
HLRosenbergerAuthor Commented:
You are correct.  I missed his last post.  Please award his the point.  

My apologies to f_o_o_k_y.
0
HLRosenbergerAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.