jaredpar / basic-reference-assemblies

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

Trim down Roslyn dependencies #10

Closed glopesdev closed 3 years ago

glopesdev commented 3 years ago

The framework specific packages are great for trimming down deployment size, but unfortunately the package dependencies undermine this by pulling the overly general Microsoft.CodeAnalysis package, which pulls in both VB and C# analysers and other unnecessary dependencies.

Replacing this with Microsoft.CodeAnalysis.Common will make this package more compatible with applications doing runtime code generation focusing only on specific languages, such as C#, which means they will be pulling only Microsoft.CodeAnalysis.CSharp package as a dependency.