Replies: 1 comment
-
Because while the package ID and the assembly name are typically the same, they don't have to be. In the case of Roslyn, referencing the assembly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why package name
microsoft.codeanalysis.common
folder is not the same as assembly dll name forMicrosoft.CodeAnalysis.dll
?Most NuGet packages follow a convention where the package name is the same as the assembly dll name.
Maybe there is no such convention?
Here some path examples :
".nuget\packages\cocona\2.0.3\lib\netstandard2.0\Cocona.dll"✅
".nuget\packages\cocona.core\2.0.3\lib\netstandard2.0\Cocona.Core.dll"✅
".nuget\packages\diffengine\6.4.9\lib\netstandard2.0\DiffEngine.dll"✅
".nuget\packages\emptyfiles\2.3.3\lib\netstandard2.0\EmptyFiles.dll"✅
".nuget\packages\microsoft.bcl.asyncinterfaces\5.0.0\lib\netstandard2.0\Microsoft.Bcl.AsyncInterfaces.dll"✅
".nuget\packages\microsoft.codeanalysis.common\4.1.0\lib\netstandard2.0\Microsoft.CodeAnalysis.dll"❌
".nuget\packages\microsoft.codeanalysis.csharp\4.1.0\lib\netstandard2.0\Microsoft.CodeAnalysis.CSharp.dll"✅
Beta Was this translation helpful? Give feedback.
All reactions