forked from xenserver/xenadmin
-
Notifications
You must be signed in to change notification settings - Fork 74
Building
amp88 edited this page Feb 5, 2020
·
12 revisions
You need:
- Source of this repository
- Source of dotnet-packages
- Visual Studio Community 2017
- Microsoft Build Tools 2013 (v12)
- Microsoft Build Tools 2015 (v14)
- Cygwin (with additional packages: unzip, patch)
- WiX Toolset & WiX Toolset Visual Studio Extension (for building msi-installer)
You should:
- Add
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
to PATH-Variable (buildscripts need to use MSBuild.exe from this path) - Add
C:\Program Files (x86)\Windows Kits\<VERSION>\bin\<ARCH>
to PATH-Variable (buildscripts need to use rc.exe and others from this path) - Add
C:\Program Files (x86)\WiX Toolset v3.11\bin
to PATH-Variable (for building the msi-installer)
1.) Open cygwin-Konsole and change to root folder of repo
cd <path-to-dotnet-packages>
3.) Build it
./build.sh
4.) The libraries should now be in _build\output
1.) Copy content of dotnet-packages\_build\output\dotnet46
to <path-to-repo>\packages
2.) (optional branding) Open cygwin-Konsole, execute
BUILD_NUMBER=1 <path-to-repo>/branding-xcp-ng/brand-to-xcp-ng.sh
2.) Open XenAdmin.sln
3.) Build and enjoy
You need:
- Nunit 3 Testadapter (Visual Studio Plugin)
1.) compile complete solution
2.) go to test explorer window
3.) run tests :-)