简体   繁体   中英

Unable to deploy ASP.NET 5 (ASP.NET Core 1) to Azure

I have a ASP.NET 5 (ASP.NET Core 1) solution here in GitHub which has multiple projects in it. I have been able to build and publish the project just fine on my local machine. But I am not able to publish the same project on my azure web app. I tried this , this , this , this and a lot more . I tried doing direct ftp publishing, custom deployment scripts,just XCOPY command on the custom script to copy published files from repository to site folder in azure. But nothing seems to work.
The continuous deployment within azure gives me an error " could not find a part of the path while doing dnu publish in the deployment script of azure every time.

Even when I am directly copying and pasting the locally published files to azure site folder via ftp. The site won't run.

I just want to have the site deployed on azure and if possible with continuous integration.

I have spend 2 days trying to figure out a solution. And I have given up on it now. Any help and directions would be highly appreciated.

What .NET Framework version are you compiling against. Sometime back I ran into this and finding the real cause took me a bit. The cloud service guest OS are behind a bit see this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM