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

Can we move the Workspaces layer to .NET 4.6? #3166

Closed
amcasey opened this issue May 29, 2015 · 11 comments
Closed

Can we move the Workspaces layer to .NET 4.6? #3166

amcasey opened this issue May 29, 2015 · 11 comments

Comments

@amcasey
Copy link
Member

amcasey commented May 29, 2015

Does anyone have a scenario where they need to use Roslyn and 4.5.2 is available but 4.6 is not? It would be nice if we could use Array.Empty and update AsyncLazy to use a non-throwing API.

@amcasey amcasey added this to the 1.1 milestone May 29, 2015
@amcasey
Copy link
Member Author

amcasey commented May 29, 2015

FYI @pharring @jasonmalinowski

@amcasey
Copy link
Member Author

amcasey commented May 29, 2015

Related to #628.

@JoshVarty
Copy link
Contributor

I'm using the Workspaces stuff with people who have only installed VS2013. I believe this means I can only assume they've got up to .Net 4.5.1 installed. (I'm basing this on: https://msdn.microsoft.com/en-ca/vstudio/dn250998.aspx)

I think OzCode is supporting VS2013 as well.

@pharring
Copy link
Contributor

@JoshVarty Thanks for the info. Note that, as of PR #1632 (March 30th), your users will need to have 4.5.2 installed. Most users should already have 4.5.2 because it was pushed out via Windows Update earlier this year.

Note that this is tagged for milestone 1.1, so we're definitely not changing it for VS 2015 RTM (stabilization branch)
We anticipate that 4.6 will be pushed out via Windows Update, shortly after VS 2015 RTM. Once, that happens, if we haven't already moved, I think we'd want to revisit this. I guess the question is whether we can move sooner than that in the "master" branch, since we've already started 1.1 work there.

@JoshVarty
Copy link
Contributor

@pharring Did #1632 make it into RC? (I see it was made before some RC commits, but I don't know how to track down whether or not it was actually merged in)

If you guys are confident that 4.6 will be pushed out via Windows update by the time 1.1 releases, switching now sounds reasonable to me. :)

@ghost
Copy link

ghost commented May 29, 2015

I don't know how to track down whether or not it was actually merged in

git bisect is the answer:

man page: https://www.kernel.org/pub/software/scm/git/docs/git-bisect.html
How to use git bisect: http://stackoverflow.com/q/4713088
In-action example: sass/libsass#1216 (comment)

PS: git is more than just a source-control. It is like a whole Operating System! 💻

@pharring
Copy link
Contributor

It should be noted that the main Workspaces assembly, Microsoft.CodeAnalysis.Workspaces.dll, is portable and so targets the portable framework 4.5. There's a strong desire to move that to CoreCLR 4.6, along with the rest of the compiler layer, when that framework becomes available.

The desktop assembly, Microsoft.CodeAnalysis.Workspaces.Desktop.dll (containing MSBuildWorkspace, primarily), currently targets desktop 4.5.2 although I don't believe that made it into Dev14 RC. I'm checking (and, no, I'm not using git bisect). The simplest way to check is with ildasm and look for the TargetFrameworkAttribute on the assembly.

@pharring
Copy link
Contributor

Confirmed: The change to 4.5.2 did NOT make it into Dev14 RC.

@jaredpar
Copy link
Member

The POR is to move Workspaces and below to 4.6 in the future branch at some point very soon after RTM. I don't think we can move it to 4.6 in master due to the potentially for breaking customers.

@jaredpar jaredpar modified the milestones: 2.0, 1.1 Aug 5, 2015
@jaredpar jaredpar removed their assignment Nov 23, 2015
@jaredpar jaredpar removed this from the 2.0 milestone Nov 23, 2015
@Pilchie Pilchie added this to the 2.0 milestone Dec 4, 2015
@DustinCampbell DustinCampbell modified the milestones: 2.0 (RC), 2.0 (Preview) Mar 9, 2016
@Pilchie Pilchie modified the milestones: 2.0 (RC), 2.0 (Preview 5) Sep 16, 2016
@Pilchie
Copy link
Member

Pilchie commented Sep 22, 2016

Moving to compilers - all of the VS and workspaces code already targets 4.6. I think you want to update the portable pieces to netstandard 2.0 and the non-portable to 4.6.1 in RC though?

@jaredpar
Copy link
Member

@Pilchie NetStandard is portable so I don't get your portable / non-portable break down.

@gafter gafter added this to the 2.1 milestone Sep 26, 2016
@jaredpar jaredpar closed this as completed Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants