Skip to content

Visual Studio 2019 and ability to build/debug a project that will target .NET 6 REL #5567

Closed

Description

@bairog

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:

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.

According to Lifecycle FAQ - Extended Security Updates block ESU Availability and End Dates:

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?

Activity

  1. bairog commented on Feb 15, 2021

    @bairog
    Author

    @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?

  2. bairog commented on Feb 18, 2021

    @bairog
    Author

    @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..

  3. mairaw commented on Feb 18, 2021

    @mairaw
    Contributor

    Adding @leecow to see if he can comment on support plans as well

  4. leecow commented on Feb 18, 2021

    @leecow
    Member

    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.

  5. davidortinau commented on Feb 18, 2021

    @davidortinau
    Contributor

    .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/

  6. mairaw commented on Feb 19, 2021

    @mairaw
    Contributor

    Closing the issue since I believe all questions were answered. Please let us know otherwise @bairog.

  7. bairog commented on Feb 19, 2021

    @bairog
    Author

    @mairaw my questions about Visual Studio IDE are still unanswered..

    .NET MAUI will support what WinUI 3 offers for Windows. https://microsoft.github.io/microsoft-ui-xaml/about.html#controls

    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.?

  8. bairog commented on Feb 19, 2021

    @bairog
    Author

    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?

  9. reopened this on Feb 19, 2021
  10. bairog commented on Mar 3, 2021

    @bairog
    Author

    @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?

  11. 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
  12. 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
  13. 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
  14. bairog commented on Apr 20, 2021

    @bairog
    Author

    @JacquelineWiddis @madskristensen @timheuer Visual Studio 2022 is announced and it is stated that

    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?

  15. 20 remaining items

  16. timheuer commented on Nov 10, 2021

    @timheuer

    You can use the .net 6 SDK to target downlevel runtimes in 16.11

    If you target net5.0 or lower you can use the .NET 6 SDK to still build them and target.

  17. SymbioticKilla commented on Nov 15, 2021

    @SymbioticKilla

    @timheuer @jamshedd @mairaw There is a problem with NET Analyzers in VS2019 + NET 6.0 SDK is installed:
    image

    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.

  18. mairaw commented on Nov 16, 2021

    @mairaw
    Contributor

    @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.

  19. SymbioticKilla commented on Nov 16, 2021

    @SymbioticKilla

    @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.
    I will try to report the issue.

  20. timheuer commented on Nov 16, 2021

    @timheuer

    @SymbioticKilla please report through VS Feedback and send me the link of the issue you reported...I'll route it accordingly.

  21. SymbioticKilla commented on Nov 17, 2021

    @SymbioticKilla
  22. bairog commented on Apr 13, 2022

    @bairog
    Author

    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.

  23. reopened this on Apr 13, 2022
  24. Applesauce314 commented on Apr 20, 2022

    @Applesauce314

    @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.

  25. bairog commented on Apr 21, 2022

    @bairog
    Author

    @Applesauce314 Absolutelly agree.
    Don't forget to leave a comment and vote on Developer Community feature demand - maybe Microsoft will finally hear us.

  26. richlander commented on Apr 22, 2022

    @richlander
    Member

    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?

  27. bairog commented on Apr 22, 2022

    @bairog
    Author

    Very disappointing to hear that this decision will not be changed.

  28. deleted a comment from on Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions