123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <?xml version="1.0" encoding="utf-8"?>
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup Label="Build">
- <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
- <TargetFramework>net48</TargetFramework>
- <TargetFrameworks>net451;net452;net46;net461;net462;net47;net471;net472;net48;</TargetFrameworks>
- <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
- <RootNamespace>Padi.RedmineApi.Tests</RootNamespace>
- <UserSecretsId>f8b9e946-b547-42f1-861c-f719dca00a84</UserSecretsId>
- <Configurations>Release;Debug;DebugJson</Configurations>
- <PackageId Condition="'$(Sign)' == '' OR '$(Sign)' == 'false'">redmine-api-test</PackageId>
- <PackageId Condition="'$(Sign)' == 'true'">redmine-api-test-signed</PackageId>
- </PropertyGroup>
- <PropertyGroup Label="Signing" Condition=" '$(Sign)' == 'true' ">
- <SignAssembly>true</SignAssembly>
- <AssemblyOriginatorKeyFile>..\..\redmine-net-api.snk</AssemblyOriginatorKeyFile>
- </PropertyGroup>
-
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net20'">
- <DefineConstants>NET20;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net40'">
- <DefineConstants>NET40;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net45'">
- <DefineConstants>DEBUG;NET45;NETFULL;</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net451'">
- <DefineConstants>DEBUG;NET451;NETFULL;DEBUG_JSON</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net452'">
- <DefineConstants>NET452;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net46'">
- <DefineConstants>NET46;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net461'">
- <DefineConstants>NET461;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
- <DefineConstants>NET462;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net47'">
- <DefineConstants>NET47;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net471'">
- <DefineConstants>NET471;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net472'">
- <DefineConstants>NET472;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net48'">
- <DefineConstants>NET48;NETFULL</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='DebugJson|net451|AnyCPU'">
- <Optimize>false</Optimize>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;DEBUG_XML</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugJson|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE;DEBUG_JSON</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup Label="Package References">
-
- <!-- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8">-->
- <!-- <PrivateAssets>all</PrivateAssets>-->
- <!-- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>-->
- <!-- </PackageReference>-->
-
- <PackageReference Include="Microsoft.Extensions.Configuration" Version="1.1.0" />
-
- <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="1.1.0" />
-
- <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="1.1.0" />
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.1.0" />
-
- <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="1.1.0" />
-
- <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
-
- <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
- <PrivateAssets>all</PrivateAssets>
- <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition=" '$(TargetFramework)' == 'net40' " Label=".NET 4.0 Package References">
- <Reference Include="System.Net" />
- <PackageReference Include="xunit" Version="1.9.2" />
- <PackageReference Include="xunit.abstractions" Version="2.0.3" />
- </ItemGroup>
- <ItemGroup Condition=" '$(TargetFramework)' != 'net40' " Label=".NET 4.5 Onwards Package References">
- <PackageReference Include="System.Threading.Tasks" Version="4.3.0" />
- <PackageReference Include="xunit" Version="2.4.1" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\src\redmine-net-api\redmine-net-api.csproj" />
- </ItemGroup>
- <ItemGroup>
- <None Include="..\..\redmine-net-api.snk">
- <Link>redmine-net-api.snk</Link>
- </None>
- </ItemGroup>
- <ItemGroup>
- <None Update="appsettings.json">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net48'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net47'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net46'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net452'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net451'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net461'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net462'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net471'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- <ItemGroup Condition="'$(TargetFramework)' == 'net472'">
- <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
- <Version>1.1.0</Version>
- </PackageReference>
- <PackageReference Include="Microsoft.Extensions.Configuration.Json">
- <Version>1.1.0</Version>
- </PackageReference>
- </ItemGroup>
- </Project>
|