|
| 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>{97960A9C-7E2B-4548-90BD-31105C54E192}</ProjectGuid> |
| 20 | + <OutputType>Library</OutputType> |
| 21 | + <NoStandardLibraries>false</NoStandardLibraries> |
| 22 | + <AssemblyName>XMLUnit.UserguideExamples</AssemblyName> |
| 23 | + <TargetFrameworkVersion>v3.5</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>..\target\bin\Debug</OutputPath> |
| 33 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 34 | + <ErrorReport>prompt</ErrorReport> |
| 35 | + <WarningLevel>4</WarningLevel> |
| 36 | + <DocumentationFile>..\target\bin\Debug\XMLUnit.UserguideExamples.XML</DocumentationFile> |
| 37 | + </PropertyGroup> |
| 38 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 39 | + <DebugType>pdbonly</DebugType> |
| 40 | + <Optimize>true</Optimize> |
| 41 | + <OutputPath>..\target\bin\Release</OutputPath> |
| 42 | + <DefineConstants>TRACE</DefineConstants> |
| 43 | + <ErrorReport>prompt</ErrorReport> |
| 44 | + <WarningLevel>4</WarningLevel> |
| 45 | + </PropertyGroup> |
| 46 | + <PropertyGroup> |
| 47 | + <SignAssembly>false</SignAssembly> |
| 48 | + </PropertyGroup> |
| 49 | + <PropertyGroup> |
| 50 | + <RootNamespace>Org.XmlUnit.UserguideExamples</RootNamespace> |
| 51 | + </PropertyGroup> |
| 52 | + <ItemGroup> |
| 53 | + <Reference Include="nunit.framework, Version=3.0.5813.39033, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
| 54 | + <HintPath>..\packages\NUnit.3.0.1\lib\net20\nunit.framework.dll</HintPath> |
| 55 | + <Private>True</Private> |
| 56 | + </Reference> |
| 57 | + <Reference Include="System" /> |
| 58 | + <Reference Include="System.Core" /> |
| 59 | + <Reference Include="System.Xml" /> |
| 60 | + <Reference Include="System.Xml.Linq" /> |
| 61 | + <Reference Include="xmlunit-core.dll"> |
| 62 | + <HintPath>..\packages\XmlUnit.Core.2.0.0-alpha-03\lib\net35\xmlunit-core.dll</HintPath> |
| 63 | + <Private>True</Private> |
| 64 | + </Reference> |
| 65 | + </ItemGroup> |
| 66 | + <ItemGroup> |
| 67 | + <Compile Include="AssemblyInfo.cs" /> |
| 68 | + <Compile Include="Diff\IgnoreAttributeDifferenceEvaluator.cs" /> |
| 69 | + <Compile Include="Diff\IgnoreAttributeDifferenceEvaluatorTest.cs" /> |
| 70 | + </ItemGroup> |
| 71 | + <ItemGroup> |
| 72 | + <None Include="packages.config" /> |
| 73 | + </ItemGroup> |
| 74 | + <Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" /> |
| 75 | + <ProjectExtensions> |
| 76 | + <VisualStudio AllowExistingFolder="true" /> |
| 77 | + </ProjectExtensions> |
| 78 | + <PropertyGroup Condition=" '$(OS)' != 'Unix' "> |
| 79 | + <NunitCommand>"$(SolutionDir)packages\NUnit.Console.3.0.1\tools\nunit3-console.exe" "$(AssemblyName).dll" --config=$(Configuration) --work=..\target\test-results\ --result=XMLUnit.UserguideExamples.Results.xml --framework=net-3.5 --process=Single</NunitCommand> |
| 80 | + </PropertyGroup> |
| 81 | + <PropertyGroup Condition=" '$(OS)' == 'Unix' "> |
| 82 | + <NunitCommand>mono "$(SolutionDir)packages/NUnit.Console.3.0.1/tools/nunit3-console.exe" "$(AssemblyName).dll" --config=$(Configuration) --work=../target/test-results --result=XMLUnit.UserguideExamples.Results.xml --process=Single</NunitCommand> |
| 83 | + </PropertyGroup> |
| 84 | + <Target Name="RunUnitTest"> |
| 85 | + <MakeDir Directories="..\target\test-results" /> |
| 86 | + <Exec Command="$(NunitCommand)" WorkingDirectory="$(OutputPath)" /> |
| 87 | + </Target> |
| 88 | + <Target Name="AfterBuild" DependsOnTargets="RunUnitTest"> |
| 89 | + </Target> |
| 90 | +</Project> |
0 commit comments