Skip to content

[ArPow] Build msbuild for net472 and remove dependency on VS component#12472

Merged
MichaelSimons merged 2 commits into
dotnet:release/6.0.1xxfrom
dseefeld:fixMsBuild
Oct 21, 2021
Merged

[ArPow] Build msbuild for net472 and remove dependency on VS component#12472
MichaelSimons merged 2 commits into
dotnet:release/6.0.1xxfrom
dseefeld:fixMsBuild

Conversation

@dseefeld
Copy link
Copy Markdown

@dseefeld dseefeld requested a review from a team as a code owner October 20, 2021 22:02
Comment on lines +4 to +7
Subject: [PATCH] Restore building all TFMs for source-build to support NuGet
to support templating.

---
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there an issue letting MSBuild know about this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No, We should push this to msbuild once we get the must have's for GA.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok, I'll work on that. (I don't think this needs to block the PR, in the interest of getting a build through.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'll work on that

Specifically, writing up an issue. 😄

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="all"/>
- <PackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" Version="15.0.15" PrivateAssets="All" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
+ <PackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" Version="15.0.15" PrivateAssets="All" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(DotNetBuildFromSource)' != 'true'" />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this really necessary, with the directory being excluded in the src/Samples/Directory.Build.props change?

This seems to be about Microsoft.VisualStudio.SDK.EmbedInteropTypes rather than MS.VS.Setup.Configuration.Interop, should it go into its own patch?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Removed.

Comment on lines +4 to +6
Subject: [PATCH] Remove dependency on MS.VS.Setup.Configuration.Interop

---
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Link to issue with details?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Added.

@MichaelSimons
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants