Skip to content

Use Microsoft.NetFX20 package in ResultProviders - #720

Merged
tmat merged 4 commits into
dotnet:masterfrom
tmat:master
Feb 20, 2015
Merged

Use Microsoft.NetFX20 package in ResultProviders#720
tmat merged 4 commits into
dotnet:masterfrom
tmat:master

Conversation

@tmat

@tmat tmat commented Feb 20, 2015

Copy link
Copy Markdown
Member

Microsoft.NetFX20 package provides a reference assembly for mscorlib 2.0. Use it in ResultProviders instead of referencing mscorlib 2.0 installed on the machine.

Also remove a reference to System.dll.

@tmat

tmat commented Feb 20, 2015

Copy link
Copy Markdown
Member Author

@amcasey @KevinH-MS

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.

Sanity check: it will still run on 2.0?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, this is only the version of tools that are used. The properties set below make sure that msbuild doesn't try to apply implicitly generated stuff for 4.5.

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.

You might want to add a comment here that the TFV here is actually a lie.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

@amcasey

amcasey commented Feb 20, 2015

Copy link
Copy Markdown
Member

The parts I understood LGTM. :)

@tmat

tmat commented Feb 20, 2015

Copy link
Copy Markdown
Member Author

@jasonmalinowski to review the msbuild hackery :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copyright?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would change the comment to something like:

// A few dependencies from System.dll...we will avoid referencing the full library to promote portability...

@KevinH-MS

Copy link
Copy Markdown
Contributor

LGTM :shipit:

@jasonmalinowski

Copy link
Copy Markdown
Member

I'm not sure "looks good" is something I can really say given the abuse this is applying to the poor project system. So we'll go with 😬 instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

More specific comment about VB auto importing this would be useful then.

tmat added a commit that referenced this pull request Feb 20, 2015
Use Microsoft.NetFX20 package in ResultProviders
@tmat
tmat merged commit bf43519 into dotnet:master Feb 20, 2015
dibarbet pushed a commit that referenced this pull request Aug 18, 2026
Use MSBuildProjectFile instead of MSBuildProjectFullPath
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.

5 participants