forked from LitJSON/litjson
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathLitJson.Tests.csproj
71 lines (71 loc) · 3.41 KB
/
LitJson.Tests.csproj
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="CheckForNUnit" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9F728E2C-BFFA-4AA3-A906-3DF675A287FB}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>LitJson.Tests</RootNamespace>
<AssemblyName>LitJson.Tests</AssemblyName>
<LitJsonRoot>$([System.IO.Path]::GetFullPath("$(MSBuildThisFileDirectory)..\.."))</LitJsonRoot>
<FileAlignment>512</FileAlignment>
<!--
CS3021: Warning: 'LitJson.JsonWriter.Write(ulong)' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute
-->
<WarningsNotAsErrors>3021</WarningsNotAsErrors>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
</PropertyGroup>
<PropertyGroup>
<StartAction>Program</StartAction>
<StartProgram>$(NUnitBin)\nunit.exe</StartProgram>
<StartArguments>/run "$(MSBuildProjectDirectory)\$(OutputPath)$(AssemblyName).dll"</StartArguments>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(LitJsonRoot)\test\**\*.cs" />
<EmbeddedResource Include="$(LitJsonRoot)\test\json-example.txt">
<LogicalName>json-example.txt</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="nunit.framework">
<HintPath>$(NUnitBin)\nunit.framework.dll</HintPath>
</Reference>
<ProjectReference Include="LitJson.csproj">
<Project>{2b035ea1-5a3f-4b7c-8acb-2241314bf7d1}</Project>
<Name>LitJson</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="CheckForNUnit">
<Error Condition="'$(NUnitBin)' == ''" Text="error: NUnitBin environment variable undefined; can't find NUnit." />
<Error Condition="!Exists('$(NUnitBin)')" Text="error: NUnitBin folder not found: $(NUnitBin)." />
</Target>
</Project>