Base solution for your next web application
Open Closed

Request: cleanup compiler warnings on next release #6915


User avatar
0
timmackey created
Warning	CS1998	This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\UiCustomization\NullUiThemeCustomizerFactory.cs	UserApp.Test.Base	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\UiCustomization	8	Active
Warning	CS0693	Type parameter 'T' has the same name as the type parameter from outer type 'AppTestBase<T>'	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\AppTestBase.cs	UserApp.Test.Base	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base	72	Active
Warning	CS0693	Type parameter 'T' has the same name as the type parameter from outer type 'AppTestBase<T>'	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\AppTestBase.cs	UserApp.Test.Base	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base	77	Active
Warning	CS0693	Type parameter 'T' has the same name as the type parameter from outer type 'AppTestBase<T>'	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\AppTestBase.cs	UserApp.Test.Base	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base	106	Active
Warning	CS0693	Type parameter 'T' has the same name as the type parameter from outer type 'AppTestBase<T>'	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\AppTestBase.cs	UserApp.Test.Base	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base	122	Active
Warning	CS1998	This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\UiCustomization\NullThemeUiCustomizer.cs	UserApp.Test.Base	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.Test.Base\UiCustomization	11	Active
Warning	CS4014	Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\src\UserApp.Core\MultiTenancy\SubscriptionExpirationCheckWorker.cs	UserApp.Core	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\src\UserApp.Core\MultiTenancy	77	Active
Warning	CS4014	Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\src\UserApp.Core\MultiTenancy\SubscriptionExpirationCheckWorker.cs	UserApp.Core	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\src\UserApp.Core\MultiTenancy	97	Active
Warning	CS4014	Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\src\UserApp.Core\MultiTenancy\SubscriptionExpireEmailNotifierWorker.cs	UserApp.Core	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\src\UserApp.Core\MultiTenancy	52	Active
Warning	CS0618	'DiscoveryClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io'	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.ConsoleApiClient\Program.cs	UserApp.ConsoleApiClient	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.ConsoleApiClient	41	Active
Warning	CS0618	'TokenClient' is obsolete: 'This type will be deprecated or changed in a future version. It is recommended that you switch to the new extension methods for HttpClient. They give you much more control over the HttpClient lifetime and configuration. See the docs here: https://identitymodel.readthedocs.io'	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.ConsoleApiClient\Program.cs	UserApp.ConsoleApiClient	C:\AspNetZero\UserApp 6.8.0 Core 2.2\UserApp\aspnet-core\test\UserApp.ConsoleApiClient	47	Active


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    What is the version of zero you are currently using?

  • User Avatar
    0
    timmackey created

    6.8.0

  • User Avatar
    0
    maliming created
    Support Team

    Already fixed.

    https://github.com/aspnetzero/aspnet-zero-core/pull/2300

  • User Avatar
    0
    kalidarscope created

    How to get the latest? When I Click on the link https://github.com/aspnetzero/aspnet-zero-core/pull/2300 it's saying

  • User Avatar
    0
    maliming created
    Support Team

    You can invite anyone to become a member of the ASP.NET Zero organization using their GitHub username. And they can access the ASP.NET Zero private GitHub repositories.

    https://aspnetzero.com/LicenseManagement

  • User Avatar
    0
    timmackey created

    I'm already a member. I'm the subscriber. If I'm already logged into github, the link works. If I'm not logged into github I would expect to be presented with the github login page, instead of error 404.