Skip to content

[Spec] Drop VS Compatibility with any versions of VS that don't support .NET 6 #23

@PureWeen

Description

@PureWeen

Remove CI and project properties that enable VS 2017 Compatibility

Currently we have a lot of CI and IL rewriting in place so that our current XF SDKs will run on VS 2017.

.NET 6 will definitely not run on VS 2017 so it won't be possible to build MAUI applications on Visual Studio 2017.

https://devblogs.microsoft.com/dotnet/introducing-net-5/

We intend to release .NET 5 in November 2020, with the first preview available in the first half of 2020. It will be supported with future updates to Visual Studio 2019, Visual Studio for Mac and Visual Studio Code.

The spirit of this Issue is that we aren't going to provide any support for MAUI on versions of VS that don't work with .NET6.

Backward Compatibility

This PR removes backwards compatibility with VS 2017. People using VS 2017 or VS Mac 5 won't be able to develop apps against Maui

Difficulty : Low

This is just deleting project settings that are only executed when running VS 2017 CI. It's a quick one

Remove infrastructure and IL rewriting that enables Xamarin.Forms to continue working with VS 2017

  • Remove all uses of Xamarin.Build.TypeRedirector Package References
  • Remove all the __XCODE11__ If defs and all of the code that's only compiled for XCode11
  • Remove the VS 2017 stages from the CI YAML files
  • Remove the code from the Xamarin.Forms.target file that's used to swap the iOS platform DLL based on if you're building with VS 2017
  • Search through all csproj/props/targets files for the property Use2017. Remove the property and keep all the VS 2019 paths

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions