Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📢Announcing: WinUI 3 in Windows App SDK 1.0 Preview 2 🎨💻 #6049

Closed
gabbybilka opened this issue Oct 6, 2021 · 18 comments
Closed

📢Announcing: WinUI 3 in Windows App SDK 1.0 Preview 2 🎨💻 #6049

gabbybilka opened this issue Oct 6, 2021 · 18 comments
Labels

Comments

@gabbybilka
Copy link
Member

gabbybilka commented Oct 6, 2021

We've just shipped the latest version of WinUI 3, which is a part of Windows App SDK 1.0 preview release! This release includes new features, bug fixes and provides access to APIs and features we are intending to include in the next stable release.

Shipping WinUI 3 as a part of the Windows App SDK

In order to use this version of WinUI 3, you'll download the Windows App SDK (Preview) Visual Studio Extension (VSIX) to get started. The Windows App SDK VSIX includes WinUI project templates that you'll use to build your WinUI 3 app, as well as access to other Windows App SDK components. The Windows App SDK package includes a reference to the WinUI 3 NuGet package.

For more on the Windows App SDK, see their documentation and repository. For installation instructions, see Set up your development environment.

NOTE: The Windows App SDK was previously known by the code name Project Reunion. Some SDK assets may still use the code name, but these assets will be renamed in a future release. The term Project Reunion may also be used when referring to an existing asset or a specified earlier release.

What's new

This release of WinUI 3 is focused on building towards new features for 1.0 Stable and fixing bugs.

New features

  • Controls have been updated to reflect the latest Windows styles from WinUI 2.6
  • Single-project MSIX is supported.
  • WinUI package now targets 17763 and above, updated from 18362: #921
  • In-app toolbar is supported. However, the in-app toolbar and existing Hot Reload/Live Visual Tree support require the upcoming Visual Studio 17.0 Preview 5 release, available later in October.

Bug fixes

  • WebView2Runtime text is now localized

Stability

This release includes unstable APIs and does not support building production apps. If you'd like to use WinUI 3 to build a production app, feel free to continue using the latest Windows App SDK 0.8 release.

Known Issues

For a list of all the known issues for this Windows App SDK 1.0 preview release, please see the Windows App SDK release notes.

Getting started

First, you'll need to set up your dev environment with the appropriate technologies. See our documentation for installation instructions and more information on project types:

Install the Windows App SDK

Create WinUI 3 Projects

While you're developing, check out the API Reference documentation.

Take a look at our walk-through docs:

You can also update your existing WinUI 3 app to use the new Windows App SDK 1.0 preview release using these instructions: Update existing projects to the latest release of the Windows App SDK.

We love feedback! We encourage you to file any bug, big or small, on our repo using this template. Knowing which issues and features are important and/or critical to our customers highly influences which ones we tackle. Even though we ship with the Windows App SDK, please continue to file WinUI-specific bugs on this repo.

Using WinUI 3 and the Windows App SDK with our ecosystem partners

This latest release is in the process of being integrated into several other important ecosystem technologies. To test out and follow that progress, check out some of our partner technologies below (note that some of these technologies may not yet be available for Windows App SDK 1.0 preview):

  • Actipro Software is migrating their vast UI control offerings over to WinUI 3, including their SyntaxEditor code editor, propertygrid, native type edit boxes, docking/MDI, charts, and more.

  • DevExpress: DevExpress has released 20 new WinUI controls with Windows App SDK 0.8 support, including the Data Grid, Scheduler, Charts, Ribbon Toolbar, and more. All 20 UI components are available free-of-charge.

  • Esri: ArcGIS Runtime SDK for .NET adds mapping, spatial analytics, and location intelligence capabilities to your apps on Android, iOS, and Windows. Support for WinUI 3 is now available.

  • GrapeCity: The ComponentOne WinUI controls support modern desktop apps (Win32) and include calendar, accordion, input and our fast and flexible datagrid, FlexGrid.

  • Infragistics: Ultimate UI for WinUI brings business critical, high performing, and feature rich line of business controls to your apps that target any platform that runs Windows (including Windows on ARM64).

  • Syncfusion: Updated their projects to Microsoft.ProjectReunion from Microsoft.WinUI following upgrade instructions. All their controls are working fine.

  • Telerik UI for WinUI: the market first UI controls suite for crafting Win32 and UWP apps with WinUI 3, comes with feature-rich controls like Ribbon, DataGrid, Charts, Gauges, Barcode, and more.

  • Uno Platform: Use WinUI 3 – Windows App SDK 0.8, XAML and C# to build pixel-perfect, single-codebase, native applications that can run on Web, Desktop and Mobile. It is free, open-source and available today.

  • Windows Community Toolkit (Microsoft): The WCT is currently working on supporting Windows App SDK 0.8 RC. It provides tons of new controls and capabilities for use in your WinUI app. You can check out their open source repo here.

What's next

To keep up with progress being made on WinUI 3, please see our feature roadmap which gets updated regularly. We also give monthly updates on our WinUI Community Calls, where you can directly ask the team any questions you have.

@gabbybilka gabbybilka added hot product-winui3 WinUI 3 issues labels Oct 6, 2021
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Oct 6, 2021
@gabbybilka gabbybilka removed the needs-triage Issue needs to be triaged by the area owners label Oct 6, 2021
@gabbybilka gabbybilka pinned this issue Oct 6, 2021
@dotMorten
Copy link
Contributor

You can add this link to the second known issue listed: #6028

@JPTGamesAndApps
Copy link

Yay! Finally!!
Controls have been updated to reflect the latest Windows styles from WinUI 2.6

@gabbybilka
Copy link
Member Author

gabbybilka commented Oct 6, 2021

You can add this link to the second known issue listed: #6028

@dotMorten updated, thanks!

@dylech30th
Copy link

I'm trying to upgrade my existing app (which uses ProjectReunion 0.8.3) to the WAS 1.0 preview2, from the link to upgrade instructions given above I cannot find how to upgrade a single packaged project, I tried to follow the instructions but it results in a compilation error says that "A project cannot have more than one ApplicationXaml item". Through the issues list I noticed a similar one from #5906. However I've confirmed that there are no duplicate PackageReference entries in my .csproj file. I'll attach it below to provide useful information

My project's '.csproj' file: https://github.com/Pixeval/Pixeval/blob/master/src/Pixeval/Pixeval.csproj

@ghost1372
Copy link
Contributor

I'm trying to upgrade my existing app (which uses ProjectReunion 0.8.3) to the WAS 1.0 preview2, from the link to upgrade instructions given above I cannot find how to upgrade a single packaged project, I tried to follow the instructions but it results in a compilation error says that "A project cannot have more than one ApplicationXaml item". Through the issues list I noticed a similar one from #5906. However I've confirmed that there are no duplicate PackageReference entries in my .csproj file. I'll attach it below to provide useful information

My project's '.csproj' file: https://github.com/Pixeval/Pixeval/blob/master/src/Pixeval/Pixeval.csproj

You can not upgrade right now! Because you have used the community toolkit
CommunityToolkit.WinUI.UI
They have not updated the community yet
CommunityToolkit/WindowsCommunityToolkit#4171 (comment)

@dylech30th
Copy link

I've eliminated all the references that depend on the old ProjectReunion package and the problem disappeared. Thank you.

@kmgallahan
Copy link
Contributor

Strictly following the instructions to Modify an existing project to "Package your app using single-project MSIX" results in the following error:

Screenshot 2021-10-07 190128

I resolved the problem by manually editing the Package.appxmanifest file to more closely match one created using the latest project template, and moving/renaming files/folders.

@jtorjo
Copy link

jtorjo commented Oct 11, 2021

Since MediaPlayerElement controls won't make it this year... I have 2 questions:

(I assume MediaComposition is already ported)

  1. Does composition.RenderToFileAsync work at this time?
  2. Does MediaClip.CreateFromFileAsync work?

In other words, inserting a video into a composition, and then later on rendering it into a video.

@hez2010
Copy link

hez2010 commented Oct 16, 2021

Has mica been added to WinUI 3? I still cannot use it.

@seven-mile
Copy link

Has mica been added to WinUI 3? I still cannot use it.

Nope. Mica is something like out-of-app Acrylic. It uses OS-associated CompositionSource from the wallpaper, which cannot be done with WinUI3 Composition. So It won't be released until the full Acrylic is completed I guess.

But I had checked the 1.0preview2 doc before and found Microsoft.UI.Composition.SystemBackdrops namespace, which contains runtimeclasses like DesktopAcrylicController and MicaController.

The SetTarget method of the both controllers requires an argument typed Windows.Composition.CompositionTarget which doesn't belong to WinUI3 Composition Engine. The so called "Win32 Example" hardly provides information. I'm not sure if we can use them by some interop.

To be optimistic, I presume mica is already under internal testing and will be out in the next release. @gabbybilka Would you be so kind to provide more information of the progress of mica, Gabby?

@iotjack
Copy link

iotjack commented Oct 17, 2021

when would WinUI support .net 6?

@dotMorten
Copy link
Contributor

@iotjack it already does.

@iotjack
Copy link

iotjack commented Oct 18, 2021

any instructions for that? I use VS 2022 Preview 5. When I tried to set Target framework to .NET 6.0, I got
"Package Microsoft.ProjectReunion.InteractiveExperiences 0.8.5 is not compatible with net6.0"

@dotMorten
Copy link
Contributor

@iotjack perhaps open a specific issue for your problem, but all I did was make a 5 a 6.

@gabbybilka
Copy link
Member Author

Critical issue

We have needed to deprecate the Windows App SDK 1.0 Preview 1 and 2 package from NuGet as they have a bug that corrupts the PATH system variable.

Please view the WAS release notes for the specific issue and remediations you can take: https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/preview-channel#important-issue-impacting-10-preview-1-and-preview-2

We will be shipping a Preview 3 shortly that fixes this bug.

@lucpotage
Copy link

Great news! I have few questions. Is there any difference between WinUI 2.7 and WinUI 3 for UI designers? Are components visually similar? There is an up-to-date Figma file for WinUI 2.x but not for WinUI 3. Do you know when it will be available?

@jrovny
Copy link

jrovny commented Nov 17, 2021

I'm trying to upgrade my existing app (which uses ProjectReunion 0.8.3) to the WAS 1.0 preview2, from the link to upgrade instructions given above I cannot find how to upgrade a single packaged project, I tried to follow the instructions but it results in a compilation error says that "A project cannot have more than one ApplicationXaml item". Through the issues list I noticed a similar one from #5906. However I've confirmed that there are no duplicate PackageReference entries in my .csproj file. I'll attach it below to provide useful information
My project's '.csproj' file: https://github.com/Pixeval/Pixeval/blob/master/src/Pixeval/Pixeval.csproj

You can not upgrade right now! Because you have used the community toolkit CommunityToolkit.WinUI.UI They have not updated the community yet CommunityToolkit/WindowsCommunityToolkit#4171 (comment)

Can confirm. Removing the reference to "CommunityToolkit.WinUI.UI.Controls.DataGrid" Version="7.0.3" resolved the "A project cannot have more than one ApplicationXaml item" issue for me.

@gabbybilka
Copy link
Member Author

gabbybilka commented Nov 23, 2021

Check out #6325 to see features from this release in Windows App SDK 1.0 and leave any additional comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests