make intermediate dir path shorter

pull/4531/head
Jan Tattermusch 9 years ago
parent 3f9fe46d4d
commit 6b20f6f46d
  1. 2
      templates/vsprojects/vcxproj_defs.include
  2. 1
      vsprojects/.gitignore

@ -78,6 +78,8 @@ ${gen_package_props(packages, repo_root)}\
<ProjectGuid>${project_guid if project_guid else project.vs_project_guid}</ProjectGuid> <ProjectGuid>${project_guid if project_guid else project.vs_project_guid}</ProjectGuid>
## Silence MSB8029 warning. See #4506 ## Silence MSB8029 warning. See #4506
<IgnoreWarnIntDirInTempDetected>true</IgnoreWarnIntDirInTempDetected> <IgnoreWarnIntDirInTempDetected>true</IgnoreWarnIntDirInTempDetected>
## Use different location for intermediate directory to make path shorter than 260 characters.
<IntDir>$(SolutionDir)IntDir\$(MSBuildProjectName)\</IntDir>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(VisualStudioVersion)' == '10.0'" Label="Configuration"> <PropertyGroup Condition="'$(VisualStudioVersion)' == '10.0'" Label="Configuration">

@ -9,3 +9,4 @@ test_bin
*.sdf *.sdf
third_party/*.user third_party/*.user
/packages /packages
/IntDir

Loading…
Cancel
Save