Skip to content

Commit

Permalink
Merge branch 'Development' into Unused-References-Removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew1471 authored Apr 2, 2017
2 parents 5879aee + 22d1a3e commit 60afac5
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 33 deletions.
2 changes: 1 addition & 1 deletion SimpleDLNA/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public partial class FormMain : Form, IAppender

#if DEBUG
private readonly FileInfo logFile =
new FileInfo(Path.Combine(cacheDir, "sdlna.dbg.log"));
new FileInfo(Path.Combine(CacheDir, "sdlna.dbg.log"));
#else
private readonly FileInfo logFile =
new FileInfo(Path.Combine(CacheDir, "sdlna.log"));
Expand Down
4 changes: 2 additions & 2 deletions SimpleDLNA/SimpleDLNA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
<AssemblyOriginatorKeyFile>sdlna.key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand Down
3 changes: 2 additions & 1 deletion SimpleDLNA/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.5" targetFramework="net451" />
<package id="log4net" version="2.0.8" targetFramework="net451" />
<package id="System.Data.SQLite.Core" version="1.0.104.0" targetFramework="net451" />
</packages>
4 changes: 2 additions & 2 deletions fsserver/fsserver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
<AssemblyOriginatorKeyFile>sdlna.key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="policy.2.0.taglib-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion fsserver/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.5" targetFramework="net451" />
<package id="log4net" version="2.0.8" targetFramework="net451" />
<package id="taglib" version="2.1.0.0" targetFramework="net451" />
</packages>
2 changes: 1 addition & 1 deletion sdlna/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="GetOptNet" version="1.2.0.0" targetFramework="net451" />
<package id="log4net" version="2.0.5" targetFramework="net451" />
<package id="log4net" version="2.0.8" targetFramework="net451" />
</packages>
6 changes: 3 additions & 3 deletions sdlna/sdlna.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>D:\bin\</OutputPath>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
Expand All @@ -77,8 +77,8 @@
<HintPath>..\packages\GetOptNet.1.2.0.0\lib\net35-Client\GetOptNet.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand Down
2 changes: 1 addition & 1 deletion server/Http/HttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ private void SetupResponse()
}
catch (HttpStatusException ex) {
#if DEBUG
Warn(String.Format("{0} - Got a {2}: {1}", this, path, ex.Code), ex);
Warn(String.Format("{0} - Got a {2}: {1}", this, Path, ex.Code), ex);
#else
InfoFormat("{0} - Got a {2}: {1}", this, Path, ex.Code);
#endif
Expand Down
2 changes: 1 addition & 1 deletion server/Types/DlnaMaps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static class DlnaMaps
{DlnaMime.VideoAVC, "video/mp4"},
{DlnaMime.VideoAVI, "video/avi"},
{DlnaMime.VideoFLV, "video/flv"},
{DlnaMime.VideoMKV, "video/x-mkv"},
{DlnaMime.VideoMKV, "video/x-matroska"},
{DlnaMime.VideoMPEG, "video/mpeg"},
{DlnaMime.VideoOGV, "video/ogg"},
{DlnaMime.VideoWMV, "video/x-ms-wmv"}
Expand Down
2 changes: 1 addition & 1 deletion server/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.5" targetFramework="net451" />
<package id="log4net" version="2.0.8" targetFramework="net451" />
</packages>
4 changes: 2 additions & 2 deletions server/server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
</PropertyGroup>
<PropertyGroup />
<ItemGroup>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand Down
2 changes: 1 addition & 1 deletion thumbs/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="log4net" version="2.0.5" targetFramework="net451" />
<package id="log4net" version="2.0.8" targetFramework="net451" />
</packages>
4 changes: 2 additions & 2 deletions thumbs/thumbs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<AssemblyOriginatorKeyFile>sdlna.key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand Down
8 changes: 4 additions & 4 deletions util/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="6.0.0" targetFramework="net451" />
<package id="log4net" version="2.0.5" targetFramework="net451" />
<package id="Microsoft.IO.RecyclableMemoryStream" version="1.1.0.0" targetFramework="net451" />
<package id="System.Data.SQLite.Core" version="1.0.103" targetFramework="net451" />
<package id="EntityFramework" version="6.1.3" targetFramework="net451" />
<package id="log4net" version="2.0.8" targetFramework="net451" />
<package id="Microsoft.IO.RecyclableMemoryStream" version="1.2.1" targetFramework="net451" />
<package id="System.Data.SQLite.Core" version="1.0.104.0" targetFramework="net451" />
</packages>
21 changes: 11 additions & 10 deletions util/util.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,25 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath>
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
<HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.5\lib\net45-full\log4net.dll</HintPath>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.IO.RecyclableMemoryStream">
<HintPath>..\packages\Microsoft.IO.RecyclableMemoryStream.1.1.0.0\lib\net45\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
<Reference Include="Microsoft.IO.RecyclableMemoryStream, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.IO.RecyclableMemoryStream.1.2.1\lib\net45\Microsoft.IO.RecyclableMemoryStream.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data.SQLite, Version=1.0.103.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\System.Data.SQLite.Core.1.0.103\lib\net451\System.Data.SQLite.dll</HintPath>
<Reference Include="System.Data.SQLite, Version=1.0.104.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\System.Data.SQLite.Core.1.0.104.0\lib\net451\System.Data.SQLite.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Drawing" />
Expand Down Expand Up @@ -119,9 +120,9 @@
<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>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.103\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.103\build\net451\System.Data.SQLite.Core.targets'))" />
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets'))" />
</Target>
<Import Project="..\packages\System.Data.SQLite.Core.1.0.103\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.103\build\net451\System.Data.SQLite.Core.targets')" />
<Import Project="..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down

0 comments on commit 60afac5

Please sign in to comment.