Upgrade von Core 2.0 auf Core 2.1 führt zu vielen Fehlern
Notiz: beim Update einer Asp Anwendung
Die zwei wichtigsten Meldungen
Microsoft.NET.ObsoleteReferences.targets
Microsoft.EntityFrameworkCore.Tools.DotNet
Microsoft.Extensions.SecretManager.Tools
Severity |
Description |
Project |
File |
Line |
Suppression State |
Warning |
The tool 'Microsoft.EntityFrameworkCore.Tools.DotNet' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). |
Freelance |
C:\Program Files\dotnet\sdk\2.1.301\Sdks\Microsoft.NET.Sdk\targets\ Microsoft.NET.ObsoleteReferences.targets |
33 |
|
Warning |
The tool 'Microsoft.Extensions.SecretManager.Tools' is now included in the .NET Core SDK. Information on resolving this warning is available at (https://aka.ms/dotnetclitools-in-box). |
Freelance |
C:\Program Files\dotnet\sdk\2.1.301\Sdks\Microsoft.NET.Sdk\targets\ Microsoft.NET.ObsoleteReferences.targets |
33 |
|
Zuvor wurde der .NET Framework von Core 2.0 auf 2.1 erhöht
Fehlermeldungen:
Nach dem Update Upgrade erscheinen viele Fehler, die zuvor nicht sichtbar waren, aber vorhanden waren
Severity |
Code |
Description |
Project |
File |
Line |
Suppression State |
Error |
CS0246 |
The type or namespace name 'ErrorViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Shared\Error.g.cshtml.cs |
77 |
N/A |
Error |
CS0246 |
The type or namespace name 'ExternalLoginViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\ExternalLogin.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'ExternalLoginViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\ExternalLogin.g.cshtml.cs |
121 |
N/A |
Error |
CS0246 |
The type or namespace name 'ForgotPasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\ForgotPassword.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'ForgotPasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\ForgotPassword.g.cshtml.cs |
88 |
N/A |
Error |
CS0246 |
The type or namespace name 'LoginWith2faViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\LoginWith2fa.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'LoginWith2faViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\LoginWith2fa.g.cshtml.cs |
125 |
N/A |
Error |
CS0246 |
The type or namespace name 'LoginWithRecoveryCodeViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\LoginWithRecoveryCode.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'LoginWithRecoveryCodeViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\LoginWithRecoveryCode.g.cshtml.cs |
91 |
N/A |
Error |
CS0246 |
The type or namespace name 'RegisterViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\Register.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'RegisterViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\Register.g.cshtml.cs |
163 |
N/A |
Error |
CS0246 |
The type or namespace name 'ResetPasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\ResetPassword.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'ResetPasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Account\ResetPassword.g.cshtml.cs |
93 |
N/A |
Error |
CS0246 |
The type or namespace name 'ChangePasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\ChangePassword.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'ChangePasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\ChangePassword.g.cshtml.cs |
106 |
N/A |
Error |
CS0246 |
The type or namespace name 'EnableAuthenticatorViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\EnableAuthenticator.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'EnableAuthenticatorViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\EnableAuthenticator.g.cshtml.cs |
135 |
N/A |
Error |
CS0246 |
The type or namespace name 'ExternalLoginsViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\ExternalLogins.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'ExternalLoginsViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\ExternalLogins.g.cshtml.cs |
229 |
N/A |
Error |
CS0246 |
The type or namespace name 'IndexViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\Index.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'IndexViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\Index.g.cshtml.cs |
128 |
N/A |
Error |
CS0246 |
The type or namespace name 'SetPasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\SetPassword.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'SetPasswordViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\SetPassword.g.cshtml.cs |
99 |
N/A |
Error |
CS0246 |
The type or namespace name 'ShowRecoveryCodesViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\ShowRecoveryCodes.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'ShowRecoveryCodesViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\ShowRecoveryCodes.g.cshtml.cs |
114 |
N/A |
Error |
CS0246 |
The type or namespace name 'TwoFactorAuthenticationViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\TwoFactorAuthentication.g.cshtml.cs |
23 |
N/A |
Error |
CS0246 |
The type or namespace name 'TwoFactorAuthenticationViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\TwoFactorAuthentication.g.cshtml.cs |
164 |
N/A |
Error |
CS0246 |
The type or namespace name 'SignInManager<>' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\_ManageNav.g.cshtml.cs |
117 |
N/A |
Error |
CS0246 |
The type or namespace name 'ApplicationUser' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Manage\_ManageNav.g.cshtml.cs |
117 |
N/A |
Error |
CS0246 |
The type or namespace name 'Projects_Index_View_DataModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Projects\Index_all_mobile.g.cshtml.cs |
17 |
N/A |
Error |
CS0246 |
The type or namespace name 'Projects_Index_View_DataModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Projects\Index_all_mobile.g.cshtml.cs |
501 |
N/A |
Error |
CS0234 |
The type or namespace name 'Projects_User_Projects_View_DataModel' does not exist in the namespace 'Freelance.Models' (are you missing an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Projects\User_Notes.g.cshtml.cs |
17 |
N/A |
Error |
CS0234 |
The type or namespace name 'Projects_User_Projects_View_DataModel' does not exist in the namespace 'Freelance.Models' (are you missing an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Projects\User_Notes.g.cshtml.cs |
458 |
N/A |
Error |
CS0234 |
The type or namespace name 'Projects_User_Projects_View_DataModel' does not exist in the namespace 'Freelance.Models' (are you missing an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Projects\User_Notes_mobile.g.cshtml.cs |
17 |
N/A |
Error |
CS0234 |
The type or namespace name 'Projects_User_Projects_View_DataModel' does not exist in the namespace 'Freelance.Models' (are you missing an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Projects\User_Notes_mobile.g.cshtml.cs |
436 |
N/A |
Error |
CS0246 |
The type or namespace name 'ErrorViewModel' could not be found (are you missing a using directive or an assembly reference?) |
Freelance |
D:\Programmierung\Web\Freelance\Freelance\Freelance\obj\Debug\netcoreapp2.1\Razor\Views\Shared\Error.g.cshtml.cs |
17 |
N/A |