- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.9k
 
Migrating from Preview 10 to 11
        David Ortinau edited this page Dec 14, 2021 
        ·
        3 revisions
      
    Windows App SDK is now version 1.0.0
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
	<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
	<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
</ItemGroup>Add to Platforms/*/info.plist:
<key>UIApplicationSceneManifest</key>
<dict>
	<key>UIApplicationSupportsMultipleScenes</key>
	<true/>
	<key>UISceneConfigurations</key>
	<dict>
		<key>UIWindowSceneSessionRoleApplication</key>
		<array>
			<dict>
				<key>UISceneConfigurationName</key>
				<string>__MAUI_DEFAULT_SCENE_CONFIGURATION__</string>
				<key>UISceneDelegateClassName</key>
				<string>SceneDelegate</string>
			</dict>
		</array>
	</dict>
</dict>In each platform, add a SceneDelegate.cs. For example:
using Foundation;
using Microsoft.Maui;
using ObjCRuntime;
using UIKit;
namespace Maui.Controls.Sample;
[Register("SceneDelegate")]
public class SceneDelegate : MauiUISceneDelegate
{
}