Skip to content

Remove unneeded message printed in case of Tizen build#129572

Open
gbalykov wants to merge 1 commit into
dotnet:mainfrom
gbalykov:remove-unneeded-message
Open

Remove unneeded message printed in case of Tizen build#129572
gbalykov wants to merge 1 commit into
dotnet:mainfrom
gbalykov:remove-unneeded-message

Conversation

@gbalykov

@gbalykov gbalykov commented Jun 18, 2026

Copy link
Copy Markdown
Member

Without this change output of cmake -P eng/native/output-toolchain-info.cmake is not in xml format, and this breaks build of src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj

/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018: The "XmlPeek" task failed unexpectedly. /home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object.
/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018:    at Microsoft.Build.Tasks.XmlPeek.Execute()
/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
    0 Warning(s)
    1 Error(s)

Without this change output of "cmake -P eng/native/output-toolchain-info.cmake" is not in xml format,
and this breaks build of src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj

/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018: The "XmlPeek" task failed unexpectedly.
/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object.
/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018:    at Microsoft.Build.Tasks.XmlPeek.Execute()
/home/runtime/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj(74,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask)
    0 Warning(s)
    1 Error(s)
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates that the PR has been added by a community member label Jun 18, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Runtime.InteropServices community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant