[mapguide-commits] r10016 - trunk/MgDev

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Nov 12 00:34:52 PST 2022


Author: jng
Date: 2022-11-12 00:34:51 -0800 (Sat, 12 Nov 2022)
New Revision: 10016

Modified:
   trunk/MgDev/setenvironment64.bat
Log:
Ensure the packages directory exists to avoid NU1301 errors from a clean build

Modified: trunk/MgDev/setenvironment64.bat
===================================================================
--- trunk/MgDev/setenvironment64.bat	2022-11-11 13:48:01 UTC (rev 10015)
+++ trunk/MgDev/setenvironment64.bat	2022-11-12 08:34:51 UTC (rev 10016)
@@ -162,6 +162,9 @@
 echo Using nuget.%PCONF%.config as default nuget.config
 copy /Y nuget.%PCONF%.config nuget.config
 
+REM The build seems to throw a NU1301 hissy fit if this folder doesn't exist beforehand, so make it
+if not exist "packages\DotNet\%PCONF%" mkdir "packages\DotNet\%PCONF%"
+
 echo Type build.bat to build MapGuide
 
 goto done



More information about the mapguide-commits mailing list