forked from wikimedia/mediawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmediawiki.msbuildproj
31 lines (27 loc) · 1.38 KB
/
mediawiki.msbuildproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project Sdk="Peachpie.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<!--TargetFrameworks>netstandard2.0;net461</TargetFrameworks-->
<TargetFramework>netstandard2.0</TargetFramework>
<NoWarn>PHP0125,PHP5011</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OutDir Condition=" '$(TargetFramework)' == 'net461' ">bin</OutDir><!-- ASP.Net loads DLLs always from there -->
<OutDir Condition=" '$(TargetFramework)' != 'net461' ">bin_$(TargetFramework)</OutDir>
</PropertyGroup>
<ItemGroup>
<Compile
Include="**/*.php;**/*.inc"
Exclude="maintenance/**;tests/**;vendor/**/tests/**;vendor/**/test/**;vendor/**/Test/**" />
<Compile Remove="includes/debug/logger/monolog/**" />
<Compile Remove="skins/Vector/vendor/composer/installers/**" />
<Compile Remove="vendor/wikimedia/composer-merge-plugin/**" />
<Compile Remove="vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Monolog/**" />
<Compile Remove="vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Monolog/**" />
<Compile Remove="vendor/pear/pear-core-minimal/src/System.php" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
<!-- Peachpie.RequestHandler assembly is used in web.config to handle requests on IIS -->
<PackageReference Include="Peachpie.RequestHandler" Version="$(PeachpieVersion)" />
</ItemGroup>
</Project>