开发者

Deploy a .NET library

I'm trying to deploy a .NET library using WiX.

The MSI copy the library in the GAC (Global Assembly Cache), and I can find my library on Windows\Assembly. "Cool" I said.

But probably I missed something important, since installed applications using that .NET library doesn't find the assembly, and Visual Studio is unable to offer the library for referencing it in projects.

As conclusion, it seems that installing the .NET library in the GAC doesn't bring any benefit, since it cannot be loaded and it cannot be used for developing. Of course I can copy DLL in the application working copy, and of course a can include in the PATH environment the开发者_如何学Python installation path...

...but how I can deploy a .NET assembly and integrate it on the host system without duplicating files and modify the environment?


You might want to have a look at this. Installing assembly into GAC doesn't automatically make it appear in the add reference box. There are some additional steps that need to be done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜