I want to get the environment variable in csproj, because there I have a condition which exclude appsettings from publish.
I want this because, my appsettings didn't depends to Solution Configuration, them depends only from environment variables.
Instead of '$(Configuration)' != Debug' I want something like 'envVariable != Development' etc.
Or is it another method to exclude those files regarding to env variables?
in C# is this method: Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT ").