简体   繁体   中英

.NET And Shared DLLs

I have 4 .Net Applications that use the same set of API DLLs. All these files sit on a flash drives we give to our staff. Is there any way to have a shared DLL location on the flash drive for all the shared DLLs so when we update, we don't have to duplicate the DLLs for each Application. I have Read about global assemblies but this will not always work if theres a new PC or they are at a client site.

I have read about disabling copy local but is that a relative path or absolute once you do that.

Example of Drive Structure
F:\\
|
|-App1\\
|-App2\\
|-App3\\
|-App4\\
|-SharedDLLs\\

to me having burned dlls in your projects is a complete nigtmare, I suggest you to try nuget and create a private feed for your custom dlls you just need to host a web service in a local server and everbody should configure the access to that dependencies.

it's quite easy take a look to this tutorial it worth the effort!

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