Skip to content

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

Closed
@carlossanlop

Description

@carlossanlop

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions