mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
57 lines
2.5 KiB
XML
57 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
|
|
<CurrentOsName>Windows</CurrentOsName>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
|
|
<CurrentOsName>Linux</CurrentOsName>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
|
|
<CurrentOsName>OSX</CurrentOsName>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" $(MSBuildProjectName.EndsWith('Tests')) ">
|
|
<IsPackable>false</IsPackable>
|
|
<LangVersion>latest</LangVersion>
|
|
<IsTest>true</IsTest>
|
|
<NoWarn>$(NoWarn);CS1998,xUnit2015,xUnit2017,xUnit2005,xUnit2009,xUnit2013,xUnit1013,xUnit2004;CA2007;CS8002</NoWarn>
|
|
<SignAssembly>True</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>..\..\Velopack.snk</AssemblyOriginatorKeyFile>
|
|
<IsPackable>false</IsPackable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" $(MSBuildProjectName.EndsWith('Tests')) and $(CI) != '' ">
|
|
<CoverletOutputFormat>cobertura</CoverletOutputFormat>
|
|
<CoverletOutput>..\coverage.$(CurrentOsName).$(MSBuildProjectName).xml</CoverletOutput>
|
|
<Include>[Velopack*]*,[vpk*]*</Include>
|
|
<Exclude>[Velopack.*.Tests]*,[*]Microsoft*</Exclude>
|
|
<CollectCoverage>true</CollectCoverage>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition=" $(MSBuildProjectName.EndsWith('Tests')) ">
|
|
<Compile Include="..\GlobalUsings.cs" Link="GlobalUsings.cs" />
|
|
<Compile Include="..\PathHelper.cs" Link="PathHelper.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition=" $(MSBuildProjectName.EndsWith('Tests')) ">
|
|
<ProjectReference Include="..\Divergic.Logging.Xunit\Divergic.Logging.Xunit.csproj" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
|
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
|
|
<PackageReference Include="xunit" Version="2.9.0" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
|
|
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
|
|
<PackageReference Include="coverlet.msbuild" Version="6.0.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
</Project>
|