diff options
Diffstat (limited to 'mcs/class/System.Data.Services')
-rw-r--r-- | mcs/class/System.Data.Services/System.Data.Services.csproj | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mcs/class/System.Data.Services/System.Data.Services.csproj b/mcs/class/System.Data.Services/System.Data.Services.csproj index afb013d70c1..94fe9a888cd 100644 --- a/mcs/class/System.Data.Services/System.Data.Services.csproj +++ b/mcs/class/System.Data.Services/System.Data.Services.csproj @@ -19,11 +19,15 @@ <SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../ecma.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>
@@ -121,7 +125,6 @@ <Compile Include="System.Data.Services\ServiceOperationRights.cs" />
<Compile Include="System.Data.Services\SingleResultAttribute.cs" />
<Compile Include="System.Data.Services\UpdateOperations.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>
|