Skip to content

Update tests to accommodate https://github.com/dotnet/msbuild/pull/9748 #39266

@KirillOsenkov

Description

@KirillOsenkov

This is to react to the failing tests after the latest MSBuild insertion:
#39093

The test failures have been caused by
dotnet/msbuild#9748

A detailed description of what is going on by @YuliiaKovalova is here:
dotnet/msbuild#9748 (comment)

@sbomer indicates that this is a problem in the way GetValuesCommand is implemented. This is a helper used by various SDK tests, to get the value of a specified property or item group. It does so by injecting a.WriteValuesToFile.g.targets file that defines a target to save the specified property to disk:

I think there's now a more modern way of getting values from evaluation (-getProperty) as well as an API? Let's investigate converting to that and see if it fixes the tests.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions