Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Apr 14, 2021

The UsingTasks cause problems when the .NET SDK targets are imported but
the props are not, since ILLinkTasksAssembly is only defined when the .NET SDK
props are imported.

This is a a slightly broader fix for issues like #16725,
since I'm concerned that scenarios other than C++/CLI may be similar.

A more correct fix would be to consistently import the .NET props and
targets, but this should at least prevent issues when the unused targets
are imported.

The UsingTasks cause problems when the .NET SDK targets are imported but
the props are not, since ILLinkTasksAssembly is only defined when the .NET SDK
props are imported.

This is a a slightly broader fix for issues like dotnet#16725,
since I'm concerned that scenarios other than C++/CLI may be similar.

A more correct fix would be to consistently import the .NET props and
targets, but this should at least prevent issues when the unused targets
are imported.
@ghost
Copy link

ghost commented Apr 14, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants