Skip to content

Commit e01aad9

Browse files
authored
migrate NuGet.Services.DatabaseMigration.Facts to sdk csproj (#10001)
1 parent 9382cf8 commit e01aad9

2 files changed

Lines changed: 7 additions & 87 deletions

File tree

Lines changed: 7 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,17 @@
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>{082357A1-682E-4CCC-8FCD-FA250204CDB6}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>NuGet.Services.DatabaseMigration.Facts</RootNamespace>
11-
<AssemblyName>NuGet.Services.DatabaseMigration.Facts</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<Deterministic>true</Deterministic>
15-
<NuGetPackageImportStamp>
16-
</NuGetPackageImportStamp>
17-
</PropertyGroup>
18-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19-
<DebugSymbols>true</DebugSymbols>
20-
<DebugType>full</DebugType>
21-
<Optimize>false</Optimize>
22-
<OutputPath>bin\Debug\</OutputPath>
23-
<DefineConstants>DEBUG;TRACE</DefineConstants>
24-
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
26-
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28-
<DebugType>pdbonly</DebugType>
29-
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE</DefineConstants>
32-
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
3+
<TargetFramework>net472</TargetFramework>
344
</PropertyGroup>
355
<ItemGroup>
36-
<Reference Include="System" />
37-
<Reference Include="System.Core" />
38-
<Reference Include="System.Xml.Linq" />
39-
<Reference Include="System.Data.DataSetExtensions" />
40-
<Reference Include="Microsoft.CSharp" />
41-
<Reference Include="System.Data" />
42-
<Reference Include="System.Net.Http" />
43-
<Reference Include="System.Xml" />
6+
<ProjectReference Include="..\..\src\DatabaseMigrationTools\DatabaseMigrationTools.csproj" />
447
</ItemGroup>
458
<ItemGroup>
46-
<Compile Include="PendingMigrationsFacts.cs" />
47-
<Compile Include="Properties\AssemblyInfo.cs" />
48-
<Compile Include="ValidateMigrationsFacts.cs" />
49-
</ItemGroup>
50-
<ItemGroup>
51-
<PackageReference Include="Moq">
52-
<Version>4.8.2</Version>
53-
</PackageReference>
54-
<PackageReference Include="xunit">
55-
<Version>2.5.0</Version>
56-
</PackageReference>
57-
<PackageReference Include="xunit.analyzers">
58-
<Version>1.2.0</Version>
59-
</PackageReference>
60-
<PackageReference Include="xunit.runner.visualstudio">
61-
<Version>2.5.0</Version>
9+
<PackageReference Include="Moq" Version="4.8.2" />
10+
<PackageReference Include="xunit" Version="2.5.0" />
11+
<PackageReference Include="xunit.analyzers" Version="1.2.0" />
12+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
6213
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
6314
<PrivateAssets>all</PrivateAssets>
6415
</PackageReference>
6516
</ItemGroup>
66-
<ItemGroup>
67-
<ProjectReference Include="..\..\src\DatabaseMigrationTools\DatabaseMigrationTools.csproj">
68-
<Project>{dced7162-a24c-4579-96c8-544bfaf4c305}</Project>
69-
<Name>DatabaseMigrationTools</Name>
70-
</ProjectReference>
71-
<ProjectReference Include="..\..\src\NuGet.Services.DatabaseMigration\NuGet.Services.DatabaseMigration.csproj">
72-
<Project>{f4c8c34f-72a9-4773-a315-8fa3f2d5ce4e}</Project>
73-
<Name>NuGet.Services.DatabaseMigration</Name>
74-
</ProjectReference>
75-
<ProjectReference Include="..\..\src\NuGet.Services.Entities\NuGet.Services.Entities.csproj">
76-
<Project>{6262f4fc-29be-4226-b676-db391c89d396}</Project>
77-
<Name>NuGet.Services.Entities</Name>
78-
</ProjectReference>
79-
<ProjectReference Include="..\..\src\NuGetGallery.Core\NuGetGallery.Core.csproj">
80-
<Project>{097b2cdd-9623-4c34-93c2-d373d51f5b4e}</Project>
81-
<Name>NuGetGallery.Core</Name>
82-
</ProjectReference>
83-
</ItemGroup>
84-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8517
</Project>

tests/NuGet.Services.DatabaseMigration.Facts/Properties/AssemblyInfo.cs

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

0 commit comments

Comments
 (0)