diff options
author | Katelyn Gadd <kg@luminance.org> | 2018-08-31 18:44:27 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-08-31 18:44:27 +0300 |
commit | a6a8abde09032805d91732c94306c79b3d7282d9 (patch) | |
tree | 14d8341b412aabc2144ea0817f1807df411b8ffc /mcs/class/monodoc | |
parent | 8ac5b8e5441f8f2b26b56161a4962c997872a9d2 (diff) |
Kill sln dependencies (#10406)
* Remove use of sln dependencies and use csproj project references instead
* Rewrite jay.vcxproj so it builds correctly even without help from the sln file
* Force pre-build event to run after references are resolved. Change how culevel.exe path is computed to be more resilient.
* [csproj] Update project files
Diffstat (limited to 'mcs/class/monodoc')
-rw-r--r-- | mcs/class/monodoc/monodoc.csproj | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/mcs/class/monodoc/monodoc.csproj b/mcs/class/monodoc/monodoc.csproj index 389eb860162..50a676428b6 100644 --- a/mcs/class/monodoc/monodoc.csproj +++ b/mcs/class/monodoc/monodoc.csproj @@ -20,11 +20,15 @@ <SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../class/mono.snk</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>
+ <!-- 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 -->
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
+ <!-- Force the pre-build event to run after references have been resolved. The default
+ behavior is to run them before resolving references, which can cause things like
+ culevel.exe to be used before they have been built. -->
+ <PreBuildEventDependsOn>ResolveReferences</PreBuildEventDependsOn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'net_4_x' ">
<OutputPath>./../../class/lib/net_4_x-$(HostPlatform)</OutputPath>
@@ -525,6 +529,13 @@ <Compile Include="..\..\..\external\api-doc-tools\monodoc\Monodoc\storage\UncompiledDocStorage.cs" />
<Compile Include="..\..\..\external\api-doc-tools\monodoc\Monodoc\storage\ZipStorage.cs" />
<Compile Include="Assembly\AssemblyInfo.cs" />
+ <ProjectReference Include="$(SolutionDir)\mcs\jay\jay.vcxproj">
+ <Name>jay</Name>
+ <Project>{5d485d32-3b9f-4287-ab24-c8da5b89f537}</Project>
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
+ <CopyToOutputDirectory>Never</CopyToOutputDirectory>
+ <Private>false</Private>
+ </ProjectReference>
</ItemGroup>
<!--End of common files-->
<!-- @ALL_SOURCES@ -->
|