Skip to content

Commit

Permalink
Additional 1.1-preview1 rel note comments (#2421)
Browse files Browse the repository at this point in the history
* Additional 1.1-preview1 rel note comments

* Update preview-channel.md

Consistent "currently". Couple other minor tweaks.

* Resolving conflict

* Stwhi conflicts (#2422)

* TOC (#2415)

* Fix link to arm abi (#2416)

* Fix broken download link (#2414)

* You can combine different WINRT_NATVIS settings (#2418)

* You can combine different WINRT_NATVIS settings

`WINRT_NATVIS` can also be set differently by different files. If any file enables `WINRT_NATVIS` (either explicitly or implicitly by defining `_DEBUG`), then the resulting module gets natvis support.

* Update macros.md

Co-authored-by: Steven White <[email protected]>

* Clarify when runtime is needed for push (#2419)

Co-authored-by: Matt Wojciakowski <[email protected]>
Co-authored-by: angelazhangmsft <[email protected]>
Co-authored-by: Raymond Chen <[email protected]>

* Addressing comments

* Consistency with the other change to "evaluating".

* Notifications and self-contained deployment clarifications

Co-authored-by: Steven White <[email protected]>
Co-authored-by: Matt Wojciakowski <[email protected]>
Co-authored-by: angelazhangmsft <[email protected]>
Co-authored-by: Raymond Chen <[email protected]>
  • Loading branch information
5 people authored Mar 31, 2022
1 parent f000ba5 commit 186bbc7
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions hub/apps/windows-app-sdk/preview-channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The following sections describe new and updated features, limitations, and known
Using Windows App SDK 1.1 Preview 1, apps (including WinUI 3) will be able to run with elevated privilege.

**Important limitations**
- Available only on Windows 11
- Currently available only on Windows 11. But we're evaluating bringing this support downlevel in a later release.

**Known issues**
- WinUI 3 apps crash when dragging an element during a drag-and-drop interaction.
Expand All @@ -43,13 +43,18 @@ Using Windows App SDK 1.1 Preview 1, apps (including WinUI 3) will be able to ru
Windows App SDK 1.1 will introduce support for self-contained deployment. Our [Deployment overview](../package-and-deploy/deploy-overview.md) details the differences between framework-dependent and self-contained deployment, and how to get started.

**Known issues:**
- C++ apps need to add the below to the bottom of their project file to workaround a bug in the self-contained `.targets` file that removes framework references to VCLibs:
- A C++ app that is MSIX-packaged needs to add the below to the bottom of their project file to workaround a bug in the self-contained `.targets` file that removes framework references to VCLibs:
```xml
<Target Name="_RemoveFrameworkReferences" BeforeTargets="_ConverItems;_CalculateInputsForGenerateCurrentProjectAppxManifest">
<PropertyGroup>
<IncludeGetResolvedSDKReferences>true</IncludeGetResolvedSDKReferences>
</PropertyGroup>

<Target Name="_RemoveFrameworkReferences"
BeforeTargets="_ConvertItems;_CalculateInputsForGenerateCurrentProjectAppxManifest">
<ItemGroup>
<FrameworkSdkRefrence Remove="@(FrameworkSdkReference)" Condition="'%(FrameworkSdkReference.SDKName)'=='Microsoft.WindowsAppRuntime.1.1'"/>
<FrameworkSdkReference Remove="@(FrameworkSdkReference)" Condition="'%(FrameworkSdkReference.SDKName)' == 'Microsoft.WindowsAppRuntime.1.1-preview1'" />
</ItemGroup>
</Target>
</Target>
```
- Supported only on Windows 10, 1903 and above

Expand All @@ -66,13 +71,17 @@ Developers of MSIX-packaged, sparse-packaged, and unpackaged apps can now send W
- Apps published as self-contained may not have push notifications support. Keep an eye out in the next preview release for an IsSupported() API to check for push notifications support.
- Apps that are not MSIX-packaged sending app notifications will not see their app icon in the app notification unless they are console applications. Console apps that are not MSIX-packaged should follow the patterns shown in the [ToastNotificationsDemoApp](https://github.com/microsoft/WindowsAppSDK/blob/main/test/TestApps/ToastNotificationsDemoApp/main.cpp) sample.
- Windows App SDK runtime must be installed to support push notifications, see [Downloads for the Windows App SDK](/windows/apps/windows-app-sdk/downloads) for the installer.
- A WinUI3 app that's not running can't be background-activated via a notification. But we're evaluating supporting that in a future release.

### Environment manager
API set that allows developers to add, remove, and modify environment variables without having to directly use the registry API.

**New features**
- Provides automatic removal of any environment variables changes when an app that used environment manager is uninstalled.

**Limitations**
- Currently unavailable in C# apps. But we're evaluating bringing this feature to C# apps in a later release.

### Other limitations and known issues

- If you're using C# with 1.1.0 Preview 1, then you must use one of the following .NET SDK versions at a minimum: .NET SDK 6.0.201, 6.0.103, 5.0.212, or 5.0.406. To upgrade your .NET SDK, you can update to the latest version of Visual Studio, or visit [Download .NET](https://dotnet.microsoft.com/en-us/download).
Expand Down

0 comments on commit 186bbc7

Please sign in to comment.