Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Cannot run or publish with release mode, but run in debug mode OK

$
0
0

Hi ,

I have upgrade my VS to latest version v 15.6.4 from 15.3, and now I have problem that I cannot publish my project any more.

my project is .net core 2.0 project, it run well before I upgrade VS.

I then tried to run at release mode, the IE browser opened up then closed, I cannot get web page show at all,

but in debug mode, everything working well. how can I fix it? 

the error message for publish is as below, googled but no help thread.

Severity Code Description Project File Line Suppression State
Error The command ""dotnet" exec --runtimeconfig "D:\NorthSoft\SBRClient\SBRClient.API\SBRClient.API\bin\Release\netcoreapp2.0\SBRClient.API.runtimeconfig.json" --depsfile "D:\NorthSoft\SBRClient\SBRClient.API\SBRClient.API\bin\Release\netcoreapp2.0\SBRClient.API.deps.json""C:\Users\gordon\.nuget\packages\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. SBRClient.API 0


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>