Skip to content

git clone; ./build.cmd fails #32483

@guylangston

Description

@guylangston

@benaadams suggest that I raise this issue as he had numerous reports from the wild:

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Infrastructure-coreclrOnly use for closed issuesuntriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions