Visual Studio web project publish not working
<p>I have a finished web project ready to publish. It works fine when I run it in Visual Studio. Then I go to publish it. Visual Studio claims the publication was successful, but when I go to the site on IIS it does not work. The published file system doesn't even have the Images folder, and the links to the Scripts and other folders don't work. </p>

<p>To describe what's happening, first I choose Build-->Publish site. I create a publish profile like so:</p>

<p><a href="https://i.stack.imgur.com/9OXrO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9OXrO.png" alt="enter image description here"></a></p>

<p>Then I publish it as a File System and pick the folder:</p>

<p><a href="https://i.stack.imgur.com/gO92U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gO92U.png" alt="enter image description here"></a></p>

<p>Then I publish it as Release:</p>

<p><a href="https://i.stack.imgur.com/tWRjg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tWRjg.png" alt="enter image description here"></a> </p>

<p>Then I press Publish:</p>

<p><a href="https://i.stack.imgur.com/DWZWM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DWZWM.png" alt="enter image description here"></a></p>

<p>Here is the output of the publish website by Visual Studio:</p>

<p>------ Build started: Project: LangSite, Configuration: Release Any CPU ------
  LangSite -> C:\Users\Administrator\documents\visual studio 2013\Projects\LangSite_151209\LangSite_151209\bin\LangSite_151209.dll
------ Publish started: Project: LangSite, Configuration: Release Any CPU ------
Connecting to C:\Users\Administrator\Documents\LangTestSite...
Transformed Web.config using C:\Users\Administrator\documents\visual studio 2013\Projects\LangSite_151209\LangSite_151209\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp.
Publishing folder /...
Publishing folder Areas...
Publishing folder Areas/HelpPage...
Publishing folder Areas/HelpPage/Views...
Publishing folder Areas/HelpPage/Views/Help...
Publishing folder Areas/HelpPage/Views/Help/DisplayTemplates...
Publishing folder Areas/HelpPage/Views/Shared...
Publishing folder bin...
Publishing folder Content...
Publishing folder fonts...
Publishing folder Scripts...
Publishing folder Views...
Publishing folder Views/Home...
Publishing folder Views/Shared...
Site was published successfully file:///C:/Users/Administrator/Documents/LangTestSite</p>

<p>========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========</p>

<p>Here is the layout of the file folders in Visual Studio:</p>

<p><a href="https://i.stack.imgur.com/6jFym.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6jFym.png" alt="enter image description here"></a></p>

<p>And here is the file structure of the published site. Notice, no Images folder:</p>

<p><a href="https://i.stack.imgur.com/w60ou.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w60ou.png" alt="enter image description here"></a></p>

<p>When I try to go to the site, I get a page of broken links:
<a href="https://i.stack.imgur.com/lOCNN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lOCNN.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/6muCg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6muCg.png" alt="enter image description here"></a></p>

<p>Clearly I am not using the publish web project correctly, but I don't see any different way to do it. What am I doing wrong?</p>