diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.csproj')
-rw-r--r-- | mcs/class/System.Web/System.Web.csproj | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mcs/class/System.Web/System.Web.csproj b/mcs/class/System.Web/System.Web.csproj index 5150baecd56..bf7fded9b67 100644 --- a/mcs/class/System.Web/System.Web.csproj +++ b/mcs/class/System.Web/System.Web.csproj @@ -25,10 +25,6 @@ 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>
@@ -1693,6 +1689,12 @@ </ItemGroup>
<!-- @ALL_RESOURCES@ -->
<PropertyGroup>
+ <!-- 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>
<PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">set CULEVELPATH=$([MSBuild]::ValueOrDefault($([MSBuild]::GetDirectoryNameOfFileAbove($(TargetDir), culevel.exe)), "$(TargetDir)"))\culevel.exe
mono %CULEVELPATH% -o $(ProjectDir)\System.Web\UplevelHelper.cs $(ProjectDir)\UplevelHelperDefinitions.xml</PreBuildEvent>
<PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set CULEVELPATH=$([MSBuild]::ValueOrDefault($([MSBuild]::GetDirectoryNameOfFileAbove($(TargetDir), culevel.exe)), "$(TargetDir)"))\culevel.exe
|