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

Consolidate GenerateTemporaryTargetAssembly in to a single task/target #3890

Closed
wants to merge 3 commits into from

Conversation

ryalanms
Copy link
Member

@ryalanms ryalanms commented Dec 9, 2020

Consolidate GenerateTemporaryTargetAssembly in to a single task/target

The original PR contained three new targets and tasks:

#3585

This change combines the two GenerateTemporaryTargetAssembly task/targets in to a single task/target.

A single property turns off the new PackageReference support (IncludePackageReferencesDuringMarkupCompilation = false) and enables the old behavior.

…d new temporary assembly compilation paths in to a single task
@ryalanms ryalanms requested a review from a team as a code owner December 9, 2020 00:13
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Dec 9, 2020
@ghost ghost requested review from fabiant3 and SamBent December 9, 2020 00:13
</PropertyGroup>

<Error Condition="Exists('$(_TempProjectNuGetExtensionsPath)')"
Text="$(_TempProjectNuGetExtensionsPath) should not exist. This is directory name is randomly generated for each temp project compilation." />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"This is directory name is randomly generated for each temp project compilation" should be
"This directory name is randomly generated for each temp project compilation"

{
try
{
File.Delete(TemporaryTargetAssemblyProjectName);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we check the TemporaryTargetAssemblyProjectName is null ?

[release/5.0] Support source generators in WPF projects (#3846) [5.0.2 servicing]
@ryalanms
Copy link
Member Author

ryalanms commented Jan 6, 2021

A similar fix went in to 5.0 servicing. That change will be moved to master instead.

@ryalanms ryalanms closed this Jan 6, 2021
@mmitche mmitche deleted the consolidateGTTAtasks branch January 13, 2021 14:46
@ghost ghost locked as resolved and limited conversation to collaborators Apr 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants