You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .NET 8 Worker SDK application that includes the Microsoft.Azure.SqlDatabase.ElasticScale.Client NuGet package, version 2.4.1.
If I run it with the default launchSettings.json, a class in my project throws an error in the dependency injection startup code, saying Unable to resolve service for type 'Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard'.
If I set the DOTNET_ENVIRONMENT environment variable to some value other than Development, the same code works just fine. I can't see any conditional compilation in the source code of this repo that would be doing something different based on the DOTNET_ENVIRONMENT.
The text was updated successfully, but these errors were encountered:
I have a .NET 8 Worker SDK application that includes the Microsoft.Azure.SqlDatabase.ElasticScale.Client NuGet package, version 2.4.1.
If I run it with the default launchSettings.json, a class in my project throws an error in the dependency injection startup code, saying
Unable to resolve service for type 'Microsoft.Azure.SqlDatabase.ElasticScale.ShardManagement.Shard'
.If I set the
DOTNET_ENVIRONMENT
environment variable to some value other thanDevelopment
, the same code works just fine. I can't see any conditional compilation in the source code of this repo that would be doing something different based on theDOTNET_ENVIRONMENT
.The text was updated successfully, but these errors were encountered: