Introduction to project reunion 0.5


Isn't it fun,

to instantly listen to a blog on the go? PLAY !

 
 

Introduction-to-project-reunion-0.5

Project Reunion is the representation of the next evolution in the windows application development platform using a set of new developer components and tools. The unified set of APIs and tools are provided by Project Reunion which can be used consistently by any desktop application targeted broad set of windows 10 OS versions.

The Project Reunion complements existing platforms like desktop windows application platform and framework such as. NET (WPF and windows form), C++, and win32 with a common set of APIs and tools that developers can reply to on this platform. Project Reunion does not replace the existing platform.

Table of Content

The Project Reunion is used to providing an extension for visual studio 2019 for configuring project templates to use Project Reunion components in a new project. The project reunion libraries are available and using NuGet Package you can install them in an existing project. After building an application, the application can be deployed to another computer using project reunion.

The following are the sets of APIS and components that can be used by user-provided by project reunion 0.5:

Component


Window UI Library 3 :

For Windows applications, the next generation of the windows users experience platform is Windows UI Library(WinUI3). The new release of project reunion includes visual studio templates which help to build application with WinUI-based user interface. The new release also includes the NuGet package which includes WinUI libraries.


Manage Resources with MRT core :

MRT core load and manage resources of the application using APIS. The streamlined version of the modern Windows Resource Management system is called MRT core.


Render Text With DWriteCore :

DWriteCore is used to access all current DirectWrite feature which is used for text rendering, which includes device-independent text layout system, hardware-accelerated text, multi-format text, and wide language support.

Advantage of Project Reunion for developers

The broad set of APIS with implementations are decoupled from the operating system provided by project reunion and these APIS are released to the developer using NuGet packages. The project reunion is not to replace windows SDK.

The windows SDK work as it is an API which is delivered by the operating system and Windows SDK release provides many core component of Windows.

The following are the advantage of project reunion:

Consistent support across windows 10 versions

The new version of the operating system provides the windows APIs, so the developer must use the version adaptive code technique to account for all the differences in version to reach the audience of the application. These required development experience and add complexity to the code. The project reunion works on all later versions of windows 10 and windows 10, version 1809. So that users of Windows 10 version 1809 or windows 10 later version can use project reunion API and feature with the release of the operating system without writing adaptive code.

Faster release

With operating system release, new windows APIS and features are tied with released and which happen on a once or twice a year. Project reunion provides an update on fast cadence and enables the developer to get early and rapid access to innovation in the windows development platform when they are created.

Limitation and Known issue of the project reunion

The following are the limitation and known issue of the project reunion 0.5:


Desktop application (c#/.Net 5 or c++/win32):

Unpackaged desktop application (c#/.Net 5 or c++/win32) cannot use project reunion 0.5. The project reunion can be used by MSIX-packaged desktop applications.


UWP Application:

UWP application used in the production environment cannot support project reunion 0.5. for using project reunion in the UWP application, the developer must use project reunion 0.5 extensions which are not supported in the production environment.

The project uses a project reunion that applies WinUI 3 developer tool limitations.

Implement Project Reunion


Setup development environment:

Step 1: Ensure that your system has Windows 10, version 1809, or a later operating system version install.

Step 2: If you don’t have version then install from https://visualstudio.microsoft.com/vs/

Step 3: If WinUI 3 preview version is installing in the system then uninstall the extension.

Step 4: Ensure that your system has a Nuget package source enable for official NuGet service from https://api.nuget.org/v3/index.json.

  1. Open Visual Studio, go to Tools -> NuGet Package Manager -> Package Manager Settings to open the Options dialog.
  2. Select the Package Sources tab from the left pane of the Options dialog, and ensure that there is a package source for nuget.org that points to https://api.nuget.org/v3/index.json as the source URL.

Step 5: Download and install Project Reunion 0.5 and There are 2 versions of this extension: desktop app and UWP app

Project Reunion in desktop app

Open Visual Studio 2019, Go to Extensions > Manage Extensions, search for Project Reunion, and install the Project Reunion extension.

Alternatively, you can download and install the Project Reunion 0.5 extension directly from the Visual Studio Marketplace.

Project Reunion in UWP app

Uninstall any existing Project Reunion VSIX.

Open Visual Studio 2019, Go to Extensions > Manage Extensions and click Change your settings for Extensions and Turn off automatic updates for packages installed for all users before installing the older version.

Download and install the Project Reunion 0.5 Preview extension.

Step 6: Enable WinUI3 tooling with visual studio preview feature to use WinUI.

Use Project Reunion in Existing project

Using NuGet package manager you can install project reunion in your existing project

Step 1: In Visual Studio Open your existing project or UWP Project

Step 2: Ensure that package reference is enabled in your project

A - Open Studio, Go to tools -> NuGet Package Manager -> Package Manager Settings.

B - Ensure that PackageReference is selected for the Default package management format.

Step 3: Go to Solution Explorer and select Manage NuGet Packages.

Step 4: Open the Browse tab and search for Microsoft.ProjectReunion in the NuGet Package Manager window and install it.

Step 5: After installation of Microsoft.ProjectReunion package, following Project Reunion APIs, are enable to use in your project

  1. Manage resources MRT Core
  2. Render text with DWriteCore

Conclusion

We have discussed project Reunion 0.5 which is used to represent the next evolution in the windows application development platform using a set of new developer components and tools. We have also discussed an introduction to project reunion, the component of project reunion, the advantage and limitation of project reunion, and last we discuss how to configure project reunion in the existing project.

Introduction-to-project-reunion-0.5

Project Reunion is the representation of the next evolution in the windows application development platform using a set of new developer components and tools. The unified set of APIs and tools are provided by Project Reunion which can be used consistently by any desktop application targeted broad set of windows 10 OS versions.

The Project Reunion complements existing platforms like desktop windows application platform and framework such as. NET (WPF and windows form), C++, and win32 with a common set of APIs and tools that developers can reply to on this platform. Project Reunion does not replace the existing platform.

Table of Content

The Project Reunion is used to providing an extension for visual studio 2019 for configuring project templates to use Project Reunion components in a new project. The project reunion libraries are available and using NuGet Package you can install them in an existing project. After building an application, the application can be deployed to another computer using project reunion.

The following are the sets of APIS and components that can be used by user-provided by project reunion 0.5:

Component


Window UI Library 3 :

For Windows applications, the next generation of the windows users experience platform is Windows UI Library(WinUI3). The new release of project reunion includes visual studio templates which help to build application with WinUI-based user interface. The new release also includes the NuGet package which includes WinUI libraries.


Manage Resources with MRT core :

MRT core load and manage resources of the application using APIS. The streamlined version of the modern Windows Resource Management system is called MRT core.


Render Text With DWriteCore :

DWriteCore is used to access all current DirectWrite feature which is used for text rendering, which includes device-independent text layout system, hardware-accelerated text, multi-format text, and wide language support.

Advantage of Project Reunion for developers

The broad set of APIS with implementations are decoupled from the operating system provided by project reunion and these APIS are released to the developer using NuGet packages. The project reunion is not to replace windows SDK.

The windows SDK work as it is an API which is delivered by the operating system and Windows SDK release provides many core component of Windows.

The following are the advantage of project reunion:

Consistent support across windows 10 versions

The new version of the operating system provides the windows APIs, so the developer must use the version adaptive code technique to account for all the differences in version to reach the audience of the application. These required development experience and add complexity to the code. The project reunion works on all later versions of windows 10 and windows 10, version 1809. So that users of Windows 10 version 1809 or windows 10 later version can use project reunion API and feature with the release of the operating system without writing adaptive code.

Faster release

With operating system release, new windows APIS and features are tied with released and which happen on a once or twice a year. Project reunion provides an update on fast cadence and enables the developer to get early and rapid access to innovation in the windows development platform when they are created.

Limitation and Known issue of the project reunion

The following are the limitation and known issue of the project reunion 0.5:


Desktop application (c#/.Net 5 or c++/win32):

Unpackaged desktop application (c#/.Net 5 or c++/win32) cannot use project reunion 0.5. The project reunion can be used by MSIX-packaged desktop applications.


UWP Application:

UWP application used in the production environment cannot support project reunion 0.5. for using project reunion in the UWP application, the developer must use project reunion 0.5 extensions which are not supported in the production environment.

The project uses a project reunion that applies WinUI 3 developer tool limitations.

Implement Project Reunion


Setup development environment:

Step 1: Ensure that your system has Windows 10, version 1809, or a later operating system version install.

Step 2: If you don’t have version then install from https://visualstudio.microsoft.com/vs/

Step 3: If WinUI 3 preview version is installing in the system then uninstall the extension.

Step 4: Ensure that your system has a Nuget package source enable for official NuGet service from https://api.nuget.org/v3/index.json.

  1. Open Visual Studio, go to Tools -> NuGet Package Manager -> Package Manager Settings to open the Options dialog.
  2. Select the Package Sources tab from the left pane of the Options dialog, and ensure that there is a package source for nuget.org that points to https://api.nuget.org/v3/index.json as the source URL.

Step 5: Download and install Project Reunion 0.5 and There are 2 versions of this extension: desktop app and UWP app

Project Reunion in desktop app

Open Visual Studio 2019, Go to Extensions > Manage Extensions, search for Project Reunion, and install the Project Reunion extension.

Alternatively, you can download and install the Project Reunion 0.5 extension directly from the Visual Studio Marketplace.

Project Reunion in UWP app

Uninstall any existing Project Reunion VSIX.

Open Visual Studio 2019, Go to Extensions > Manage Extensions and click Change your settings for Extensions and Turn off automatic updates for packages installed for all users before installing the older version.

Download and install the Project Reunion 0.5 Preview extension.

Step 6: Enable WinUI3 tooling with visual studio preview feature to use WinUI.

Use Project Reunion in Existing project

Using NuGet package manager you can install project reunion in your existing project

Step 1: In Visual Studio Open your existing project or UWP Project

Step 2: Ensure that package reference is enabled in your project

A - Open Studio, Go to tools -> NuGet Package Manager -> Package Manager Settings.

B - Ensure that PackageReference is selected for the Default package management format.

Step 3: Go to Solution Explorer and select Manage NuGet Packages.

Step 4: Open the Browse tab and search for Microsoft.ProjectReunion in the NuGet Package Manager window and install it.

Step 5: After installation of Microsoft.ProjectReunion package, following Project Reunion APIs, are enable to use in your project

  1. Manage resources MRT Core
  2. Render text with DWriteCore

Conclusion

We have discussed project Reunion 0.5 which is used to represent the next evolution in the windows application development platform using a set of new developer components and tools. We have also discussed an introduction to project reunion, the component of project reunion, the advantage and limitation of project reunion, and last we discuss how to configure project reunion in the existing project.