[attachment=2:l21b3d3m]Local Run.PNG[/attachment:l21b3d3m] I downloaded the Angular 2 Core template from Aspnetzero. Server project runs fine locally. When i right-click and publish the web.host project to azure through the publish wizard of Visual Studio , publish succeeds but page shows following error : [attachment=1:l21b3d3m]Azure Error.PNG[/attachment:l21b3d3m] Do not know how to publish this application to Azure. Is the issue related to .Net framework version in Project.json ? [attachment=0:l21b3d3m]ChangeInProject.Json File.PNG[/attachment:l21b3d3m]
While publishing a core app we should have .NetCore as selected , but i get the .NetFramework 4.6.1 as Target Framework.
Please inform procedure for publishing to azure. Really Urgent !!
1 Answer(s)
-
0
Hi,
Can you check the log file for error message details ? It should be under "/site/wwwroot/App_Data/Logs".
By the way, AspNet Zero does not support .Net Core, you need .NetFramework 4.6.1.