I am attempting to publish an MVC4 application from VS 2012 Pro running Windows 8 Pro. However, this is resulting in an empty directory at the publish root (as defined by the publish settings). I have the "All files in this project" selection for items to deploy and I am not attempting to publish any databases. Also, I'm only trying to do a local publish.
Below is a snippet from the output window. I would appreciate any suggestions for troubleshooting this issue. I have already tried to repair, uninstall, and reinstall VS.
2>Done building project "MyProject.Mvc".
2>Publishing folder /...
2>
========== Build: 1 succeeded, 0 failed, 5 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
Best regards, Vinney
The accepted answer did not work for me; however, deleting and recreating the publish profile worked.
This the the same problem in this question and there is a workaround. Visual Studio 2012 Web Publish doesn't copy files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With