You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Official build and CI builds failed with CMake Warning due to build agents updated VS #31888
I'm trying to build the latest master locally on windows 10, Visual Studio VS 2019, 16.4.1 and I'm getting this error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB8065: Custom build for item "C:\code\dotnet\runtime\artifacts\obj\native\netcoreapp5.0-Windows_NT-Debug-x64\CMakeFiles\a61efa86ec94e068b992e83ccf5bfaea\INSTALL_force.rule" succeeded, but specified output "c:\code\dotnet\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. [C:\code\dotnet\runtime\artifacts\obj\native\netcoreapp5.0-Windows_NT-Debug-x64\install.vcxproj] [C:\code\dotnet\runtime\src\libraries\Native\build-native.proj]
This seems to be the same error as #30845, but I have the code from the PRs in this pull request disabling warning as errors.
Please however note that this fix is specific to lab testing - it only modifies the yml scripts to pass around an extra parameter so it doesn't affect local builds. AFAIK our standard developer guidance is that building the dotnet/runtime repo requires CMake 3.15.5 or newer.
It was just that CMake was missing. It builds fine with the latest cmake installed. Might be nice to have a link from the building docs to the requirements page, that's what confused me. Should I open a PR for that.
changed the title [-]Official build failing with CMake Warning due to build agents updated VS[/-][+]Official build and CI builds failed with CMake Warning due to build agents updated VS[/+]on Feb 18, 2020
Activity
jkoritzinsky commentedon Feb 8, 2020
This is showing up now on the runtime-live-build pipeline.
robertpi commentedon Feb 12, 2020
Hello,
I'm trying to build the latest master locally on windows 10, Visual Studio VS 2019, 16.4.1 and I'm getting this error:
This seems to be the same error as #30845, but I have the code from the PRs in this pull request disabling warning as errors.
I don't have CMake installed, it's unclear whether this is still necessary. The instructions about building under windows, which where once here, seem to have been removed: dotnet/corefx@81c91fa#diff-4b7d5829731d454157a0e13d9d46da42
trylek commentedon Feb 12, 2020
@robertpi - I believe the updated build instructions for the consolidated runtime repo are at
https://github.com/dotnet/runtime/blob/master/docs/workflow/README.md
https://github.com/dotnet/runtime/blob/master/docs/workflow/requirements/windows-requirements.md
and related. I'm not sure what PR you are referring to. I fixed the issue for the runtime-live-build pipeline with
#31999
Please however note that this fix is specific to lab testing - it only modifies the yml scripts to pass around an extra parameter so it doesn't affect local builds. AFAIK our standard developer guidance is that building the dotnet/runtime repo requires CMake 3.15.5 or newer.
robertpi commentedon Feb 12, 2020
It was just that CMake was missing. It builds fine with the latest cmake installed. Might be nice to have a link from the building docs to the requirements page, that's what confused me. Should I open a PR for that.
ViktorHofer commentedon Feb 12, 2020
@robertpi we already document that in the following way:
[-]Official build failing with CMake Warning due to build agents updated VS[/-][+]Official build and CI builds failed with CMake Warning due to build agents updated VS[/+]