jaredpar / basic-reference-assemblies

Produce NuPkg files that have .NET Reference assemblies as resources
MIT License
96 stars 15 forks source link

Non-framework related assemblies? #38

Open JakeSays opened 1 year ago

JakeSays commented 1 year ago

Hello Jared,

First I just want to say thank you for creating this project. It has been a big help!

I have a couple of non-framework assemblies that my scripts use. Would it be better to create reference assemblies for them and use those during compilation, instead of the actual implementation assemblies?

Thanks, -Jake

jaredpar commented 1 year ago

First I just want to say thank you for creating this project. It has been a big help!

Thanks. Glad you're getting use out of it :)

I have a couple of non-framework assemblies that my scripts use. Would it be better to create reference assemblies for them and use those during compilation, instead of the actual implementation assemblies

For .NET Core I would always recommend using reference assemblies when possible. Those will have consistent API surface area from release to release. Where as implementation assemblies are free to change surface API area by moving around types.