Visual Studio 2010 - Cannot add assembly references from the GAC

丶灬走出姿态 提交于 2019-12-11 02:05:01

问题


I have now gone over to Visual Studio 2010 Beta 2

I have used it for a few days, but now I can no longer add references from the GAC.

(http://bildr.no/view/549966)

Sorry since this is not directly a development question, but I was not sure where to ask.

Does someone know how to fix this?


回答1:


Check the Global Assembly Cache. You may have done something very very bad.

EDIT

I noticed you are using Silverlight:

C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0

I cannot find the Microsoft.CSharp.dll I can only find Microsoft.VisualBasic.dll to use. Where is the C# dll located for Silverlight 4? I wasn’t able to find it on my computer.

taken from: http://alpascual.com/blog/a-few-issues-with-silverlight-4-after-installing-visual-studio-2010/




回答2:


I've created a tool which is completely free, that will help you to achieve your goal. Muse VSReferences will allow you to add a Global Assembly Cache reference to the project from Add GAC Reference menu item.




回答3:


C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\Microsoft.CSharp.dll

source



来源:https://stackoverflow.com/questions/1934894/visual-studio-2010-cannot-add-assembly-references-from-the-gac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!