I am running into issues after attempting to migrate my .NET Core 1.1 app to 2.0, as I was following this tutorial. I also looked at this tutorial. I installed .NET Core 2.0, and I updated my Visual Studio 2017 Community Edition IDE to the latest version. I was attempting to run "dotnet run":
C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter>dotnet run C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.OData.Client 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.OData.Core 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.OData.Edm 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.Spatial 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.OData.Client 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.OData.Core 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.OData.Edm 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj : warning NU1701: Package 'Microsoft.Spatial 6.17.0' was restored using '.NETPlatform,Version=v5.6, .NETPortable,Version=v0.0,Profile=Profile7, .NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. OpenIdConnectOptionsSetup.cs(73,38): error CS0246: The type or namespace name 'FailureContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj] Startup.cs(289,38): error CS0246: The type or namespace name 'FailureContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj] Startup.cs(406,36): error CS0246: The type or namespace name 'FailureContext' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj] Controllers\ManageController.cs(30,20): error CS0246: The type or namespace name 'IdentityCookieOptions' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj] Controllers\AccountController.cs(45,22): error CS0246: The type or namespace name 'IdentityCookieOptions' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj] Utils\MicrosoftAuthenticationOptions.cs(5,58): error CS0246: The type or namespace name 'AuthenticationOptions' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\bhlee_000\Documents\Visual Studio 2017\Projects\test.globalwarming.center\testglobalwarmingcenter\globalwarmingcenter.csproj] The build failed. Please fix the build errors and run again.
Can you please help me resolve these issues? Here is the link to my GitHub repo.
Thanks a lot!