I have downloaded the latest Core SDK and installed it in my machine. Microsoft .Net Core SDK-2.0.3 (x64).
I used the angular SPA template in VS2017 to create a new angular app and deploy no changes. The app is running fine locally.
When I publish by this I am getting 502.5 Error. On running dotnet xxx.dll in Console i am getting the following error. Error: An assembly specified in the application dependencies manifest (src.deps.json) was not found: package: 'Microsoft.AspNetCore.Antiforgery', version: '2.0.1' path: 'lib/netstandard2.0/Microsoft.AspNetCore.Antiforgery.dll'
As per this link https://github.com/dotnet/coreclr/issues/13542
I used the 2.0.0 nuget. Local is working. When i try to publish to azure using azure publish Getting this error.
Error
The command ""dotnet" exec --runtimeconfig "C:\DEBojyoti\Projects\TestWebApp\TestWebApp\bin\Release\netcoreapp2.0\TestWebApp.runtimeconfig.json" --depsfile "C:\DEBojyoti\Projects\TestWebApp\TestWebApp\bin\Release\netcoreapp2.0\TestWebApp.deps.json" "C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.razor.viewcompilation\2.0.1\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.dll" @"obj\Release\netcoreapp2.0\microsoft.aspnetcore.mvc.razor.viewcompilation.rsp"" exited with code 1. TestWebApp 0
Any help?