Closed
Description
The official Azure SDK assemblies are not available via NuGet.
Under aspnet-core Web API project, which is configured to run as a worker role on Azure, I have used "Bin syntax" (https://github.com/aspnet/Home/wiki/Project.json-file#bin-syntax-wrapping-a-dll) in project.json as follow:
"frameworks": {
"dnx451": {
"dependencies": {
" /* eradicated for brevity */ "
},
"bin": {
"assembly": "C:\\Program Files\\Microsoft SDKs\\Azure\\.NET SDK\\v2.8\\ref\\Microsoft.WindowsAzure.ServiceRuntime.dll"
}
}
},
In WorkerRole.cs
, I am getting Cannot resolve symbol 'ServiceRuntime'
at using Microsoft.WindowsAzure.ServiceRuntime.dll
.
- Is this usage flawed?
- In cases such as these, when NuGet package is not an option provided by vendor, can we add assembly in source tree and reference it with relative path in project.json?
- Is there another (better, special) way to handle Azure SDK assemblies?
Metadata
Metadata
Assignees
Labels
No labels