Visual Studio 2015 - Add Reference to C # ASP.NET Class Library

I am trying to add links to class libraries in my Web Forms solution. I've added a few core libraries to the main solution (via File -> New Project -> Add to solution). When I tried to add links to them (both from the solution browser window and from the File menu), I got a popup that simply says "Unable to add link", with no additional error messages.

I have verified that all projects are using the same .NET Framework version (4.5, not client version) and the same target architecture (x64) that I have seen in other posts.

I tried adding a link via browse and added the DLLs from the / bin / debug folder and it actually worked. Namespaces have been sampled and even shown in intellisense. My problem here is to break these links during release build and deploy.

Screenshot

+3


source to share


1 answer


I found a workaround for this problem.



When you go to your solution and add a new project, you will automatically be redirected to a category Web

. Instead, go to the tab Windows

and select this class library.

+4


source







All Articles