-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
113 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
BencodeNET.Torrents.Tests/BencodeNET.Torrents.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net472;netcoreapp2.0;netcoreapp2.2;netcoreapp3.0</TargetFrameworks> | ||
<LangVersion>7.3</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\BencodeNET.Tests\BencodeNET.Tests.csproj" /> | ||
<ProjectReference Include="..\BencodeNET.Torrents\BencodeNET.Torrents.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Files\ubuntu-14.10-desktop-amd64.iso.torrent"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netcoreapp2.1;netcoreapp3.0</TargetFrameworks> | ||
<LangVersion>7.3</LangVersion> | ||
<GenerateDocumentationFile>True</GenerateDocumentationFile> | ||
<CodeAnalysisRuleSet>BencodeNET.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
|
||
<!-- Needed for code coverage --> | ||
<PropertyGroup> | ||
<DebugType>full</DebugType> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<PackageId>BencodeNET.Torrents</PackageId> | ||
<Version>$(SemVer)</Version> | ||
<Authors>Søren Kruse</Authors> | ||
<Company /> | ||
<Product>BencodeNET.Torrents</Product> | ||
<Description>A library for working with torrent files</Description> | ||
<PackageLicenseExpression>Unlicense</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/Krusen/BencodeNET</PackageProjectUrl> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<RepositoryUrl>https://github.com/Krusen/BencodeNET</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageReleaseNotes></PackageReleaseNotes> | ||
<PackageTags>bencode;torrent;torrents;torrentfile</PackageTags> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<IncludeSource>True</IncludeSource> | ||
<IncludeSymbols>True</IncludeSymbols> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="../Assets/icon.png" Pack="true" PackagePath="/" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<!--<PackageReference Include="System.Buffers" Version="4.5.0" /> | ||
<PackageReference Include="System.IO.Pipelines" Version="4.6.0" />--> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\BencodeNET\BencodeNET.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RuleSet Name="Microsoft Managed Recommended Rules" Description="These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. It is recommended to include this rule set in any custom rule set you create for your projects." ToolsVersion="10.0"> | ||
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized"> | ||
<Name Resource="MinimumRecommendedRules_Name" /> | ||
<Description Resource="MinimumRecommendedRules_Description" /> | ||
</Localization> | ||
<Rules AnalyzerId="Microsoft.VisualStudio.Threading.Analyzers" RuleNamespace="Microsoft.VisualStudio.Threading.Analyzers"> | ||
<Rule Id="VSTHRD111" Action="Error" /> | ||
</Rules> | ||
</RuleSet> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
namespace BencodeNET.Torrents | ||
{ | ||
internal static class UtilityExtensions | ||
{ | ||
public static IEnumerable<T> Flatten<T>(this IEnumerable<IEnumerable<T>> source) | ||
{ | ||
return source.SelectMany(x => x); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters