Google Cloud 프로젝트에서 사용할 수있는 주제를 나열해야하는 매우 간단한 프로그램을 만들었습니다. 이 코드는 간단합니다 :Google.Pubsub.V1 beta01이 dotnet cli 프로젝트에서 작동하지 않는 이유는 무엇입니까?
"regular"msbuild 프로젝트에서 .NET 4.5를 실행할 때 제대로 작동합니다. 나는 다음과 같은 project.json
파일 DOTNET의 CLI (1.0.0-preview2-003121)를 사용하려고하면 :
Unhandled Exception: System.IO.FileNotFoundException: Error loading native library.
Not found in any of the possible locations c:\[...]\Pubsub.Demo\bin\Debug\net45\win7-x64\nativelibs\windows_x64\grpc_csharp_ext.dll
at Grpc.Core.Internal.UnmanagedLibrary.FirstValidLibraryPath(String[] libraryPathAlternatives)
at Grpc.Core.Internal.UnmanagedLibrary..ctor(String[] libraryPathAlternatives)
at ...
내가하려고 아니에요 :
{
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Google.Pubsub.V1": "1.0.0-beta01"
},
"frameworks": {
"net45": { }
}
}
... 나는 예외를 참조 .NET 코어를 대상으로하므로 지원되지 않아야합니까?
(이 질문을하는 주된 이유는 구글 클라우드 닷넷 클라이언트 고객을위한 핵심 태그 인'google-cloud-dotnet' 태그를 만드는 것이 었습니다.) 어쨌든 자연스럽게 나타날 수있는 것 ...) –