I have an interesting problem, and now I can not say anything about NuGet, but I create NuGet package, which I'll refer to Project Alpha, which is dependent on Grpcwhich to expand, has a dependency on troublesome package: Grpc.Core.
Grpc.Core, through Grpcinstalls fine in Project Alpha and does not add new files to the Project Alpha project. Project Beta, on the other hand, depends on Project Alpha and the extension Grpc.Core. When I install Project Alpha, the installation Grpc.Corecalls the next project tree in the beta version of the project
ProjectBeta
|- Properties/
|- References/
|- App.config
|- grpc_csharp_ext.x64.dll
|- grpc_csharp_ext.x86.dll
|- libgrpc_csharp_ext.x64.dylib
|- libgrpc_csharp_ext.x64.so
|- libgrpc_csharp_ext.x86.dylib
|- libgrpc_csharp_ext.x86.so
|- packages.config
|- Program.cs
You will notice that it installs 6 binaries that I do not need 1) included in the project, or 2) in the root of the project.
Grpc.Core.nupkg, , 6 runtimes; .targets . , , .
:
-
Project Alpha
|- Grpc
| |- Grpc.Core
|- Google.Protobuf
nupkg nuget pack ProjectAlpha.csproj -Properties Configuration=Release
content
|- grpc_csharp_ext.x64.dll
|- grpc_csharp_ext.x86.dll
|- libgrpc_csharp_ext.x64.dylib
|- libgrpc_csharp_ext.x64.so
|- libgrpc_csharp_ext.x86.dylib
|- libgrpc_csharp_ext.x86.so
lib
|- net452
|- ProjectAlpha.dll
, , , content, , . , , " ?". , ; , , .
? ? ?