Skip to content
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

Deps.json not working since version 3.0 #21519

Closed
Karuption opened this issue Jul 5, 2020 · 5 comments
Closed

Deps.json not working since version 3.0 #21519

Karuption opened this issue Jul 5, 2020 · 5 comments
Labels
closed-no-further-action The issue is closed and no further action is planned. customer-reported

Comments

@Karuption
Copy link

After build. there is no generation of the deps.json. This is causing Microsoft.data.sqlclient to not be resolved. When manually adding the deps.json from another dev's machine, it works perfectly. I have tried a lot of the different solutions on the other issues that were opened on this. At this point, we are probably close to a work week worth of time on trying to pinpoint this down with my machine any guidance would be great,

What steps can we follow to reproduce the issue? add any migrations/dbupdate

C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS>dotnet ef migrations add "init" --context TenantInfoDbContext --verbose
Using project 'C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj'.
Using startup project 'C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj'.
Writing 'C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\obj\FcNoel.Identity.STS.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=C:\Users\Anonymous\AppData\Local\Temp\tmp8863.tmp /verbosity:quiet /nologo C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj
Writing 'C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\obj\FcNoel.Identity.STS.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=C:\Users\Anonymous\AppData\Local\Temp\tmp8B23.tmp /verbosity:quiet /nologo C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj
Build started...
dotnet build C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj /verbosity:quiet /nologo
Controllers\ConsentController.cs(132,110): warning CS8625: Cannot convert null literal to non-nullable reference type. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\ExternalProvider.cs(5,23): warning CS8618: Non-nullable property 'DisplayName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\ExternalProvider.cs(6,23): warning CS8618: Non-nullable property 'AuthenticationScheme' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentInputModel.cs(7,23): warning CS8618: Non-nullable property 'Button' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentInputModel.cs(8,36): warning CS8618: Non-nullable property 'ScopesConsented' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentInputModel.cs(10,23): warning CS8618: Non-nullable property 'ReturnUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ScopeViewModel.cs(5,23): warning CS8618: Non-nullable property 'Name' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ScopeViewModel.cs(6,23): warning CS8618: Non-nullable property 'DisplayName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LogoutInputModel.cs(5,23): warning CS8618: Non-nullable property 'LogoutId' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginInputModel.cs(7,34): warning CS8618: Non-nullable property 'Username' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginInputModel.cs(8,34): warning CS8618: Non-nullable property 'Password' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(7,23): warning CS8618: Non-nullable property 'ClientName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(8,23): warning CS8618: Non-nullable property 'ClientUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(9,23): warning CS8618: Non-nullable property 'ClientLogoUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(12,44): warning CS8618: Non-nullable property 'IdentityScopes' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(13,44): warning CS8618: Non-nullable property 'ResourceScopes' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(13,23): warning CS8618: Non-nullable property 'ClientId' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(14,23): warning CS8618: Non-nullable property 'ClientName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(15,23): warning CS8618: Non-nullable property 'ClientUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(16,23): warning CS8618: Non-nullable property 'ClientLogoUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(19,36): warning CS8618: Non-nullable property 'IdentityGrantNames' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(20,36): warning CS8618: Non-nullable property 'ApiGrantNames' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(8,44): warning CS8618: Non-nullable property 'Grants' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Home\ErrorViewModel.cs(7,29): warning CS8618: Non-nullable property 'Error' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(5,23): warning CS8618: Non-nullable property 'PostLogoutRedirectUri' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(6,23): warning CS8618: Non-nullable property 'ClientName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(7,23): warning CS8618: Non-nullable property 'SignOutIframeUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(11,23): warning CS8618: Non-nullable property 'LogoutId' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(13,23): warning CS8618: Non-nullable property 'ExternalAuthenticationScheme' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ProcessConsentResult.cs(6,23): warning CS8618: Non-nullable property 'RedirectUri' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ProcessConsentResult.cs(9,33): warning CS8618: Non-nullable property 'ViewModel' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ProcessConsentResult.cs(12,23): warning CS8618: Non-nullable property 'ValidationError' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginViewModel.cs(19,13): warning CS8603: Possible null reference return. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginViewModel.cs(11,46): warning CS8618: Non-nullable property 'ExternalProviders' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Program.cs(32,39): warning CS8604: Possible null reference argument for parameter 'first' in 'IEnumerable<string> Enumerable.Except<string>(IEnumerable<string> first, IEnumerable<string> second)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Program.cs(33,42): warning CS8604: Possible null reference argument for parameter 'first' in 'IEnumerable<string> Enumerable.Except<string>(IEnumerable<string> first, IEnumerable<string> second)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\ConsentController.cs(76,46): warning CS8600: Converting null literal or possible null value to non-nullable type. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\ConsentController.cs(81,34): warning CS8600: Converting null literal or possible null value to non-nullable type. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\ConsentController.cs(157,20): warning CS8603: Possible null reference return. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(213,22): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(275,32): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(285,32): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(299,28): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(306,53): warning CS8604: Possible null reference argument for parameter 'returnUrl' in 'Task<LoginViewModel> AccountController.BuildLoginViewModelAsync(string returnUrl)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(316,22): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(344,41): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(345,30): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(346,36): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(350,22): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(392,62): warning CS8604: Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(393,59): warning CS8604: Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(399,34): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(399,34): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
obj\Debug\net5.0\Razor\Views\Shared\Error.cshtml.g.cs(113,16): warning CS0618: 'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.' [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]

Build succeeded.

Controllers\ConsentController.cs(132,110): warning CS8625: Cannot convert null literal to non-nullable reference type. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\ExternalProvider.cs(5,23): warning CS8618: Non-nullable property 'DisplayName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\ExternalProvider.cs(6,23): warning CS8618: Non-nullable property 'AuthenticationScheme' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentInputModel.cs(7,23): warning CS8618: Non-nullable property 'Button' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentInputModel.cs(8,36): warning CS8618: Non-nullable property 'ScopesConsented' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentInputModel.cs(10,23): warning CS8618: Non-nullable property 'ReturnUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ScopeViewModel.cs(5,23): warning CS8618: Non-nullable property 'Name' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ScopeViewModel.cs(6,23): warning CS8618: Non-nullable property 'DisplayName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LogoutInputModel.cs(5,23): warning CS8618: Non-nullable property 'LogoutId' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginInputModel.cs(7,34): warning CS8618: Non-nullable property 'Username' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginInputModel.cs(8,34): warning CS8618: Non-nullable property 'Password' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(7,23): warning CS8618: Non-nullable property 'ClientName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(8,23): warning CS8618: Non-nullable property 'ClientUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(9,23): warning CS8618: Non-nullable property 'ClientLogoUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(12,44): warning CS8618: Non-nullable property 'IdentityScopes' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ConsentViewModel.cs(13,44): warning CS8618: Non-nullable property 'ResourceScopes' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(13,23): warning CS8618: Non-nullable property 'ClientId' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(14,23): warning CS8618: Non-nullable property 'ClientName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(15,23): warning CS8618: Non-nullable property 'ClientUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(16,23): warning CS8618: Non-nullable property 'ClientLogoUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(19,36): warning CS8618: Non-nullable property 'IdentityGrantNames' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(20,36): warning CS8618: Non-nullable property 'ApiGrantNames' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Grants\GrantsViewModel.cs(8,44): warning CS8618: Non-nullable property 'Grants' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Home\ErrorViewModel.cs(7,29): warning CS8618: Non-nullable property 'Error' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(5,23): warning CS8618: Non-nullable property 'PostLogoutRedirectUri' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(6,23): warning CS8618: Non-nullable property 'ClientName' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(7,23): warning CS8618: Non-nullable property 'SignOutIframeUrl' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(11,23): warning CS8618: Non-nullable property 'LogoutId' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoggedOutViewModel.cs(13,23): warning CS8618: Non-nullable property 'ExternalAuthenticationScheme' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ProcessConsentResult.cs(6,23): warning CS8618: Non-nullable property 'RedirectUri' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ProcessConsentResult.cs(9,33): warning CS8618: Non-nullable property 'ViewModel' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Consent\ProcessConsentResult.cs(12,23): warning CS8618: Non-nullable property 'ValidationError' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginViewModel.cs(19,13): warning CS8603: Possible null reference return. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Views\Account\LoginViewModel.cs(11,46): warning CS8618: Non-nullable property 'ExternalProviders' is uninitialized. Consider declaring the property as nullable. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Program.cs(32,39): warning CS8604: Possible null reference argument for parameter 'first' in 'IEnumerable<string> Enumerable.Except<string>(IEnumerable<string> first, IEnumerable<string> second)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Program.cs(33,42): warning CS8604: Possible null reference argument for parameter 'first' in 'IEnumerable<string> Enumerable.Except<string>(IEnumerable<string> first, IEnumerable<string> second)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\ConsentController.cs(76,46): warning CS8600: Converting null literal or possible null value to non-nullable type. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\ConsentController.cs(81,34): warning CS8600: Converting null literal or possible null value to non-nullable type. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\ConsentController.cs(157,20): warning CS8603: Possible null reference return. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(213,22): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(275,32): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(285,32): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(299,28): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(306,53): warning CS8604: Possible null reference argument for parameter 'returnUrl' in 'Task<LoginViewModel> AccountController.BuildLoginViewModelAsync(string returnUrl)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(316,22): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(344,41): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(345,30): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(346,36): warning CS8601: Possible null reference assignment. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(350,22): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(392,62): warning CS8604: Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(393,59): warning CS8604: Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(399,34): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
Controllers\AccountController.cs(399,34): warning CS8602: Dereference of a possibly null reference. [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
obj\Debug\net5.0\Razor\Views\Shared\Error.cshtml.g.cs(113,16): warning CS0618: 'IHostingEnvironment' is obsolete: 'This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.AspNetCore.Hosting.IWebHostEnvironment.' [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\FcNoel.Identity.STS.csproj]
    54 Warning(s)
    0 Error(s)

Time Elapsed 00:00:05.92
Build succeeded.
dotnet exec --depsfile C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\bin\Debug\net5.0\FcNoel.Identity.STS.deps.json --additionalprobingpath C:\Users\Anonymous\.nuget\packages --additionalprobingpath C:\Microsoft\Xamarin\NuGet --additionalprobingpath "C:\Program Files\dotnet\sdk\NuGetFallbackFolder" --runtimeconfig C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\bin\Debug\net5.0\FcNoel.Identity.STS.runtimeconfig.json C:\Users\Anonymous\.dotnet\tools\.store\dotnet-ef\5.
0.0-preview.6.20312.4\dotnet-ef\5.0.0-preview.6.20312.4\tools\netcoreapp3.1\any\tools\netcoreapp2.0\any\ef.dll migrations add init --context TenantInfoDbContext --assembly C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\bin\Debug\net5.0\FcNoel.Identity.STS.dll --startup-assembly C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\bin\Debug\net5.0\FcNoel.Identity.STS.dll --project-dir C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\ --language C# --working-dir C:\FcNoel.Ident
ity.AdminUI\FcNoel.Identity.STS --verbose --root-namespace FcNoel.Identity.STS
The specified deps.json [C:\FcNoel.Identity.AdminUI\FcNoel.Identity.STS\bin\Debug\net5.0\FcNoel.Identity.STS.deps.json] does not exist

Further technical details

EF Core version: 5 preview 6
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: 5.0
Operating system: windows 10 build 2004
IDE: Jetbrains Rider 2020.2 EAP5, but is reproducible on VS as well

@bricelam
Copy link
Contributor

bricelam commented Jul 6, 2020

Is FcNoel.Identity.STS a .NET Core class library? Does it reference Microsoft.EntityFrameworkCore.Design either directly or transitively via .Tools? Possibly related to #14531.

Does it work if you add this to the project?

<PropertyGroup>
  <GenerateRuntimeConfigurationFiles>True</GenerateRuntimeConfigurationFiles>
</PropertyGroup>

@Karuption
Copy link
Author

Is FcNoel.Identity.STS a .NET Core class library? Does it reference Microsoft.EntityFrameworkCore.Design either directly or transitively via .Tools? Possibly related to #14531.

Does it work if you add this to the project?

<PropertyGroup>
  <GenerateRuntimeConfigurationFiles>True</GenerateRuntimeConfigurationFiles>
</PropertyGroup>

Yes, that is referenced directly in the project that is having issues. That didn't change whats going on either. I would mention that this works perfectly on other Devs' machine, just not mine

@ajcvickers
Copy link
Member

@Karuption "I would mention that this works perfectly on other Devs' machine, just not mine." Typically it's going to be hard to help you unless the difference between the two environments can be determined. Presumably you have tried clearing NuGet caches, and reinstalling your IDE, etc.

@Karuption
Copy link
Author

@Karuption "I would mention that this works perfectly on other Devs' machine, just not mine." Typically it's going to be hard to help you unless the difference between the two environments can be determined. Presumably you have tried clearing NuGet caches, and reinstalling your IDE, etc.

Yes, re-installed all .net sdks, tried VS instead of rider, checked project variables with the build variables. At this point We are lost at what else to test.

@ajcvickers
Copy link
Member

@Karuption I wish we could help you more, but I don't have any further suggestions on this.

@ajcvickers ajcvickers added the closed-no-further-action The issue is closed and no further action is planned. label Jul 20, 2020
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-no-further-action The issue is closed and no further action is planned. customer-reported
Projects
None yet
Development

No branches or pull requests

3 participants