-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Visual Studio 2019 and ability to build/debug a project that will target .NET 6 REL #5567
Comments
@davidortinau You've asked about user experience and MAUI expectations The New .NET Multi-platform App UI article. I've wrote you an email almost a week ago - still no reponse. Any uptades on this? |
@richlander According to latest announcement and this NET 6.0 supports Windows 7 SP1 (Extended Security Updates EOL – January 10, 2023) but drops supporting Debian 9 (EOL is June 30, 2022) if compared to .NET 5. What is the reason for this decision? |
Adding @leecow to see if he can comment on support plans as well |
With respect to the Debian 9 decision, our general process is to exclude support for an OS version when that version will go EOL early in the new .NET version lifecycle. I haven't had any discussions with @davidortinau about MAUI OS support plans and expectations yet so can't offer anything on that topic. |
.NET MAUI will support what WinUI 3 offers for Windows. https://microsoft.github.io/microsoft-ui-xaml/about.html#controls Additional platform and version information is available here https://github.com/dotnet/maui#xamarinforms-vs-net-maui Linux support will not be part of the .NET 6 release for .NET MAUI. It is under consideration for a future release, so please connect with me so we can better understand your needs for .NET MAUI and Linux. david.ortinau@microsoft.com or join one of the several discussions at https://github.com/dotnet/maui/discussions/ |
Closing the issue since I believe all questions were answered. Please let us know otherwise @bairog. |
@mairaw my questions about Visual Studio IDE are still unanswered..
No support for Windows 7 SP1 with ESU - sad to hear, Uno project still supporting it..
You are talking about plans for .NET 7, right? |
Debian 9 goes EOL (June 30, 2022) 7 month after .NET 6 planned release (November 2021). It is considered as "will go EOL early". |
@JacquelineWiddis Visual Studio 2019 16.9 is released and considered to be a new Servicing Baseline. |
@JacquelineWiddis @madskristensen @timheuer Visual Studio 2022 is announced and it is stated that
Does .NET 6 development will be available exclusively in VS 2022 or it will be also possibe in latest versions of VS 2019? |
.NET Hot Reload was announced today and it is stated that
@LyalinDotCom maybe you can clarify MS intentions: does .NET 6 (I mean final version, not preview) development will be available exclusively in Visual Studio 2022 or it will be also possibe in future versions of Visual Studio 2019? |
@bairog Yes the current plan is that Visual Studio 2022 will be the supported tool version for .NET 6 development (when final as you note). |
@timheuer @mikadumont I think Microsoft should reconsider that plan and make .NET 6 (final version) development available both for Visual Studio 2019 and 2022 (latter may have more rich tooling and have more capabilities for example). |
I can't understand why the dotnet team interested in Drop OS(eg. Devs, Enterprise, customers) , why can not you guys make thin native layer to make OS support easier ? I mean look at Java, they never try to drop any OS in the past/ now / future !!!! |
@JacquelineWiddis @madskristensen @timheuer @mikadumont @richlander .NET 6 Preview 6 is announced and it is stated that
But what exactly does it mean? Visual Studio 2022 is tested and supported in addittion to Visual Studio 2019? |
You can see in the download page @bairog what's the minimum version of VS supported: |
On that page for example .NET 6.0.0-preview.5 has some strange VS version Visual Studio 2019 (v17.0 latest preview). Misprint? P.S. According to Visual Studio 2019 16.11 Preview 2 announce
Please make .NET 6.0 final available both for Visual Studio 2019 version 16.11 and Visual Studio 2022. Visual Studio 2022 may have more rich tooling for example. But Visual Studio 2019 version 16.11 should be able to build and debug a project targeting NET 6 final. It is not good practice for a later .NET6 preview to drop support of IDE that was supported in the previous .NET6 preview. Moreover, Visual Studio 2019 is stable and supported in production use. Visual Studio 2022 by contrast is in an early preview and is unlikely to be stable and production-ready until November 2021, when the final version of .NET 6 is released. Hope MS will hear me and understand my argumentation . |
#6485 is created to correct the VS support version for .NET 6 Preview 5 |
I perfectly understand (at least it looks like this) that Microsoft plans to release Visual Studio 2019 version 16.11 (the final planned minor version) sometime in August-September, and then concentrate all its efforts on polishing Visual Studio 2022 and .NET 6 until their joint final release in November. |
Tagging @jamshedd to help with this question. |
There were many questions in this thread so which one were you particularly thinking about :) I will take the Win7 one - while this is by no means a final decision yet it is likely .NET 7 will not support Win7 since we would be shipping .NET 7 very close (Nov 2022) to when Win7 ESU ends (Jan 2023). But there are many factors that go into the decision including the portion of customers actively using Win7 at that point. We should have something to share around that next year. Regarding VS support, as Tim already mentioned .NET 6 development (and also .NET7, etc.) will be supported on Visual Studio 2022. |
Very sad to hear. .NET 6 preview 4 development was supported on Visual Studio 2019 16.11 preview. Starting from .NET 6 preview 5 onwards only Visual Studio 2022 preview is supported. It is not good practice to drop support of IDE between adjacent previews. P. S. Since Visual Studio 2019 16.11 was released yesterday - looks like it's final MS decision concerning .NET 6. |
We tested the preview of .NET on top of the preview of 16.x builds because VS 2022 wasn't even yet available. As soon as it was and where we've been focusing our support for best experiences with tooling capabilities, we made that change and announced in our release blogs. We're making specific tooling investments for .NET 6 scenarios in VS2022 across different aspects of IDE scenarios. |
I know. I read MS devblogs regularly.
@timheuer Let me clarify once again: I'm not talking about tooling capabilites parity for VS 2022 and VS 2019. I'm only asking for build and debug capability (regarding .NET 6 REL in VS 2019). VS 2019 16.11 today allows to compile a project with net6.0 TFM (even with the latest .NET 6 preview 7 SDK) and then attach a debuger to a running process. And I'm trying to convince you to preserve this two simple funtionalities also for .NET 6 REL. |
@timheuer @jamshedd @mairaw
|
This is correct the runtime platforms now have a go-live license. VS 2022 Preview 4 is the recommended tool for .NET 6 rc1 still. The tools are still in preview as you note and this is very common given platforms lock down a bit before giving tools some more time to finish support for final runtime APIs, scenarios, packages, naming, etc. We are still finishing VS features for .NET 6 around areas like hot reload, editor support for new C# 10 Lang features, and more. In general VS is more than just the current runtime release and so many features across the IDE are still finishing and this is not uncommon to have a platform have a go-live license for deployment while an IDE is still in preview. In fact as you and other devs use VS2022 for development please keep logging feedback bugs from VS for things that may not be working for your project/scenarios. We are still working on finishing and improving quality for .NET 6 projects but for many more things across the IDE. |
@timheuer @jamshedd @mairaw
Could you clarify what exactly does phrase You can use the .net 6 SDK to target downlevel runtimes in 16.11 mean? |
If you target net5.0 or lower you can use the .NET 6 SDK to still build them and target. |
@timheuer @jamshedd @mairaw There is a problem with NET Analyzers in VS2019 + NET 6.0 SDK is installed: Warning CS8032 An instance of analyzer Microsoft.CodeAnalysis.MakeFieldReadonly.MakeFieldReadonlyDiagnosticAnalyzer cannot be created from C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\codestyle\cs\Microsoft.CodeAnalysis.CodeStyle.dll: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Will it be fixed or is there any workaround? VS2019 should actually use lower version for analyzing. |
@SymbioticKilla is your project targeting .NET 6 or earlier versions? If targeting .NET 6, you need to use Visual Studio 2022. But typically, VS issues should be reported through Help > Send Feedback > Report a Problem to help us triage issues better. |
Hi @mairaw, thank you for reply. No, the projects target .NET Core 3.1. The problem shows up after installing SDK 6.0. |
@SymbioticKilla please report through VS Feedback and send me the link of the issue you reported...I'll route it accordingly. |
@timheuer Thank you! https://developercommunity.visualstudio.com/t/VS2019--Installation-of-SDK-60-produce/1585314?space=8&q=vs2019+3.1&stateGroup=active |
BTW. For today I was able to build and debug my test .NET 6.0 applications (at least Class Library, Console, WinForms and WPF) with latest Visual Studio 2019 16.11.12 by enabling Environment->Preview Features->Use previews of the .NET SDKs (requires restart) checkbox in VS 2019 options, creating a new project targeting .NET 5.0 and then manually setting tag to net6.0 in .csproj. @timheuer People are still adding comments to Developer Community feature demand asking to make .NET 6 LTS development available in Visual Studio 2019. |
Even if you downgrade to 3.1 Core that reaches end of support in December 2022 (.Net Core Lifecycle). The support for Visual Studio 2019 v16.11 is listed to be until 2029 (VS 2019 Product Lifecycle) so if things remain as they currently are you will be unable to target a supported .Net version for the last 7 years of its lifecycle. (Ironically .NET Framework is still supported since its lifecycle is tied to Windows). As it stands the latest LTS version of visual studio available on November 7, 2021, will be unable to target .Net in a supported manner 11 months and 26 days later. |
@Applesauce314 Absolutelly agree. |
We are not going to support .NET 6 with Visual Studio 2019. This decision will not be changed. You need to use Visual Studio 2022 for .NET 6. I appreciate that some companies have not upgraded to that version. Is it possible to close this issue given that clarity? |
Very disappointing to hear that this decision will not be changed. |
UPDATE
For today latest Visual Studio 2019 (16.11.x) doesn't officially support .NET 6 development. Possible workround is described here.
As .NET 5.0 reaches EOL in 05.2022 and .NET Core 3.1 - in 12.2022 (.Net Core Lifecycle) so Visual Studio 2019 will be unable to target .NET in a supported manner. But Visual Studio 2019 16.11 itself is supported untill 2029 (VS 2019 Product Lifecycle).
I've created Developer Community feature demand asking to make .NET 6 LTS development available in Visual Studio 2019.
ORIGINAL POST
Is it planned to support Windows 7 SP1 and Debian 9 by .NET 6 LTS (and MAUI)?
According to .NET Core Supported OS Lifecycle Policy block Exceptions to the supported platform policy:
According to Lifecycle FAQ - Extended Security Updates block ESU Availability and End Dates:
Debian 9 EOL is June 30, 2022.
So are you planning to support both operating systems by .NET 6 LTS (and MAUI)?
Thank you.
P. S. Are you planning to support .NET 6 LTS (and MAUI) development with Visual Studio 2019? Or it will be an upcoming Visual Studio 2021-only feature? Or maybe you don't have plans to release a new Visual Studio version in 2021?
The text was updated successfully, but these errors were encountered: