Skip to content

Commit 104e6bc

Browse files
committed
Update solution to VS2017 and new csproj format
1 parent 7a45f8f commit 104e6bc

File tree

9 files changed

+82
-172
lines changed

9 files changed

+82
-172
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net452</TargetFramework>
5+
<NetStandardImplicitPackageVersion>1.6.0</NetStandardImplicitPackageVersion>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<None Update="Files\ubuntu-14.10-desktop-amd64.iso.torrent">
10+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
11+
</None>
12+
</ItemGroup>
13+
14+
<ItemGroup>
15+
<ProjectReference Include="..\BencodeNET\BencodeNET.csproj" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<Reference Include="System" />
20+
<Reference Include="Microsoft.CSharp" />
21+
<PackageReference Include="AutoFixture" Version="3.50.2" />
22+
<PackageReference Include="AutoFixture.AutoNSubstitute" Version="3.50.2" />
23+
<PackageReference Include="AutoFixture.Xunit2" Version="3.50.2" />
24+
<PackageReference Include="FluentAssertions" Version="4.19.2" />
25+
<PackageReference Include="NSubstitute" Version="2.0.2" />
26+
<PackageReference Include="xunit" Version="2.2.0" />
27+
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" />
28+
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
29+
</ItemGroup>
30+
31+
</Project>

BencodeNET.Tests/BencodeNET.Tests.xproj

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

BencodeNET.Tests/Properties/AssemblyInfo.cs

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

BencodeNET.Tests/project.json

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

BencodeNET.sln

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.26228.10
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{65E984B8-653C-4BCD-AE37-4E21497B5B87}"
77
ProjectSection(SolutionItems) = preProject
@@ -11,24 +11,24 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1111
README.md = README.md
1212
EndProjectSection
1313
EndProject
14-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BencodeNET", "BencodeNET\BencodeNET.xproj", "{F36BB49E-1B21-418B-A4A1-C05430A8F5BA}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BencodeNET", "BencodeNET\BencodeNET.csproj", "{EA5E8A32-8EC7-4618-95BC-EAF95F1C2E52}"
1515
EndProject
16-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "BencodeNET.Tests", "BencodeNET.Tests\BencodeNET.Tests.xproj", "{2CD467B2-EFD7-4000-90AA-A252FD729AB7}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BencodeNET.Tests", "BencodeNET.Tests\BencodeNET.Tests.csproj", "{5992CAC5-C0D3-4255-BFD7-C11C07969900}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2020
Debug|Any CPU = Debug|Any CPU
2121
Release|Any CPU = Release|Any CPU
2222
EndGlobalSection
2323
GlobalSection(ProjectConfigurationPlatforms) = postSolution
24-
{F36BB49E-1B21-418B-A4A1-C05430A8F5BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25-
{F36BB49E-1B21-418B-A4A1-C05430A8F5BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
26-
{F36BB49E-1B21-418B-A4A1-C05430A8F5BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
27-
{F36BB49E-1B21-418B-A4A1-C05430A8F5BA}.Release|Any CPU.Build.0 = Release|Any CPU
28-
{2CD467B2-EFD7-4000-90AA-A252FD729AB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29-
{2CD467B2-EFD7-4000-90AA-A252FD729AB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
30-
{2CD467B2-EFD7-4000-90AA-A252FD729AB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
31-
{2CD467B2-EFD7-4000-90AA-A252FD729AB7}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{EA5E8A32-8EC7-4618-95BC-EAF95F1C2E52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{EA5E8A32-8EC7-4618-95BC-EAF95F1C2E52}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{EA5E8A32-8EC7-4618-95BC-EAF95F1C2E52}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{EA5E8A32-8EC7-4618-95BC-EAF95F1C2E52}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{5992CAC5-C0D3-4255-BFD7-C11C07969900}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{5992CAC5-C0D3-4255-BFD7-C11C07969900}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{5992CAC5-C0D3-4255-BFD7-C11C07969900}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{5992CAC5-C0D3-4255-BFD7-C11C07969900}.Release|Any CPU.Build.0 = Release|Any CPU
3232
EndGlobalSection
3333
GlobalSection(SolutionProperties) = preSolution
3434
HideSolutionNode = FALSE

BencodeNET/BencodeNET.csproj

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net45;netstandard1.3</TargetFrameworks>
5+
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.0</NetStandardImplicitPackageVersion>
6+
<GenerateDocumentationFile>True</GenerateDocumentationFile>
7+
<PackageId>BencodeNET</PackageId>
8+
<Version>2.2.2</Version>
9+
<Authors>Søren Kruse</Authors>
10+
<Company />
11+
<Product>BencodeNET</Product>
12+
<Description>A library for encoding and decoding bencode (e.g. torrent files)</Description>
13+
<PackageLicenseUrl>https://github.com/Krusen/BencodeNET/blob/master/LICENSE.md</PackageLicenseUrl>
14+
<PackageProjectUrl>https://github.com/Krusen/BencodeNET</PackageProjectUrl>
15+
<PackageIconUrl>https://raw.githubusercontent.com/Krusen/BencodeNET/master/Assets/icon.png</PackageIconUrl>
16+
<RepositoryUrl>https://github.com/Krusen/BencodeNET</RepositoryUrl>
17+
<RepositoryType>git</RepositoryType>
18+
<PackageReleaseNotes>Now uses the encoding information of a .torrent when parsing the torrent data.</PackageReleaseNotes>
19+
<PackageTags>bencode;torrent;torrents</PackageTags>
20+
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
21+
<IncludeSource>True</IncludeSource>
22+
<IncludeSymbols>True</IncludeSymbols>
23+
</PropertyGroup>
24+
25+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
26+
<DefineConstants>$(DefineConstants);NETSTANDARD</DefineConstants>
27+
</PropertyGroup>
28+
29+
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
30+
<Reference Include="System" />
31+
<Reference Include="Microsoft.CSharp" />
32+
</ItemGroup>
33+
34+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard1.3' ">
35+
<PackageReference Include="System.Reflection" Version="4.1.0" />
36+
<PackageReference Include="System.Security.Cryptography.Algorithms" Version="4.2.0" />
37+
</ItemGroup>
38+
39+
</Project>

BencodeNET/BencodeNET.xproj

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

BencodeNET/Properties/AssemblyInfo.cs

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

BencodeNET/project.json

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

0 commit comments

Comments
 (0)