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

Dev remove roslyn nupkg ref #30

Merged
merged 2 commits into from Jan 23, 2018
Merged

Dev remove roslyn nupkg ref #30

merged 2 commits into from Jan 23, 2018

Conversation

Jinhuafei
Copy link
Contributor

Remove the dependency of Microsoft.Net.Compilers nupkg, instead embed the Roslyn bits inside CodeDomProvider nupkg. This will ensure VS always use the Roslyn compiler shipped with msbuild. Developer can also specify a path through the following msbuild property from which CodeDomProvider copies the Roslyn compilers to bin\roslyn folder.

[some path]

@Jinhuafei
Copy link
Contributor Author

@HongGit

</NuGetContent>
<NuGetContent Include="build\net46\*">
<Destination>build\net46</Destination>
</NuGetContent>
<NuGetContent Include="tools\*.ps1">
<Destination>tools\net45</Destination>
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason that this is the same as net45?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

anything under net45 folder will apply to project targeting 4.5+, if there is no other netxx folder in nupkg. The install.ps1 works in the same way no matter of the targeting framework.

<Destination>build\net45</Destination>
</NuGetContent>
<NuGetContent Include="build\net46\*">
<Destination>build\net46</Destination>
Copy link
Contributor

Choose a reason for hiding this comment

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

I am assuming this the latest you are referring later? So this should cover anything after 4.6, correct? If so, do you want to use latest here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

net46 folder name has special meaning in Nupkg. Check this.

@HongGit HongGit merged commit a23b559 into master Jan 23, 2018
@StephenMolloy StephenMolloy deleted the dev_RemoveRoslynNupkgRef branch July 8, 2020 21:50
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.

None yet

2 participants