Project builds but can't publish : <p>I have an MVC project that for an uknown reason refuses to publish to a local folder in the PC.</p>

<p>The log says the following:</p>

<pre><code>3&gt;------ Publish started: Project: Admin, Configuration: Release Any CPU ------
3&gt;Connecting to D:\Deploys...
3&gt;Project "Admin.csproj" (GatherAllFilesToPublish target(s)):
3&gt;    Building with tools version "14.0".
3&gt;    Target "ValidateMSBuildToolsVersion" skipped. Previously built unsuccessfully.
3&gt;Done building project "Admin.csproj" -- FAILED.
3&gt;
========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
</code></pre>

<p>I haven't had a problem debugging on either release or debug config.</p>
