Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0] IJW support in newer version of CMake breaks the build on empty TargetFramework #88806

Closed
carlossanlop opened this issue Jul 13, 2023 · 3 comments
Labels
arch-x86 area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jul 13, 2023

Error Blob

{
  "ErrorMessage": "",
  "BuildRetry": false,
  "ErrorPattern": "The TargetFramework value '' was not recognized\\..*ijw\\.vcxproj",
  "ExcludeConsoleLog": true
}

Reproduction Steps

##[error]src\native\corehost\corehost.proj(151,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x86 apphostver 7.0.10 hostver 7.0.10 fxrver 7.0.10 policyver 7.0.10 commit de74b98a4cda34218c05e78c238b272f0a2790b5 rid win-x86 portable incremental-native-build rootdir D:\a\_work\1\s\ msbuild runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.

And a few lines above:

  D:\a\_work\1\s\.dotnet\sdk\7.0.109\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(92,5): error NETSDK1013: The TargetFramework value '' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]

From a conversation with @hoyosjs , seems related to cmake.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=337257
Error message validated: The TargetFramework value '' was not recognized\..*ijw\.vcxproj
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/13/2023 12:45:27 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added arch-x86 os-windows area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 13, 2023
@carlossanlop carlossanlop added this to the 7.0.x milestone Jul 13, 2023
@ghost
Copy link

ghost commented Jul 13, 2023

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "rid win-x86 portable incremental-native-build rootdir",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

##[error]src\native\corehost\corehost.proj(151,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""D:\a\_work\1\s\src\native\corehost\build.cmd" Release x86 apphostver 7.0.10 hostver 7.0.10 fxrver 7.0.10 policyver 7.0.10 commit de74b98a4cda34218c05e78c238b272f0a2790b5 rid win-x86 portable incremental-native-build rootdir D:\a\_work\1\s\ msbuild runtimeflavor CoreCLR runtimeconfiguration Release" exited with code 1.

And a few lines above:

  D:\a\_work\1\s\.dotnet\sdk\7.0.109\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(92,5): error NETSDK1013: The TargetFramework value '' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]

From a conversation with @hoyosjs , seems related to cmake.

Author: carlossanlop
Assignees: -
Labels:

arch-x86, os-windows, area-Infrastructure-coreclr, blocking-clean-ci, untriaged, Known Build Error

Milestone: 7.0.x

@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 13, 2023
@ghost ghost added in-pr There is an active PR which will close this issue when it is merged and removed in-pr There is an active PR which will close this issue when it is merged labels Jul 13, 2023
@carlossanlop
Copy link
Member Author

Hit this in the branding PR for 7.0.11: #89801

@hoyosjs hoyosjs changed the title [7.0] Failure "rid win-x86 portable incremental-native-build rootdir" [7.0] IJW support in newer version of CMake breaks the build on empty TargetFramework Aug 1, 2023
@jkoritzinsky
Copy link
Member

Fixed in #88809

@ghost ghost locked as resolved and limited conversation to collaborators Oct 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x86 area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Projects
None yet
Development

No branches or pull requests

2 participants