diff options
author | Katelyn Gadd <kg@luminance.org> | 2018-07-18 03:04:42 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-07-18 03:04:42 +0300 |
commit | 5ff02dd3bfa8289a66329a7ebba266dcd7312740 (patch) | |
tree | eeb142490a0c4da396d25c3c9aed50dec7fadb84 /bcl.sln | |
parent | c7ceb8f1e168adf14082b8a9b62e7f2e0a290514 (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 'bcl.sln')
-rw-r--r-- | bcl.sln | 45 |
1 files changed, 45 insertions, 0 deletions
@@ -4,7 +4,12 @@ Microsoft Visual Studio Solution File, Format Version 12.00 MinimumVisualStudioVersion = 15.0.0.0 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jay", "mcs/jay/jay.vcxproj", "{5D485D32-3B9F-4287-AB24-C8DA5B89F537}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "genconsts", "msvc/scripts/genconsts.csproj", "{702AE2C0-71DD-4112-9A06-E4FABCA59986}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "corlib", "mcs/class/corlib/corlib.csproj", "{4627BDAB-CA24-40D0-A627-01692BA51B44}" + ProjectSection(ProjectDependencies) = postProject + {702AE2C0-71DD-4112-9A06-E4FABCA59986} = {702AE2C0-71DD-4112-9A06-E4FABCA59986} + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Security", "mcs/class/Mono.Security/Mono.Security.csproj", "{117140AC-A163-4B86-9E69-A46EA268A9DB}" EndProject @@ -767,6 +772,46 @@ Global {5D485D32-3B9F-4287-AB24-C8DA5B89F537}.Debug|xammac.Build.0 = Debug|Win32 {5D485D32-3B9F-4287-AB24-C8DA5B89F537}.Release|xammac.ActiveCfg = Release|Win32 {5D485D32-3B9F-4287-AB24-C8DA5B89F537}.Release|xammac.Build.0 = Release|Win32 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|net_4_x.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|net_4_x.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|net_4_x.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|net_4_x.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monodroid.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monodroid.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monodroid.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monodroid.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monotouch.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monotouch.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monotouch.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monotouch.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monotouch_tv.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monotouch_tv.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monotouch_tv.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monotouch_tv.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monotouch_watch.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|monotouch_watch.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monotouch_watch.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|monotouch_watch.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|orbis.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|orbis.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|orbis.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|orbis.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|unreal.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|unreal.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|unreal.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|unreal.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|wasm.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|wasm.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|wasm.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|wasm.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|winaot.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|winaot.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|winaot.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|winaot.Build.0 = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|xammac.ActiveCfg = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Debug|xammac.Build.0 = Debug|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|xammac.ActiveCfg = Release|x86 + {702AE2C0-71DD-4112-9A06-E4FABCA59986}.Release|xammac.Build.0 = Release|x86 {4627BDAB-CA24-40D0-A627-01692BA51B44}.Debug|net_4_x.ActiveCfg = Debug|net_4_x {4627BDAB-CA24-40D0-A627-01692BA51B44}.Debug|net_4_x.Build.0 = Debug|net_4_x {4627BDAB-CA24-40D0-A627-01692BA51B44}.Release|net_4_x.ActiveCfg = Release|net_4_x |