I'm trying to index the GAC and use the ResolveAssemblyReferences target. However, some assemblies (such as Unity application block) seem to be missing from the GAC and yet VS happily shows them in the Add Reference dialog. My question: how can this be? I always thought that only GAC-registered assemblies appear there. Am I missing something?
If Unity is not in the GAC, how does VS know to show it in Add References?
507 Views Asked by Dmitri Nesteruk At
2
There are 2 best solutions below
0
ckramer
On
There is actually a registry setting which allows you to add directories to the list of locations where Visual Studio will search for assemblies to display in the "Add References" dialog.
Here is a quick overview of where it is and how to add your own paths to it.
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in VISUAL-STUDIO-2010
- How would I be able to use a file in visual studio project on any computer?
- Which is the most advantageous strategy for creating a tweaked Visual Studio Project Template?
- ASP.NET textbox textchange with same text input
- windows phone emulator of visual studio 2010
- Reference to an object magically disaprears? STRANGE
- Implementing a custom header bar for chromiumembedded
- Aldebaran Nao robot simulator without a real robot
- windows form application to work with Oracle without installing Oracle client
- Referenced DLL is not found when running application from VS
- Records won't update in datagridview
- Writing to text file with StreamWriter. File used by another process
- Double templated function overload fails
- Make input to Web Service field optional not required
- How to update label from callback function in code behind?
- display .NET code error instead of HTTP 500
Related Questions in REFERENCE
- Objective-C Reference to object that implements protocol
- Wrong Theme being applied to PreferenceActivity with xml reference
- what is the <% in the php files and how it should compile?
- C++ assign const reference to instance variable (memory issues?)
- reference data class member visitor pattern
- Using NON static class Methods Without reference
- Breaking reference to object in Python
- Reference as a only class member gives size 8 for integer
- How can I tell PHPStorm to find references to rewritten URLS?
- Why is this method called instead of the other?
- Where is the MVEL Language Reference found?
- Assign a reference return value to a non-reference variable
- Why can a raw type reference refer to a generic instance?
- C++ - Why does 2 local references to the same object stay in sync?
- how to use namespace of external project?
Related Questions in GAC
- Window Explorer Error in 64 bit but not 32 bit with BHO
- mshtml.dll not found by installshield
- How to avoid empty spaces of directory while installing assemblies?
- PDBs and .NET Framework Debugging Control ini files when DLLs are in the GAC (in Production)
- How to use an assembly from the GAC?
- How does Windows Update install .NET assemblies in the GAC?
- GAC Oracle.DataAccess DLL Error While Installing ClickOnce Application
- Where assemblies are loaded from?
- PowerShell - SharePoint 2010 - Unable to find type Microsoft.SharePoint
- How to add a reference to an assembly which is registered in the GAC at runtime?
- Deploying My DLL To GAC, References Other DLL Not In GAC
- SQL Error - Could not load file or assembly 'System.Data.Linq'
- Change GAC display in Windows Explorer.
- Registering / Installing a .NET 4 Assembly to the GAC
- The name 'ViewBag' does not exist in the current context
Related Questions in ADD-REFERENCES-DIALOG
- Can't find 'References' tab to add System.Windows.Forms
- Dotnet command adds reference path instead of reference name
- how to use c++ dll in c# project?
- reference app_code classes in web application project
- How to add MS Visual Studio 2017 C# missing Excel Reference after download?
- How does Visual Studio find Unity/P&P or Office assemblies in its Add References Dialog?
- Cant properly add service reference in VS 2012 RC
- Visual Studio Unit Test From Existing ASP Web Site
- Can't find Microsoft.SqlServer.ConnectionInfo.dll assembly file?
- Get windows.storage.fileproperties namespace in visual studio pro 2012
- Getting assemblies to show in the .NET tab of Add Reference
- How do you reference monetdb odbc driver for .net
- Why does Microsoft.ReportViewer.WebForms 8.0.0.0 not appear in the Visual Studio 2010 "Add References" dialog?
- If Unity is not in the GAC, how does VS know to show it in Add References?
- Visual Studio Solution DLL error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In addition to the registry setting ckramer mentioned, there is also
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersExandHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx.Tip: if you download the VS 2010 Pro Power Tools extension, the updated "Add Reference" dialog clearly distinguishes between Framework assemblies and Framework Extension assemblies.