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
Async partial method crashes emission of portable debug info #17934
Comments
/cc @tmat |
@Pilchie why is it Area-Interactive when it happens during any compilation? |
Generally |
@marek-safar This issue was fixed by #18724, in dev15.3. Please escalate to Jared if this is not a sufficient servicing approach. |
@marek-safar 15.3 includes C# 7.1 (async Main, default literal, inferred tuple names, ref assemblies, pattern-matching with generic types) and all the bug fixes since 15.0. Less than 5 compiler bugs met the bar for 15.1 or 15.2. As for pulling this fix into 15.2, I'll let @jaredpar comment. I'm not sure where that release is at. |
The 15.2 release is hard escrow at the moment. Getting this in for 15.2 seems very unlikely due to where we are in the release, the components involved and the size of the fix. If this is critical for 15.2 we need to begin escalating internally to the directors. |
Could we consider a hot fix as an alternative? Something we could give developers while 15.3 happens or while issues escalate? We have a number of developers that are running into this and can only get their code to build by reverting back to 15.1: |
The fix is readily available. Any of our 2.3.0-beta2 packages from our myget feed will have this fix already. For example here is todays build. I'm unsure how to distribute this patch to Xamarin Stuido though. Distributing to Visual Studio is fairly easy because one of our NuGet packages is designed specifically to patch csproj / vbproj files to use the compiler in the NuGet. I'm not sure how do to the same for Xamarin Studio. |
@jaredpar as I explained on several occasions this nuget is Windows only and won't easily work with VS4M, we also support command line scenarios which this does not address. We could replace Roslyn 2.0 RTM with this version of Roslyn on our Alpha channel for everyone if you have confidence it has good quality but I could not find any info what this version includes and what could potentially break. |
Understood. There are other NuGets on that feed. As we've also said on several occasions, if there is a NuSpec we could use to generate a VS4M image we'd be more than happy to do so. But we don't have the expertise to create it.
You just stated this won't work. So I don't understand how this helps. |
I perhaps misunderstood your point with the nuget where I though you suggested we tell the customers that the workaround is to add this nuget dependency to their project to fix the issue, which is the way VS does it if I remember correctly. Using our alpha channel is more disturbing as it affect anyone automatically on that channel hence I asked about the quality of that nuget and if you are confident about it so we can offer it to much wider audience automatically. |
Sorry for the misunderstanding here. That is the package that I give out the most. As you noted it's tailor made to patch into VS and unblock customers. Hence I just default to sending out a link to that package. Meant the link to be a general example of how to grab packages out of our nightly feed. All of our NuGets are available there and we produce them nightly. Hence anything you depend on will be available there.
The quality of our nightly feed in the master branch is very high. Subscribing to that feed and picking packages that have the version glob of We strive to keep the master branch ship ready for compiler at all times. In addition to building Roslyn on every check in, nightly we build all of Visual Studio with the latest NuGet package + run their validation tests. This helps us ensure we keep ourselves clean here. In particular now the quality is higher because we're in lock down for C# 7.1. 😄 |
Version Used:
2ba0d8f (master) - built locally on macOS.
Steps to Reproduce:
Compile the following code snippet with /debug:portable:
Expected Behavior:
No crash
Actual Behavior:
The text was updated successfully, but these errors were encountered: