Skip to content

Build from Source

Laim edited this page May 24, 2024 · 2 revisions

Syncfusion from 1.0.7

From ver. 1.0.7 a Syncfusion License is required to build. You can request a free one from here if you are eligible.

Build App

The directory structure used on my local machine is C:\Development\Source Code\AssetTrakr\AssetTrakr.

Please note that building from source may prevent you from using the official releases and I cannot guarantee that migrations from official releases will work

  • Open Visual Studio 2022
  • Open Terminal
  • Run the following:

1.0.7 Onwards

dotnet build AssetTrakr.sln -c Release /p:Version=1.0.0 /p:SyncfusionLicense=XXXXXXXXXXXXXX

Replace XXXXXXXXXXXXXX with your Syncfusion License.

Before 1.0.7

dotnet build AssetTrakr.sln -c Release /p:Version=1.0.0

Change 1.0.0 to what you want the version to be. To just build as version one, omit the /property:Version section.

Build Setup (Installer)

If you do not use the same directory structure as me, you will need to modify the installer configuration so it can find the relevant AssetTrakr files.

  • Download Inno Setup (v6.2.2 at time of writing)
  • Open INSTALLER_CONFIG.iss
  • Update MyAppVersion to the version you are wanting to build

Make sure you have built the app with the version you want to prevent migration issues, see start of page.

Clone this wiki locally