CSAlias.gms : Test handling of Aliases in object oriented C# API

Description

Contributor: Lutz Westermann, November 2014


Small Model of Type : .Net


Category : GAMS API library


Main file : CSAlias.gms

$title 'Test handling of Aliases in object oriented C# API' (CSALIAS,SEQ=42)

$onText
Contributor: Lutz Westermann, November 2014
$offText


$set srcRoot %gams.sysdir%api%system.dirsep%dotnet%system.dirsep%examples%system.dirsep%control%system.dirsep%csharp%system.dirsep%

$escape &

$if %system.platform% == WEX $set PLATFORM x64
$if %system.platform% == LAX $set PLATFORM arm64
$if %system.platform% == LEX $set PLATFORM x64
$if %system.platform% == DEX $set PLATFORM x64
$if %system.platform% == DAX $set PLATFORM arm64

$call dotnet run --project "%srcRoot%Alias%system.dirsep%Alias.csproj" -c Release -p:Platform=%PLATFORM%  -- "%gams.sysdir%."
$if errorlevel 1 $abort 'Problem compiling/executing Alias'