-
Notifications
You must be signed in to change notification settings - Fork 10.3k
How to reference Azure SDK dlls in project.json? #1317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Found the solution: I created a Class Library (package) project (AzureSDKServiceRuntimeWrapper), which wraps the {
"frameworks": {
"dnx451": {
"bin": {
"assembly": "C:\\Program Files\\Microsoft SDKs\\Azure\\.NET SDK\\v2.8\\ref\\Microsoft.WindowsAzure.ServiceRuntime.dll"
}
}
}
} Then referenced this project in Web API project's "frameworks": {
"dnx451": {
"dependencies": {
"AzureSDKServiceRuntimeWrapper": "1.*"
".. other dependencies.."
}
}
} Finally, worked on Would be nice to clarify the wrapper project aspect in docs. I would happy to send a (reviewable) PR if there is a repo with docs in the source tree. :) |
Rename Owin version property for consistency (#1317)
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:
In
WorkerRole.cs
, I am gettingCannot resolve symbol 'ServiceRuntime'
atusing Microsoft.WindowsAzure.ServiceRuntime.dll
.The text was updated successfully, but these errors were encountered: