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/Mono.Data.Sqlite | |
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/Mono.Data.Sqlite')
-rw-r--r-- | mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite.csproj | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite.csproj b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite.csproj index 220783d7b6d..f6e401d7eec 100644 --- a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite.csproj +++ b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite.csproj @@ -20,11 +20,15 @@ <SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../mono.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>
+ <!-- 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>
@@ -132,7 +136,6 @@ <Compile Include="Mono.Data.Sqlite_2.0\SR.Designer.cs" />
<Compile Include="Mono.Data.Sqlite_2.0\SqliteDataSourceEnumerator.cs" />
<Compile Include="Mono.Data.Sqlite_2.0\UnsafeNativeMethods.cs" />
- <!--Genconsts dependency because this project includes Consts.cs-->
<ProjectReference Include="$(SolutionDir)\msvc\scripts\genconsts.csproj">
<Name>genconsts</Name>
<Project>{702AE2C0-71DD-4112-9A06-E4FABCA59986}</Project>
|