Skip to content

Commit a72b134

Browse files
committed
try building nunit 4 constraints with msbuild as well
1 parent 5536ce8 commit a72b134

File tree

2 files changed

+93
-0
lines changed

2 files changed

+93
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
This file is licensed to You under the Apache License, Version 2.0
4+
(the "License"); you may not use this file except in compliance with
5+
the License. You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
15+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
16+
<PropertyGroup>
17+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
18+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
19+
<ProjectGuid>{B0EA2DD8-D0BC-4B55-B17A-E3EE17D6C718}</ProjectGuid>
20+
<OutputType>Library</OutputType>
21+
<NoStandardLibraries>false</NoStandardLibraries>
22+
<AssemblyName>xmlunit-nunit4-constraints</AssemblyName>
23+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
24+
<FileAlignment>512</FileAlignment>
25+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\..\</SolutionDir>
26+
<RestorePackages>true</RestorePackages>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
29+
<DebugSymbols>true</DebugSymbols>
30+
<DebugType>full</DebugType>
31+
<Optimize>false</Optimize>
32+
<OutputPath>..\..\..\..\build\NetFramework\bin\Debug</OutputPath>
33+
<DefineConstants>DEBUG;TRACE</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
<DocumentationFile>..\..\..\..\build\NetFramework\bin\Debug\xmlunit-nunit4-constraints.xml</DocumentationFile>
37+
</PropertyGroup>
38+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
39+
<DebugType>pdbonly</DebugType>
40+
<Optimize>true</Optimize>
41+
<OutputPath>..\..\..\..\build\NetFramework\bin\Release</OutputPath>
42+
<DefineConstants>TRACE</DefineConstants>
43+
<ErrorReport>prompt</ErrorReport>
44+
<WarningLevel>4</WarningLevel>
45+
<DocumentationFile>..\..\..\..\build\NetFramework\bin\Release\xmlunit-nunit4-constraints.xml</DocumentationFile>
46+
</PropertyGroup>
47+
<PropertyGroup>
48+
<SignAssembly>true</SignAssembly>
49+
</PropertyGroup>
50+
<PropertyGroup>
51+
<AssemblyOriginatorKeyFile>..\..\..\..\xmlunit.snk</AssemblyOriginatorKeyFile>
52+
</PropertyGroup>
53+
<PropertyGroup>
54+
<RootNamespace>Org.XmlUnit.Constraints</RootNamespace>
55+
</PropertyGroup>
56+
<ItemGroup>
57+
<Reference Include="nunit.framework, Version=4.3.2.0, Culture=neutral, PublicKeyToken=2638cd05610744eb">
58+
<HintPath>..\..\..\..\packages\NUnit.4.3.2\lib\net462\nunit.framework.dll</HintPath>
59+
<Private>True</Private>
60+
</Reference>
61+
<Reference Include="System" />
62+
<Reference Include="System.Core" />
63+
<Reference Include="System.Xml" />
64+
<Reference Include="System.Xml.Linq" />
65+
</ItemGroup>
66+
<ItemGroup>
67+
<ProjectReference Include="..\..\net-core\NetFramework\XMLUnit.Core.NetFramework.csproj">
68+
<Project>{97960a9c-7e2b-4548-90bd-31105c54e129}</Project>
69+
<Name>XMLUnit.Core</Name>
70+
</ProjectReference>
71+
</ItemGroup>
72+
<ItemGroup>
73+
<Compile Include="..\..\..\shared\CommonAssemblyInfo.cs">
74+
<Link>..\CommonAssemblyInfo.cs</Link>
75+
</Compile>
76+
<Compile Include="..\AssemblyInfo.cs" />
77+
<Compile Include="..\CompareConstraint.cs" />
78+
<Compile Include="..\EvaluateXPathConstraint.cs" />
79+
<Compile Include="..\HasXPathConstraint.cs" />
80+
<Compile Include="..\ValidationConstraints.cs" />
81+
</ItemGroup>
82+
<ItemGroup>
83+
<None Include="packages.config" />
84+
</ItemGroup>
85+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" />
86+
<ProjectExtensions>
87+
<VisualStudio AllowExistingFolder="true" />
88+
</ProjectExtensions>
89+
</Project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="NUnit" version="4.3.2" targetFramework="net462" />
4+
</packages>

0 commit comments

Comments
 (0)