i have two Applications, using some DLL´s of each other. 1st App has 8 DLL Projects in the Solution and 1 Winforms Project 2nd App has 4 DLL Projects in the Solution and 1 Winforms Project
App1 usees 5 of the DLL´s Projects of App2, and App2 uses 2 DLL Priojects of App1.
ATM i copy the DLL from one App to an Lib Folder of the other App and reference to it. But i have to copy it again when i change things.
Is there a simple solution where i can put it on a FileShare without Team Solution?
And when TS is the only way, what are the best practices on it.
Regards Lord_Pinhead
Well I guess you have three possible solutions.
If you want to keep your app portable you could set up a side by side implementation. Create a core folder Put the shared DLL's in there and then reference them that path. Remember to turn off copy local.
Gotcha
Bare in mind though that if a fresh pull of the source is pulled and the core folder cannot be found then there will be issues.
This solution would require more effort than the side by side implementation but is probably the best solution https://blogs.msdn.microsoft.com/mvpawardprogram/2016/06/28/creating-nuget-packages/
The issue with this solution is your apps would no longer be portable.
https://msdn.microsoft.com/en-us/library/yf1d93sz(v=vs.110).aspx
You can create a postbuild script to copy the dll to desired folders or others app folders:
take a look at Msdn Doc
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.