title: "The OutputPath property is not set for project" when OutputPath is set
body: <p>In MVC4, if I create a new build configuration for all projects in a solution, I get the following when building the web .csproj alone:</p>
  
  <pre><code>msbuild Company.Directory.Web.csproj /p:Configuration=Dev
  </code></pre>
  
  <blockquote>
    <p>[Error]
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(483,
    9): The OutputPath property is not set for project
    'Company.Directory.Web.csproj'.  Please check to make sure that you
    have specified a valid combination of Configuration and Platform for
    this project.  Configuration='Dev'  Platform='AnyCPU'.  You may be
    seeing this message because you are trying to build a project without
    a solution file, and have specified a non-default Configuration or
    Platform that doesn't exist for this project.</p>
  </blockquote>
  
  <p>However, the <code>OutputPath</code> property is set!</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Dev|AnyCPU'"&gt;
      &lt;DebugSymbols&gt;true&lt;/DebugSymbols&gt;
      &lt;OutputPath&gt;bin\&lt;/OutputPath&gt;
      &lt;DefineConstants&gt;DEBUG;TRACE&lt;/DefineConstants&gt;
      &lt;DebugType&gt;full&lt;/DebugType&gt;
      &lt;PlatformTarget&gt;AnyCPU&lt;/PlatformTarget&gt;
      &lt;ErrorReport&gt;prompt&lt;/ErrorReport&gt;
      &lt;CodeAnalysisIgnoreBuiltInRuleSets&gt;false&lt;/CodeAnalysisIgnoreBuiltInRuleSets&gt;
      &lt;CodeAnalysisIgnoreBuiltInRules&gt;false&lt;/CodeAnalysisIgnoreBuiltInRules&gt;
      &lt;DeployIisAppPath&gt;Port 80/directory/dev&lt;/DeployIisAppPath&gt;
    &lt;/PropertyGroup&gt;
    &lt;Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /&gt;
    &lt;PropertyGroup&gt;
      &lt;Configuration Condition=" '$(Configuration)' == '' "&gt;Debug&lt;/Configuration&gt;
      &lt;Platform Condition=" '$(Platform)' == '' "&gt;AnyCPU&lt;/Platform&gt;
      &lt;ProductVersion&gt;
      &lt;/ProductVersion&gt;
      &lt;SchemaVersion&gt;2.0&lt;/SchemaVersion&gt;
      &lt;ProjectGuid&gt;{285FBF79-7933-4AF9-AAAF-25EE7734AAAA}&lt;/ProjectGuid&gt;
      &lt;ProjectTypeGuids&gt;{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}&lt;/ProjectTypeGuids&gt;
      &lt;OutputType&gt;Library&lt;/OutputType&gt;
      &lt;AppDesignerFolder&gt;Properties&lt;/AppDesignerFolder&gt;
      &lt;RootNamespace&gt;Company.Directory.Web&lt;/RootNamespace&gt;
      &lt;AssemblyName&gt;Company.Directory.Web&lt;/AssemblyName&gt;
      &lt;TargetFrameworkVersion&gt;v4.0&lt;/TargetFrameworkVersion&gt;
      &lt;MvcBuildViews&gt;false&lt;/MvcBuildViews&gt;
      &lt;UseIISExpress&gt;true&lt;/UseIISExpress&gt;
      &lt;SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'"&gt;..\&lt;/SolutionDir&gt;
      &lt;RestorePackages&gt;true&lt;/RestorePackages&gt;
    &lt;/PropertyGroup&gt;
    &lt;!-- ... --&gt;
  </code></pre>
  
  <p><strong>Is this a bug? How can I fix it?</strong></p>