Repository navigation
Closed
Labels
area-Infrastructure-coreclrOnly use for closed issuesuntriagedNew issue has not been triaged by the area owner
Description
@benaadams suggest that I raise this issue as he had numerous reports from the wild:
- https://twitter.com/ben_a_adams/status/1229750159095009280
- https://twitter.com/ben_a_adams/status/1228334444525891584
Steps to reproduce:
git clone https://github.com/dotnet/runtime.git./build.sh
Results in error:
Build FAILED.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB8065: Custom build for item "E:\Projects\runtime\artifacts\obj\native\netcoreapp5.0-Windows_NT-Debug-x64\CMakeFiles\f69e234f9a3a26126514dd267f0ee80f\INSTALL_force.rule" succeeded, but specified output "e:\projects\runtime\artifacts\obj\native\netcoreapp5.0-windows_nt-debug-x64\cmakefiles\install_force" has not been created. This may cause incremental build to work incorrectly. [E:\Projects\runtime\artifacts\obj\native\netcoreapp5.0-Windows_NT-Debug-x64\install.vcxproj] [E:\Projects\runtime\src\libraries\Native\build-native.proj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB8065: Custom build for item "E:\Projects\runtime\artifacts\obj\native\netcoreapp5.0-Windows_NT-Debug-x64\CMakeFiles\f69e234f9a3a26126514dd267f0ee80f\INSTALL_force.rule" succeeded, but specified output "e:\projects\runtime\artifacts\obj\native\netcoreapp5.0-windows_nt-debug-x64\cmakefiles\install_force" has not been created. This may cause incremental build to work incorrectly. [E:\Projects\runtime\artifacts\obj\native\netcoreapp5.0-Windows_NT-Debug-x64\install.vcxproj] [E:\Projects\runtime\src\libraries\Native\build-native.proj]
0 Warning(s)
2 Error(s)
Time Elapsed 00:21:44.90
(NETCORE_ENGINEERING_TELEMETRY=Category) Build failed.
Environment
- Windows10
- Visual Studio 16.4.5
(Let me know what addition information you need) - git source:
e7cd7bc1227a74d8e71226bf60a5969c8d57021f (HEAD -> master, origin/master, origin/HEAD) [master] Update dependencies from mono/linker dotnet/arcade (#32472)
Work-Around
$ echo "" > "e:\projects\runtime\artifacts\obj\native\netcoreapp5.0-windows_nt-debug-x64\cmakefiles\install_force"
$ ./build.sh
Build succeeded.
0 Warning(s)
0 Error(s)
Reacted by Ben {chmark} Adams, Guy Langston and Maksim Burtsev
Metadata
Metadata
Assignees
Labels
area-Infrastructure-coreclrOnly use for closed issuesuntriagedNew issue has not been triaged by the area owner
Activity
vcsjones commentedon Feb 18, 2020
I ran in to this when my installed cmake version was below 3.15.5. Are you using a version of cmake that is older than that?
@jkoritzinsky
guylangston commentedon Feb 18, 2020
cmake version 3.15.19101501-MSVC_2
vcsjones commentedon Feb 18, 2020
@guylangston
@jkoritzinsky can probably confirm but the last I understood, the version of cmake that ships with Visual Studio is a little out of date. Can you try downloading the latest version, ensure it is on your PATH (make sure
cmake --versionoutput is the one you just installed), and seeing if that resolves the issue?https://github.com/dotnet/runtime/blob/master/docs/workflow/requirements/windows-requirements.md#cmake
guylangston commentedon Feb 18, 2020
Then:
@vcsjones Looks like you were correct.
danmoseley commentedon Feb 18, 2020
https://github.com/dotnet/runtime/blob/master/docs/workflow/requirements/windows-requirements.md#cmake specifies 3.15.5 -- one would think that "3.15.19101501-MSVC_2" would meet that criterion but I'm guessing that 19101501 is not actually the 19 millionth revision of 3.15 and is just some unusual versioning scheme.
Closing since this seems resolved.