Skip to content

Commit a5f2217

Browse files
committed
#137: Migrated to newest csproj-Format.
1 parent 5b333e2 commit a5f2217

20 files changed

+110
-763
lines changed

.nuget/NuGet.Config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<solution>
4-
<add key="disableSourceControlIntegration" value="true" />
5-
</solution>
3+
<packageSources>
4+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5+
</packageSources>
66
</configuration>

.nuget/NuGet.exe

-1.59 MB
Binary file not shown.

.nuget/NuGet.targets

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

BuildAllConfigurations.proj

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

Lib/Moq.dll

-649 KB
Binary file not shown.

SQLite.CodeFirst.Console/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 13 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,28 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="12.0" DefaultTargets="Build" 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>{DEDABD86-6EA0-4673-A858-A4F71958F51D}</ProjectGuid>
83
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>SQLite.CodeFirst.Console</RootNamespace>
11-
<AssemblyName>SQLite.CodeFirst.Console</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15-
<NuGetPackageImportStamp>
16-
</NuGetPackageImportStamp>
17-
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
18-
<RestorePackages>true</RestorePackages>
19-
</PropertyGroup>
20-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU' ">
21-
<PlatformTarget>AnyCPU</PlatformTarget>
22-
<DebugSymbols>true</DebugSymbols>
23-
<DebugType>full</DebugType>
24-
<Optimize>false</Optimize>
25-
<OutputPath>bin\Debug\</OutputPath>
26-
<DefineConstants>DEBUG;TRACE</DefineConstants>
27-
<ErrorReport>prompt</ErrorReport>
28-
<WarningLevel>4</WarningLevel>
29-
</PropertyGroup>
30-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU'">
4+
<TargetFramework>net472</TargetFramework>
5+
<AssemblyTitle>SQLite.CodeFirst</AssemblyTitle>
6+
<Description>A console application which demonstrates how to use SQLite.CodeFirst.</Description>
7+
<Version>1.0.0.0</Version>
318
<PlatformTarget>AnyCPU</PlatformTarget>
32-
<DebugType>pdbonly</DebugType>
33-
<Optimize>true</Optimize>
34-
<OutputPath>bin\Release\</OutputPath>
35-
<DefineConstants>TRACE</DefineConstants>
36-
<ErrorReport>prompt</ErrorReport>
37-
<WarningLevel>4</WarningLevel>
38-
</PropertyGroup>
39-
<PropertyGroup>
409
<SignAssembly>true</SignAssembly>
41-
</PropertyGroup>
42-
<PropertyGroup>
4310
<AssemblyOriginatorKeyFile>..\Shared\SQLite.CodeFirst.StrongNameKey.snk</AssemblyOriginatorKeyFile>
4411
</PropertyGroup>
4512
<ItemGroup>
46-
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
47-
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
48-
</Reference>
49-
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
50-
<HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
51-
</Reference>
52-
<Reference Include="System" />
13+
<PackageReference Include="EntityFramework" Version="6.2.0" />
14+
<PackageReference Include="System.Data.SQLite" Version="1.0.109.2" />
15+
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.109.2" />
16+
<PackageReference Include="System.Data.SQLite.EF6" Version="1.0.109" />
17+
<PackageReference Include="System.Data.SQLite.Linq" Version="1.0.109" />
18+
</ItemGroup>
19+
<ItemGroup>
5320
<Reference Include="System.ComponentModel.DataAnnotations" />
5421
<Reference Include="System.Configuration" />
55-
<Reference Include="System.Core" />
56-
<Reference Include="System.Data.SQLite, Version=1.0.106.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
57-
<HintPath>..\packages\System.Data.SQLite.Core.1.0.106.0\lib\net451\System.Data.SQLite.dll</HintPath>
58-
</Reference>
59-
<Reference Include="System.Data.SQLite.EF6, Version=1.0.106.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
60-
<HintPath>..\packages\System.Data.SQLite.EF6.1.0.106.0\lib\net451\System.Data.SQLite.EF6.dll</HintPath>
61-
</Reference>
62-
<Reference Include="System.Data.SQLite.Linq, Version=1.0.106.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
63-
<HintPath>..\packages\System.Data.SQLite.Linq.1.0.106.0\lib\net451\System.Data.SQLite.Linq.dll</HintPath>
64-
</Reference>
65-
<Reference Include="System.Xml.Linq" />
6622
<Reference Include="System.Data.DataSetExtensions" />
6723
<Reference Include="Microsoft.CSharp" />
68-
<Reference Include="System.Data" />
69-
<Reference Include="System.Xml" />
70-
</ItemGroup>
71-
<ItemGroup>
72-
<Compile Include="..\Shared\AssemblySharedInfo.cs">
73-
<Link>Properties\AssemblySharedInfo.cs</Link>
74-
</Compile>
75-
<Compile Include="Entity\Coach.cs" />
76-
<Compile Include="Entity\CustomHistory.cs" />
77-
<Compile Include="Entity\FooCompositeKey.cs" />
78-
<Compile Include="Entity\FooRelationshipA.cs" />
79-
<Compile Include="Entity\FooRelationshipB.cs" />
80-
<Compile Include="Entity\IEntity.cs" />
81-
<Compile Include="Entity\Person.cs" />
82-
<Compile Include="Entity\Player.cs" />
83-
<Compile Include="Entity\Stadion.cs" />
84-
<Compile Include="Entity\Team.cs" />
85-
<Compile Include="Entity\Foo.cs" />
86-
<Compile Include="Entity\FooSelf.cs" />
87-
<Compile Include="Entity\FooStep.cs" />
88-
<Compile Include="FootballDbContext.cs" />
89-
<Compile Include="FootballDbInitializer.cs" />
90-
<Compile Include="ModelConfiguration.cs" />
91-
<Compile Include="Program.cs" />
92-
<Compile Include="Properties\AssemblyInfo.cs" />
93-
</ItemGroup>
94-
<ItemGroup>
95-
<None Include="App.config" />
96-
<None Include="packages.config" />
9724
</ItemGroup>
9825
<ItemGroup>
99-
<ProjectReference Include="..\SQLite.CodeFirst\SQLite.CodeFirst.csproj">
100-
<Project>{50A32FE4-0E13-4213-A373-72523CDF34D9}</Project>
101-
<Name>SQLite.CodeFirst</Name>
102-
</ProjectReference>
26+
<ProjectReference Include="..\SQLite.CodeFirst\SQLite.CodeFirst.csproj" />
10327
</ItemGroup>
104-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
106-
<PropertyGroup>
107-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
108-
</PropertyGroup>
109-
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
110-
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.106.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.106.0\build\net451\System.Data.SQLite.Core.targets'))" />
111-
</Target>
112-
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
113-
<Import Project="..\packages\System.Data.SQLite.Core.1.0.106.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.106.0\build\net451\System.Data.SQLite.Core.targets')" />
114-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
115-
Other similar extension points exist, see Microsoft.Common.targets.
116-
<Target Name="BeforeBuild">
117-
</Target>
118-
<Target Name="AfterBuild">
119-
</Target>
120-
-->
12128
</Project>

SQLite.CodeFirst.Console/packages.config

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

SQLite.CodeFirst.Test/Properties/AssemblyInfo.cs

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

0 commit comments

Comments
 (0)