You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Visual Studio 2019 and ability to build/debug a project that will target .NET 6 REL #5567
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).
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:
One example is Windows 7 SP1. Windows 7 SP1 is out of support, but enterprise customers can buy Extended Security Updates, and many do. Given the widespread use of Windows 7 in the .NET ecosystem we chose to include Windows 7 SP1 (with Extended Security Updates installed) as a supported platform for .NET 5.0.
Windows 7 Extended Security Updates 2022: January 12, 2022 - January 10, 2023
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?
@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?
And I still have no answer about OS support plans for MAUI for more than 3 month.
Even @davidortinau ignores my emails and this github topic..
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.
No support for Windows 7 SP1 with ESU - sad to hear, Uno project still supporting it..
Linux support will not be part of the .NET 6 release for .NET MAUI. It is under consideration for a future release
You are talking about plans for .NET 7, right?
Is it planned that .NET 7 development will be supported by Visual Studio 2019?
What are MS plans for Visual Studio 2021/2022/etc.?
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.
Debian 9 goes EOL (June 30, 2022) 7 month after .NET 6 planned release (November 2021). It is considered as "will go EOL early".
Windows 7 SP1 with ESU goes EOL (January 10, 2023) 14 month after .NET 6 planned release and is still supported. So it is considered as "will NOT go EOL so early".
Am I understanded correctly that Windows 7 SP1 with ESU will be very unlikely supported by .NET 7 (planned at November 2022)?
Or maybe MS already have plans for .NET 7 OS support?
@JacquelineWiddisVisual Studio 2019 16.9 is released and considered to be a new Servicing Baseline.
In Servicing Baseline docs there is an image:
Did I understand it correctly that Visual Studio 16.9 will be the penultimate baseline version (before last baseline version 16.final)?
Does this mean that .NET 6 LTS will be the last version that can be targeted by Visual Studio 2019?
Does .NET 7 development will be available exclusively in Visual Studio VNext?
changed the title [-]OS support plans for .NET 6 LTS (and MAUI) - Windows 7 SP1 and Debian 9[/-][+]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7 SP1 and Debian 9[/+]on Mar 3, 2021
changed the title [-]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7 SP1 and Debian 9[/-][+]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7SP1 and Debian 9[/+]on Mar 3, 2021
changed the title [-]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7SP1 and Debian 9[/-][+]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7 SP1 and Debian 9[/+]on Mar 3, 2021
Visual Studio 2022 will have full support for .NET 6 and its unified framework for web, client, and mobile apps for both Windows and Mac developers. That includes the .NET Multi-platform App UI (.NET MAUI) for cross-platform client apps on Windows, Android, macOS, and iOS. You can also use ASP.NET Blazor web technologies to write desktop apps via .NET MAUI.
Does .NET 6 development will be available exclusively in VS 2022 or it will be also possibe in latest versions of VS 2019?
What about plans for .NET 7?
@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.
@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.
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.
Warning NETSDK1182 appears in command line but allows me to build, run and debug applications with no issues.
That workaround is not officially supported by Microsoft but still working for today…
You can also add <LangVersion>preview</LangVersion> line to .csproj file to be able to use C# 9 features with Visual Studio 2019. C# 10 and above cannot be used with Visual Studio 2019.
@timheuer People are still adding comments to Developer Community feature demand asking to make .NET 6 LTS development available in Visual Studio 2019.
.NET 5 reaches end of support at 8 May 2022. Developers that use Visual Studio 2019 (whose companies doesn't plan to upgrade IDEs in near future) soon will have only two options: stay on unsupported (and potentially insecure) .NET 5 or downgrade to . NET 3.1 or even .NET Framewrok 4.8 (which is hardy acceptable). I really hope that Microsoft will carefully consider that proposal, reconsider current desicion and allow building and debugging .NET 6.0 LTS with VS 2019 16.11.x.
@timheuer People are still adding comments to Developer Community feature demand asking to make .NET 6 LTS development available in Visual Studio 2019. .NET 5 reaches end of support at 8 May 2022. Developers that use Visual Studio 2019 (whose companies doesn't plan to upgrade IDEs in near future) soon will have only two options: stay on unsupported (and potentially insecure) .NET 5 or downgrade to . NET 3.1 or even .NET Framework 4.8 (which is hardy acceptable). I really hope that Microsoft will carefully consider that proposal, reconsider current decision and allow building and debugging .NET 6.0 LTS with VS 2019 16.11.x.
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.
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?
Activity
bairog commentedon Feb 15, 2021
@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?
bairog commentedon Feb 18, 2021
@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?
And I still have no answer about OS support plans for MAUI for more than 3 month.
Even @davidortinau ignores my emails and this github topic..
mairaw commentedon Feb 18, 2021
Adding @leecow to see if he can comment on support plans as well
leecow commentedon Feb 18, 2021
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.
davidortinau commentedon Feb 18, 2021
.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. [email protected] or join one of the several discussions at https://github.com/dotnet/maui/discussions/
mairaw commentedon Feb 19, 2021
Closing the issue since I believe all questions were answered. Please let us know otherwise @bairog.
bairog commentedon Feb 19, 2021
@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?
Is it planned that .NET 7 development will be supported by Visual Studio 2019?
What are MS plans for Visual Studio 2021/2022/etc.?
bairog commentedon Feb 19, 2021
Debian 9 goes EOL (June 30, 2022) 7 month after .NET 6 planned release (November 2021). It is considered as "will go EOL early".
Windows 7 SP1 with ESU goes EOL (January 10, 2023) 14 month after .NET 6 planned release and is still supported. So it is considered as "will NOT go EOL so early".
Am I understanded correctly that Windows 7 SP1 with ESU will be very unlikely supported by .NET 7 (planned at November 2022)?
Or maybe MS already have plans for .NET 7 OS support?
bairog commentedon Mar 3, 2021
@JacquelineWiddis Visual Studio 2019 16.9 is released and considered to be a new Servicing Baseline.

In Servicing Baseline docs there is an image:
Did I understand it correctly that Visual Studio 16.9 will be the penultimate baseline version (before last baseline version 16.final)?
Does this mean that .NET 6 LTS will be the last version that can be targeted by Visual Studio 2019?
Does .NET 7 development will be available exclusively in Visual Studio VNext?
[-]OS support plans for .NET 6 LTS (and MAUI) - Windows 7 SP1 and Debian 9[/-][+]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7 SP1 and Debian 9[/+][-]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7 SP1 and Debian 9[/-][+]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7SP1 and Debian 9[/+][-]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7SP1 and Debian 9[/-][+]OS support plans for .NET 6, .NET 7 and MAUI - Windows 7 SP1 and Debian 9[/+]bairog commentedon Apr 20, 2021
@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?
What about plans for .NET 7?
20 remaining items
timheuer commentedon Nov 10, 2021
If you target net5.0 or lower you can use the .NET 6 SDK to still build them and target.
SymbioticKilla commentedon Nov 15, 2021
@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.
mairaw commentedon Nov 16, 2021
@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.
SymbioticKilla commentedon Nov 16, 2021
Hi @mairaw,
thank you for reply. No, the projects target .NET Core 3.1. The problem shows up after installing SDK 6.0.
I will try to report the issue.
timheuer commentedon Nov 16, 2021
@SymbioticKilla please report through VS Feedback and send me the link of the issue you reported...I'll route it accordingly.
SymbioticKilla commentedon Nov 17, 2021
@timheuer Thank you! https://developercommunity.visualstudio.com/t/VS2019--Installation-of-SDK-60-produce/1585314?space=8&q=vs2019+3.1&stateGroup=active
bairog commentedon Apr 13, 2022
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.
Warning NETSDK1182 appears in command line but allows me to build, run and debug applications with no issues.
That workaround is not officially supported by Microsoft but still working for today…
You can also add
<LangVersion>preview</LangVersion>line to .csproj file to be able to use C# 9 features with Visual Studio 2019. C# 10 and above cannot be used with Visual Studio 2019.@timheuer People are still adding comments to Developer Community feature demand asking to make .NET 6 LTS development available in Visual Studio 2019.
.NET 5 reaches end of support at 8 May 2022. Developers that use Visual Studio 2019 (whose companies doesn't plan to upgrade IDEs in near future) soon will have only two options: stay on unsupported (and potentially insecure) .NET 5 or downgrade to . NET 3.1 or even .NET Framewrok 4.8 (which is hardy acceptable). I really hope that Microsoft will carefully consider that proposal, reconsider current desicion and allow building and debugging .NET 6.0 LTS with VS 2019 16.11.x.
Applesauce314 commentedon Apr 20, 2022
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.
bairog commentedon Apr 21, 2022
@Applesauce314 Absolutelly agree.
Don't forget to leave a comment and vote on Developer Community feature demand - maybe Microsoft will finally hear us.
richlander commentedon Apr 22, 2022
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?
bairog commentedon Apr 22, 2022
Very disappointing to hear that this decision will not be changed.