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

Avoid RuntimeInformation on full sln parse #3283

Conversation

rainersigwald
Copy link
Member

We started (transitively) requiring
System.Runtime.InteropServices.RuntimeInformation when using
SolutionFile.Parse after #2963. The assembly-level dependency is
longstanding. But since it wasn't needed in NuGet's calling pattern,
many versions of NuGet are broken on older (pre-4.7.1) .NET Frameworks.

Work around the assembly load by avoiding the adjustment filepath on
full-Framework MSBuild (where it's not necessary anyway).

Closes #3282.

We started (transitively) requiring
System.Runtime.InteropServices.RuntimeInformation when using
`SolutionFile.Parse` after dotnet#2963. The assembly-level dependency is
longstanding. But since it wasn't needed in NuGet's calling pattern,
many versions of NuGet are broken on older (pre-4.7.1) .NET Frameworks.

Work around the assembly load by avoiding the adjustment filepath on
full-Framework MSBuild (where it's not necessary anyway).

Closes dotnet#3282.
@rainersigwald
Copy link
Member Author

fyi @radical @rrelyea @zhili1208

@rainersigwald
Copy link
Member Author

Approved for VS servicing and .NET Core SDK 2.1.300.

@rainersigwald rainersigwald merged commit ac19036 into dotnet:vs15.7 May 11, 2018
@rainersigwald rainersigwald deleted the avoid-RuntimeInformation-on-solution-load branch May 11, 2018 17:41
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.

4 participants