Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatelyn Gadd <kg@luminance.org>2018-07-18 03:04:42 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-07-18 03:04:42 +0300
commit5ff02dd3bfa8289a66329a7ebba266dcd7312740 (patch)
treeeeb142490a0c4da396d25c3c9aed50dec7fadb84 /msvc/winsetup.bat
parentc7ceb8f1e168adf14082b8a9b62e7f2e0a290514 (diff)
Auto-generate Consts.cs on Windows when building from Visual Studio (#9598)
This adds a simple script for generating Consts.cs that can run on Windows, and makes it a dependency of corlib.csproj in the BCL solution file. From my initial testing this will autogenerate Consts.cs if it's missing and then corlib will successfully build. This (mostly?) addresses issue https://github.com/mono/mono/issues/6886. This currently has an awkward dependency on ```winsetup.bat``` and I modified it slightly to make it clearer whether the batch file succeeded.
Diffstat (limited to 'msvc/winsetup.bat')
-rwxr-xr-xmsvc/winsetup.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/msvc/winsetup.bat b/msvc/winsetup.bat
index 6013e17da09..1740bc09bcb 100755
--- a/msvc/winsetup.bat
+++ b/msvc/winsetup.bat
@@ -1,3 +1,4 @@
+@ECHO off
SetLocal
SET CONFIG_H="%~dp0..\config.h"