Deciding which referenced assemblies should be added to frameworkAssemblies

I am currently working on packaging the libraries that we work with in our team and I am stuck when it came to the frameworkAssemblies

nuspec file.

I understand that frameworkAssemblies is only for assemblies installed on the GAC. The problems are that a project (let's call it project A) can use many GAC assemblies, but once another project (project B) references project A, it probably won't need every project A, and sometimes none of in some other cases, this will require you to specify some of them.

So the question is, how can I decide which references from my class library project should be added as frameworkAssemblies

and which ones?

As I see it, it is impractical to go through every class of my project and check which links someone should add when using that class, and so I am left with two possibilities, neither of which is optimal: (a) Adding each link as frameworkAssembly or (b) add none.

+3


source to share





All Articles