use 4.2 version of the compiler to build#60065
Conversation
|
@sharwell I want to tag you on this in case there is something I am missing about why we can't just make this change. |
|
gol darn it you are right. can you block this PR? I just checked the internal schedule and we need to wait jus' a bit. |
RikkiGibson
left a comment
There was a problem hiding this comment.
just wait a little longer. Also, we can do this by updating SDK, code style packages etc.
|
Can someone explain why we need to wait for preview 2, when it works in preview 1? |
MicrosoftNetCompilersToolsetVersion overrides the SDK version. |
sharwell
left a comment
There was a problem hiding this comment.
This is a fairly standard change for us.
If this really does what we are expecting it to do (enable use of raw string literals) then I don't have an objection to taking it.
|
/azp run roslyn-integration-CI |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run roslyn-integration-corehost |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Preview 2 is out merging... |
|
@jmarolf is there a version of the SDK that our non-VS users (me) can use here? |
|
shouldn't need anything on the omnisharp side, what errors are you seeing? |
I'm assuming that I will see errors. Haven't actually tried yet though. |
|
Ok, I gave it a try. Raw string literals are not recognized. |
|
ok, might need to talk with @JoeRobich about this one. My expectation is that if we set roslyn/.devcontainer/devcontainer.json Line 40 in 159eea2 So we should just need to update roslyn/.devcontainer/devcontainer.json Line 56 in 159eea2 @333fred can you test setting |
|
@jmarolf and I are looking offline, but the short answer is no, this does not work. We need to avoid using raw string literals and other new C# preview features for the moment. |
|
yeah, will need to block PRs for a bit until the new Omnisharp build comes out. |
|
Does this mean that OmniSharp uses its own in-box compiler even when it's using a runtime given by DOTNET_ROOT or similar? |
|
Yes. |
This brings us to the latest public preview of VS and allows the use of new features like raw string literals.