mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
Using solution dependencies in ```bcl.sln``` seems flaky and seems like it might not establish the full ordering we need to ensure that ```Consts.cs``` exists before we build things that require it. Let's try using project references (where ```corlib.dll``` 'depends' on ```genconsts.exe```) instead. This should also insert the dependency for any project that includes Consts.cs instead of just corlib. This PR also makes update-solution-files actually fail if ```genconsts.exe``` fails to build because it was driving me mad. Part of #6886
95 lines
5.6 KiB
XML
95 lines
5.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- WARNING: this file is autogenerated, don't modify it. Edit the .sources file of the corresponding assembly instead if you want to add/remove C# source files. -->
|
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">net_4_x</Platform>
|
|
<ProjectGuid>{A24FF291-36ED-4899-849E-FBB668D958D6}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<NoWarn>1699,618</NoWarn>
|
|
<LangVersion>latest</LangVersion>
|
|
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Windows_NT'">win32</HostPlatform>
|
|
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix' and $([System.IO.File]::Exists('/usr/lib/libc.dylib'))">darwin</HostPlatform>
|
|
<HostPlatform Condition=" '$(HostPlatform)' == '' and '$(OS)' == 'Unix'">linux</HostPlatform>
|
|
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
|
|
<NoStdLib>True</NoStdLib>
|
|
<NoConfig>True</NoConfig>
|
|
<AssemblyName>System.ServiceProcess</AssemblyName>
|
|
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>../msfinal.pub</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
<!-- Set AddAdditionalExplicitAssemblyReferences to false, otherwise if targetting .NET4.0,
|
|
Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
|
|
is a problem to compile the Mono mscorlib.dll -->
|
|
<PropertyGroup>
|
|
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Platform)' == 'net_4_x' ">
|
|
<OutputPath>./../../class/lib/net_4_x-$(HostPlatform)</OutputPath>
|
|
<IntermediateOutputPath>./../../class/obj/$(AssemblyName)-net_4_x-$(HostPlatform)</IntermediateOutputPath>
|
|
<DefineConstants>NET_4_0;NET_4_5;NET_4_6;MONO;WIN_PLATFORM</DefineConstants>
|
|
</PropertyGroup>
|
|
<!-- @ALL_PROFILE_PROPERTIES@ -->
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<!-- TRACE is set only for Debug configuration, so inherit from platform-specific value -->
|
|
<DefineConstants>TRACE;$(DefineConstants)</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- @BUILT_SOURCES@ -->
|
|
<ItemGroup>
|
|
<Compile Include="..\..\build\common\Consts.cs" />
|
|
<Compile Include="..\..\build\common\Locale.cs" />
|
|
<Compile Include="..\..\build\common\MonoTODOAttribute.cs" />
|
|
<Compile Include="Assembly\AssemblyInfo.cs" />
|
|
<Compile Include="System.ServiceProcess.Design\ServiceInstallerDialog.cs" />
|
|
<Compile Include="System.ServiceProcess.Design\ServiceInstallerDialogResult.cs" />
|
|
<Compile Include="System.ServiceProcess.Design\ServiceNameConverter.cs" />
|
|
<Compile Include="System.ServiceProcess\PowerBroadcastStatus.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceAccount.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceBase.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceController.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerImpl.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerPermission.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerPermissionAccess.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerPermissionAttribute.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerPermissionEntry.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerPermissionEntryCollection.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceControllerStatus.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceInstaller.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceProcessDescriptionAttribute.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceProcessInstaller.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceStartMode.cs" />
|
|
<Compile Include="System.ServiceProcess\ServiceType.cs" />
|
|
<Compile Include="System.ServiceProcess\SessionChangeDescription.cs" />
|
|
<Compile Include="System.ServiceProcess\SessionChangeReason.cs" />
|
|
<Compile Include="System.ServiceProcess\TimeoutException.cs" />
|
|
<Compile Include="System.ServiceProcess\UnixServiceController.cs" />
|
|
<Compile Include="System.ServiceProcess\Win32ServiceController.cs" />
|
|
<ProjectReference Include="$(SolutionDir)\msvc\scripts\genconsts.csproj">
|
|
<Name>genconsts</Name>
|
|
<Project>{702AE2C0-71DD-4112-9A06-E4FABCA59986}</Project>
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
<Private>False</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup></ItemGroup>
|
|
<!-- @ALL_SOURCES@ -->
|
|
<!-- @COMMON_PROJECT_REFERENCES@ -->
|
|
<ItemGroup Condition=" '$(Platform)' == 'net_4_x' ">
|
|
<ProjectReference Include="../System/System.csproj" />
|
|
<ProjectReference Include="../System.Configuration.Install/System.Configuration.Install.csproj" />
|
|
<ProjectReference Include="../System.Windows.Forms/System.Windows.Forms.csproj" />
|
|
<ProjectReference Include="../corlib/corlib.csproj" />
|
|
</ItemGroup>
|
|
<!-- @ALL_REFERENCES@ -->
|
|
<!-- @ALL_RESOURCES@ -->
|
|
</Project> |