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 - Windows App SDK 1.0 Preview 🔎💻 #5906

Closed
gabbybilka opened this issue Sep 17, 2021 · 9 comments
Closed

📢Announcing: WinUI 3 - Windows App SDK 1.0 Preview 🔎💻 #5906

gabbybilka opened this issue Sep 17, 2021 · 9 comments
Labels
announcement discussion General discussion

Comments

@gabbybilka
Copy link
Member

gabbybilka commented Sep 17, 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 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 1.0 Stable with bug fixes.

Bug fixes

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

  • Compiler error when using WebView2 in an ARM64 application — this is a regression from 0.8 and will be fixed in 1.0 Preview 2.

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 discussion General discussion labels Sep 17, 2021
@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Sep 17, 2021
@gabbybilka gabbybilka removed the needs-triage Issue needs to be triaged by the area owners label Sep 17, 2021
@MrDeej
Copy link

MrDeej commented Sep 18, 2021

"WinUI: Error creating second Desktop Window on the current process. No more than one Desktop Window is allowed per process.'."

This worked in Experimental.

We can still create new AppWindows, but how do we set content to them?

@lhak
Copy link

lhak commented Sep 20, 2021

-The expander control seems to be missing (was present in the experimental1 release)

-The GPU memory leak (reported about a year ago here #3665) is still present

@gabbybilka gabbybilka pinned this issue Sep 21, 2021
@edoust
Copy link

edoust commented Sep 22, 2021

Is there any documentation specifically created for this release? All the links reference to older pages as far as I can see

If I create a new app using this release it does not compile, these packages are referenced

package-refs

The error is this:
XamlCompiler error WMC1012: A project cannot have more than one ApplicationXaml item

I did not make any changes to the default project template

@koenvd
Copy link

koenvd commented Sep 23, 2021

@edoust You might have to remove the lines referencing the experimental1 release? I have this which seems to be working:

Screenshot 2021-09-23 134443

@edoust
Copy link

edoust commented Sep 23, 2021

@koenvd Thanks, this is working

@axelriet
Copy link
Member

axelriet commented Oct 2, 2021

Maybe I missed something, but after installing the latest bits, I have a question: isn't that just Store apps with the Store requirement somewhat relaxed?

@etkramer
Copy link

etkramer commented Oct 4, 2021

Still getting some pretty brutal performance issues in all versions of WinUI 3, including Preview 1. Running the following on CompositionTarget.Rendering with a completely empty window consistently yields results between 29 and 31ms:

PerformanceCounter.Stop(); //PerformanceCounter is an instance of class Stopwatch
Console.WriteLine(PerformanceCounter.Elapsed.TotalMilliseconds + "ms");
PerformanceCounter.Restart();

For comparison, if I do exactly the same in UWP XAML I get results in the ballpark of 0.5ms - that's 60 times faster than WinUI 3, which's current framerate (equivalent to ~33fps) is not acceptable even for a desktop UI.

Tested on a machine with the following specs:
OS: Windows 11 Pro (21H2)
GPU: NVIDIA GeForce GTX 1080ti
CPU: AMD Ryzen 5 2600
RAM: 2x8GB DDR4, 3000MHz

@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.

@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.

@krschau krschau changed the title 📢Announcing: WinUI 3 - Windows App SDK Preview 1.0 🔎💻 📢Announcing: WinUI 3 - Windows App SDK 1.0 Preview 🔎💻 Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
announcement discussion General discussion
Projects
None yet
Development

No branches or pull requests

8 participants