- Install .NET Core SDK version 2.1.400 or later
- Have the NuGet packages
M.nupkg
andMGen.nupkg
on local feed. This can be done by placing them in %STAR_NUGET% folder or by setting the environment variable to the folder where they are located, example:set STAR_NUGET="C:\FolderContainingNuGetPackages"
- Visual Studio 2017 --version 15.8.2 or higher.
- Make sure .NET Framework 4.7.2 is installed in VS 2017. If not, run the VS Installer, select "Modify" and then in "Individual Components", select that version and continue on.
- DebugView which is used to debug the mapper.
- Install the latest global .NET Core Cake tool by running
dotnet tool install -g Cake.Tool
. - Add nuget.exe to PATH.
- Make sure that the MSBuild version that is used comes from your Visual Studio installation and not from a previous installation of .NET Framework. The easiest way to test this is to run
msbuild /version
which should return a15.X
version. If it returns something like4.X
, then you have to either- add
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin
to PATH (check both System AND User). Make sure it's inserted before anyC:\Windows\Microsoft.NET\Framework\v4.0.30319
- or run
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat
which will only set proper environment variable values for the current process.
- add
- Clone this repo to your local machine
- Build the solution by executing
build.bat
in Windows or./build.bat
in Git Bash - Run it by executing
run.bat
in Windows or./run.bat
in Git Bash
There is also a package.bat
script which creates a StarPack of the application.
- Clone this repo to your local machine
- Open the
.sln
file in Visual Studio - Build and run it using Debug in Visual Studio (Debug > Start debugging or F5). Note that you have to start
M.exe
yourself by doing this.
We are currently using Microsoft's DebugView to chase down errors with the mappers.
- After downloading DebugView, run as an administrator.
- The first window to pop up should be the DebugView Filter. If not, you can find it under Edit->Filter/Highlight
- add
sc_
toInclude
filters - make sure it's running in the background. If the app crashes due to mapping, something should pop up. the message/messages you get combined with a brief description of the steps you took prior to the crash will hopefully help identify what caused the crash.
To contribute code to this repository, follow the instructions in the guidelines.
To release the app to the warehouse, follow the instructions in the guidelines.