Hello,
Thank you for you suggestion. So if I understood correctly, these things should be done:
- I should not add EF as a dependency package.
- I should move the assemblies of my library from the lib folder to something else (e.g.assemblies, or is there a good convention?) and build a custom folder structure for the different variations of my library (e.g. assemblies/net40/pre-ef6, assemblies/net45/pre-ef6,assemblies/net40/ef6 ... etc).
- I should create tools/install.ps1 and tools/uninstall.ps1 scripts that reference and dereference the appropriate variant of the library, respectively.
- The install script should search for an EntityFramework.dll reference in the project that the package being installed in. However, I think it should search in a recursive way (check assembly references of otherreferenced projects too), am I right?