Skip to content

Libraries native build fails on VS 16.5.0 Preview 1.0 with CMake 3.16.0-rc4 #149

Closed

Description

@safern

C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5
): error MSB8065: Custom build for item "P:\runtime\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\CMakeFiles\84e
020d515ecc51b04c20b308fc709be\INSTALL_force.rule" succeeded, but specified output "p:\runtime\artifacts\obj\native\netc
oreapp-windows_nt-debug-x64\cmakefiles\install_force" has not been created. This may cause incremental build to work in
correctly. [P:\runtime\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\install.vcxproj] [P:\runtime\src\libraries
Native\build-native.proj]

Same issue as: https://github.com/dotnet/corefx/issues/41077 which was fixed by
https://gitlab.kitware.com/cmake/cmake/issues/19737

We should investigate what changed and why it fails only in 3.16.0-* as with CMake 3.15.5 it doesn't fail.

cc: @jaredpar

Activity

  1. self-assigned this
    on Nov 20, 2019
  2. added
    untriaged
    on Nov 20, 2019
  3. removed
    untriaged
    on Nov 20, 2019
  4. added
    untriaged
    on Nov 20, 2019
  5. removed
    untriaged
    on Nov 20, 2019
  6. added
    untriaged
    on Nov 20, 2019
  7. removed
    untriaged
    on Nov 20, 2019
  8. added
    untriaged
    on Nov 20, 2019
  9. added
    untriaged
    and removed
    untriaged
    on Nov 20, 2019
  10. added
    untriaged
    on Nov 20, 2019
  11. removed
    untriaged
    on Nov 20, 2019
  12. added
    untriaged
    and removed
    untriaged
    on Nov 20, 2019
  13. safern commented on Dec 18, 2019

    @safern
    MemberAuthor

    I tried this out with latest VS Preview (v16.5.0-pre.2.0) and latest CMake 3.16.1 and it didn't repro. Please re-open if you hit this with a CMake version greater or equal than 3.15.5.

  14. deokershesh commented on Dec 24, 2019

    @deokershesh

    I am facing same issue, I am using CMake version 3.15.6, kindly refer issue #1014 , it may require to reopen this issue as well.

  15. safern commented on Dec 24, 2019

    @safern
    MemberAuthor

    @deokershesh what version of VS do you have?

  16. ghost locked as resolved and limited conversation to collaborators on Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions