简体   繁体   中英

Visual Studio 2010 Web Deploy Error: Not allowed to begin a design-time build at this time for publish

I'm trying to publish an ASP.NET MVC 3 app but I am getting

------ Publish started: Project: MyProject, Configuration: Debug Any CPU ------

Not allowed to begin a design-time build at this time for publish. Please try again later.

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

I've published before successfully... I even tried restarting Visual Studio and then the whole PC!

Any thoughts?

I'm not sure why this fails, quite honestly, but I restarted VS 2010 like @Keven Coulombe suggested and after that the publish went through. My guess is this might happen after debugging other projects, and having VS open for extended periods (For me this was about one week).

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