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.
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 onlyMicrosoft.CodeAnalysis.CSharp
package as a dependency.