Skip to content

Commit 9382cf8

Browse files
authored
migrate NuGet.Services.Entities.Tests to sdk csproj (#9992)
1 parent 317378a commit 9382cf8

2 files changed

Lines changed: 5 additions & 72 deletions

File tree

Lines changed: 5 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,15 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{79C831E9-7C88-4B98-B084-4DE940C73FC7}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>NuGet.Services.Entities.Tests</RootNamespace>
11-
<AssemblyName>NuGet.Services.Entities.Tests</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<Deterministic>true</Deterministic>
3+
<TargetFramework>net472</TargetFramework>
154
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
32-
</PropertyGroup>
33-
<ItemGroup>
34-
<Reference Include="System" />
35-
<Reference Include="System.Core" />
36-
<Reference Include="Microsoft.CSharp" />
37-
</ItemGroup>
385
<ItemGroup>
39-
<Compile Include="PackageDeprecationStatusFacts.cs" />
40-
<Compile Include="PackageFacts.cs" />
41-
<Compile Include="PackageRegistrationExtensionsFacts.cs" />
42-
<Compile Include="PackageStatusFacts.cs" />
43-
<Compile Include="Properties\AssemblyInfo.cs" />
44-
<Compile Include="UserFacts.cs" />
45-
<Compile Include="UserSecurityPolicyFacts.cs" />
6+
<ProjectReference Include="..\..\src\NuGet.Services.Entities\NuGet.Services.Entities.csproj" />
467
</ItemGroup>
478
<ItemGroup>
48-
<ProjectReference Include="..\..\src\NuGet.Services.Entities\NuGet.Services.Entities.csproj">
49-
<Project>{6262f4fc-29be-4226-b676-db391c89d396}</Project>
50-
<Name>NuGet.Services.Entities</Name>
51-
</ProjectReference>
52-
</ItemGroup>
53-
<ItemGroup>
54-
<PackageReference Include="xunit">
55-
<Version>2.5.0</Version>
56-
</PackageReference>
57-
<PackageReference Include="xunit.runner.visualstudio">
58-
<Version>2.5.0</Version>
9+
<PackageReference Include="xunit" Version="2.5.0" />
10+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0" >
5911
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
6012
<PrivateAssets>all</PrivateAssets>
6113
</PackageReference>
6214
</ItemGroup>
63-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6415
</Project>

tests/NuGet.Services.Entities.Tests/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)