maui/.vscode
Matthew Leibowitz b8646cb457
Update to .NET 7 SDKs (#7375)
Bump to:

* .NET SDK 7.0.100-preview.6.22276.1
* .NET Runtime 7.0.0-preview.5.22272.3
* Android 33.0.0-preview.4.25
* iOS/MacCatalyst/tvOS 15.4.704-ci.net7-0
* macOS 12.3.704-ci.net7-0
* Tizen 7.0.100-preview.6.7

Other changes:

* Build with `dotnet build`
* Use `net7.0` target framework
* `NET6_0` -> `NET6_0_OR_GREATER`
* Provision Android API 32
* .NET 7 workload packs need `7.0.100-preview.6` version band
* `Image*UnitTest` needs a `TaskCompletionSource` in .NET 7
* Tizen packs should check `$(IncludeTizenTargetFrameworks)`

Workarounds:

* Usage of `new NSUrlRequest(uri!)` to avoid NRT warnings
* `GetScrollYOnGenList()` on Tizen needed new linker warnings ignored
* `$(NoWarn)` is needed to workaround linker analyzers: https://github.com/dotnet/linker/issues/2817
* Added additional logging for `XamlC` failing on:

    Task XamlCTask
    Error XamlApp.xaml Invalid URI: The hostname could not be parsed. 
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
       at System.Uri..ctor(String uriString, UriKind uriKind)
       at Microsoft.Maui.Controls.ResourceDictionary.RDSourceTypeConverter.GetResourcePath(Uri uri, String rootTargetPath)
       at Microsoft.Maui.Controls.XamlC.RDSourceTypeConverter.ConvertFromString(String value, ILContext context, BaseNode node)+MoveNext()
       at Microsoft.Maui.Controls.Build.Tasks.NodeILExtensions.PushConvertedValue(ValueNode node, ILContext context, TypeReference targetTypeRef, TypeReference typeConverter, IEnumerable`1 pushServiceProvider, Boolean boxValueTypes, Boolean unboxValueTypes)+MoveNext()
       at Microsoft.Maui.Controls.Build.Tasks.SetPropertiesVisitor.Set(VariableDefinition parent, String localName, INode node, IXmlLineInfo iXmlLineInfo, ILContext context)+MoveNext()
       at Microsoft.Maui.Controls.Build.Tasks.ILProcessorExtensions.Append(ILProcessor processor, IEnumerable`1 instructions)
       at Microsoft.Maui.Controls.Build.Tasks.SetPropertiesVisitor.Visit(ValueNode node, INode parentNode)
       at Microsoft.Maui.Controls.Xaml.ElementNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
       at Microsoft.Maui.Controls.Build.Tasks.SetResourcesVisitor.Visit(ElementNode node, INode parentNode)
       at Microsoft.Maui.Controls.Xaml.ElementNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
       at Microsoft.Maui.Controls.Xaml.ElementNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
       at Microsoft.Maui.Controls.Xaml.RootNode.Accept(IXamlNodeVisitor visitor, INode parentNode)
       at Microsoft.Maui.Controls.Build.Tasks.XamlCTask.TryCoreCompile(MethodDefinition initComp, ILRootNode rootnode, String xamlFilePath, Exception& exception)

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
2022-06-06 18:53:10 -05:00
..
extensions.json Add a vscode workspace and some build tasks (#5827) 2022-04-08 18:49:40 +01:00
launch.json Add a vscode workspace and some build tasks (#5827) 2022-04-08 18:49:40 +01:00
tasks.json Update to .NET 7 SDKs (#7375) 2022-06-06 18:53:10 -05:00