5

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

Vinney Kelly
  • 4,975
  • 1
  • 25
  • 31

2 Answers2

10

The accepted answer did not work for me; however, deleting and recreating the publish profile worked.

Matt Cofer
  • 2,972
  • 1
  • 20
  • 18
3

This the the same problem in this question and there is a workaround. Visual Studio 2012 Web Publish doesn't copy files

Community
  • 1
  • 1
Roberto Nunes
  • 1,326
  • 1
  • 9
  • 5