-
Notifications
You must be signed in to change notification settings - Fork 838
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
Strange invisibility of Microsoft.Azure namespace with Microsoft.Azure.DocumentDB nuget #885
Comments
@pkar70 what is the reason you can't use the v3 SDK? The v2 has been marked for deprecation. nuget: https://www.nuget.org/packages/Microsoft.Azure.Cosmos/ |
As I wrote, "I want this project to run on Microsoft Windows 10, on Lumia 532 (Win10 v15063)", and v3 SDK fails to be added to such project (with min target version 15063). |
The Cosmos DB .NET v3 SDK targets .NET standard 2.0. Based on the following thread it seems that version of Windows does not support .NET standard 2.0. https://developercommunity.visualstudio.com/t/uwp-uap10015063-not-compatible-with-net-standard-2/93522 What version of .NET are you targeting? .NET Framework 4.8? .NET Core 3.1? |
Visual Studio added Microsoft.Azure.DocumentDB.Core nuget without any problem. In UWP project, standard reference is to Microsoft.NETCore.UniversalWindowsPlatform, current version 6.2.13. But when I try to use something from Microsoft.Azure namespace, it is not visible. |
Describe the bug
I added Nuget Microsoft.Azure.DocumentDB to my project in VStudio. DocumentDB, not CosmosDB, because I want this project to run on Microsoft Windows 10, on Lumia 532 (Win10 v15063).
But Microsoft.Azure is not available; IntelliSense says that type is undefined; when I try to write methods with full namespace,
Microsoft.
, and noAzure
is available for completion. I tried same project in VStudio 2017, VStudio 2019, VStudio 2022.Two nugets: Microsoft.Azure.DocumentDB and Microsoft.Azure.DocumentDB.Core, both in version 2.16.2.
To Reproduce
Expected behavior
Namespace Microsoft.Azure should be visible.
Actual behavior
Environment summary
Microsoft Windows [Version 10.0.19044.1415]
VStudio version 17.0.4, same problem with 15.9.41, and 16.11.8.
UWP app project.
Microsoft.Azure.DocumentDB.Core, both in version 2.16.2
Microsoft.Azure.DocumentDB, both in version 2.16.2
Additional context
The text was updated successfully, but these errors were encountered: