Tutorial 04 03 Add Traditional Bridge Library Code - Synergex/HarmonyCore GitHub Wiki

Tutorial 4: Updating Traditional Bridge
Before we go any further, we'll use the Harmony Core upgrade tool to make sure Traditional Bridge components are up to date. The Harmony Core upgrade tool does three things: it updates Traditional Bridge library code, it provides updated versions of all CodeGen templates, and it checks all your projects to make sure they are using the latest released version of Harmony Core and appropriate versions of all dependencies.
-
In Visual Studio, select
Tools > Command Prompt (x64)to open a command prompt window. -
In Visual Studio, select
File > Close Solutionfrom the menu to close the Harmony Core solution. -
In the command prompt window, move to your main solution directory (the directory with the
.slnfile for your solution) and execute the following command:harmonycore upgrade-latestYou will be required to enter
YESto confirm the upgrade, and you should see output like this:This utility will make significant changes to projects and other source files in your Harmony Core development environment. Before running this tool, we recommend checking the current state of your development environment into your source code repository, taking a backup copy of the environment if you don't use source code control. Type YES to proceed: YES Checking for current version info Detected invalid solution dir '', ignoring and using standard search path Scanning 'D:\hc\tut2h\MyApi' for HarmonyCore project files Using MSBuild from path: C:\Program Files\dotnet\sdk\6.0.406 Updating template files in C:\hc\tutorial\MyApi\Templates Found template files in C:\hc\tutorial\MyApi\Templates\MySQL Found template files in C:\hc\tutorial\MyApi\Templates\SignalR Found template files in C:\hc\tutorial\MyApi\Templates\ReactRedux Found template files in C:\hc\tutorial\MyApi\Templates\TypeScript Found template files in C:\hc\tutorial\MyApi\Templates\TraditionalBridge Updating traditional bridge files in C:\hc\tutorial\MyApi\TraditionalBridge\Source\Bridge -
Close the command prompt, and then open the solution in Visual Studio.
Next topic: Adding Traditional Synergy Routines