Support for VS2019 build environment
This commit is contained in:
parent
268fc46ef7
commit
fc5dd8137f
13
build.sh
13
build.sh
|
@ -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
|
||||||
|
|
|
@ -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.
Loading…
Reference in New Issue