Support for VS2019 build environment

This commit is contained in:
Taloth Saldono 2020-02-07 21:16:53 +01:00
parent 268fc46ef7
commit fc5dd8137f
3 changed files with 9 additions and 8 deletions

View File

@ -88,13 +88,14 @@ CleanFolder()
BuildWithMSBuild() BuildWithMSBuild()
{ {
installationPath=`$vswhere -latest -products \* -requires Microsoft.Component.MSBuild -property installationPath` msBuildPath=`$vswhere -latest -products \* -requires Microsoft.Component.MSBuild -find MSBuild\\\\\*\*\\\\Bin\\\\MSBuild.exe`
installationPath=${installationPath/C:\\/\/c\/} msBuildPath=${msBuildPath/C:\\/\/c\/}
installationPath=${installationPath//\\/\/} msBuildPath=${msBuildPath//\\/\/}
msBuild="$installationPath/MSBuild/$msBuildVersion/Bin" msBuildDir=$(dirname "$msBuildPath")
echo $msBuild
export PATH=$msBuild:$PATH echo $msBuildDir
export PATH=$msBuildDir:$PATH
CheckExitCode MSBuild.exe $slnFile //p:Configuration=Release //p:Platform=x86 //t:Clean //m CheckExitCode MSBuild.exe $slnFile //p:Configuration=Release //p:Platform=x86 //t:Clean //m
$nuget restore $slnFile $nuget restore $slnFile
CheckExitCode MSBuild.exe $slnFile //p:Configuration=Release //p:Platform=x86 //t:Build //m //p:AllowedReferenceRelatedFileExtensions=.pdb CheckExitCode MSBuild.exe $slnFile //p:Configuration=Release //p:Platform=x86 //t:Build //m //p:AllowedReferenceRelatedFileExtensions=.pdb

View File

@ -21,10 +21,10 @@ done
# excess goes to the swap and will slow down the entire system # excess goes to the swap and will slow down the entire system
# Preferred versions # Preferred versions
MONO_VERSIONS="6.0 5.20 5.18" MONO_VERSIONS="6.8 6.6 6.4 6.0 5.20 5.18"
# Future versions # Future versions
MONO_VERSIONS="$MONO_VERSIONS 6.4=preview-xenial" MONO_VERSIONS="$MONO_VERSIONS 6.10=preview-xenial"
# Supported versions # Supported versions
MONO_VERSIONS="$MONO_VERSIONS 5.16 5.14 5.12 5.10 5.8 5.4" MONO_VERSIONS="$MONO_VERSIONS 5.16 5.14 5.12 5.10 5.8 5.4"

Binary file not shown.