Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Need to re-default output properties after writing $(OutputPath).#2091

Merged
eerhardt merged 1 commit into
dotnet:masterfrom
eerhardt:FixRefAssemblies
Jul 10, 2018
Merged

Need to re-default output properties after writing $(OutputPath).#2091
eerhardt merged 1 commit into
dotnet:masterfrom
eerhardt:FixRefAssemblies

Conversation

@eerhardt
Copy link
Copy Markdown
Member

@eerhardt eerhardt commented Jul 6, 2018

When using SDK-style projects, Microsoft.Common.targets are getting imported before buildtools' targets. Thus when we overwrite $(OutputPath), we need to also reset the other output properties.

Fixes the issue described here dotnet/corefx#29831 (comment)

When using SDK-style projects, Microsoft.Common.targets are getting imported before buildtools' targets. Thus when we overwrite $(OutputPath), we need to also reset the other output properties.
</PropertyGroup>

<PropertyGroup Condition="'$(IsReferenceAssembly)'=='true' AND '$(UsingMicrosoftNETSdk)'=='true'">
<!-- When not using Sdk-style projects, Microsoft.Common.CurrentVersion.targets,

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@eerhardt eerhardt closed this Jul 9, 2018
@eerhardt eerhardt reopened this Jul 9, 2018
Copy link
Copy Markdown
Member

@wtgodbe wtgodbe left a comment

Choose a reason for hiding this comment

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

LGTM

@mmitche
Copy link
Copy Markdown
Member

mmitche commented Jul 9, 2018

@dotnet-bot test this please

@mmitche mmitche closed this Jul 9, 2018
@mmitche mmitche reopened this Jul 9, 2018
@eerhardt eerhardt merged commit a829298 into dotnet:master Jul 10, 2018
eerhardt added a commit to eerhardt/corefx that referenced this pull request Jul 10, 2018
This workaround was necessary until dotnet/buildtools#2091 was merged. Now it can be removed.
eerhardt added a commit to dotnet/corefx that referenced this pull request Jul 10, 2018
This workaround was necessary until dotnet/buildtools#2091 was merged. Now it can be removed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants