-
Prepare the build structure by running the
prepare.ps1
script from an administrative command prompt. Use a version 7.1 delivery folder including MDK as parameter.prepare.ps1 -delivery <Path to delivery>
-
Install Devart dotConnect for Oracle, if the resulting EXEs should be run against Oracle databases.
- Open a Developer Command Prompt for VS 2017
- Build using MSBuild:
msbuild SDL\Build.proj
- The results can be found in the
Delivery
folder.
Version numbers can be set globally in SDL\GlobalVersion.cs
.
- Open a Developer Command Prompt for VS 2017
- Change to folder
SDL\Database\Scripts
- Create the database, the
Initial Catalog
property of the connection string has to contain the name of the database to be created:msbuild MasterDB.proj /T:CreateMasterDb /P:ConnStr="Data Source=server;Initial Catalog=db;User ID=user;Password=pwd"
- Install a database with modules
ACN ADS APC ATT CAP CPL DPR HDS LDP MDK POL QBM QER RMB RMS RPS SDL TSB
- Change field
DialogDatabase.ModuleOwner
toSDL
- Do the Prepare step
- Open a Developer Command Prompt for VS 2017
- Change to folder
SDL\Database\Scripts
- Run imports and master migration
msbuild MasterDB.proj /T:Prepare /P:ConnStr="Data Source=server;Initial Catalog=db;User ID=user;Password=pwd"
- Open a Developer Command Prompt for VS 2017
- Change to folder
SDL\Database\Scripts
- Update the
ModuleInfo.xml
inQBMModuleDef.ModuleInfoXML
, if the file has changedmsbuild MasterDB.proj /T:UpdateModuleInfo /P:ConnStr="Data Source=server;Initial Catalog=db;User ID=user;Password=pwd"
- Dump the master database changes to files
msbuild MasterDB.proj /T:Dump /P:ConnStr="Data Source=server;Initial Catalog=db;User ID=user;Password=pwd"