简体   繁体   中英

Adding reference to C# Project

I'm having an issue adding a reference to my C# project. I need to add a dll called PhpNetCore. I have located this DLL with Windows Explorer in Assembly\\GAC_MSIL\\PhpNetCore. However, when I browse with the Visual Studio explorer to add a reference to the DLL it doesn't show up. They are simply not visible. What gives?

Using Windows Explorer, I copied the PhpNetCore folder to my desktop. I was then able to add a reference without any issues.

Thanks in advance for any help.

-Geoff

That's "as designed" for Visual Studio. The GAC is for publishers to share assemblies with multiple applications. Publishers can share assemblies with developers in Common Files\\Reference Assemblies.

The ideal method of adding a reference to your project is to use the NuGet package manager.

If neither of those are available, copying is okay, too.

I am not sure about that library but I found a way to use it installation free if this is of any help.

Installation-Free Phalanger

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM