The Free Software Media System - Server Backend & API
Set the Common, Controller, Model, UI and UI.Controls to go into one folder, set nuspec files up for the packages to make it easier to create nuget packages.
ScottIsAFool83b7b1861421
diff --git a/.gitignore b/.gitignoreindex 3fbadb705a..d673b0d967 100644--- a/.gitignore+++ b/.gitignore@@ -145,6 +145,7 @@ publish/# NuGet Packages Directory## TODO: If you have NuGet Package Restore enabled, uncomment the next linepackages/+dlls/# Windows Azure Build Outputcsxdiff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csprojindex 0f0c58f178..6b9e3e2597 100644--- a/MediaBrowser.Common/MediaBrowser.Common.csproj+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj@@ -229,6 +229,9 @@<ItemGroup /><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><Import Project="$(SolutionDir)\.nuget\nuget.targets" />+ <PropertyGroup>+ <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>+ </PropertyGroup><!-- 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">diff --git a/MediaBrowser.Controller/MediaBrowser.Controller.csproj b/MediaBrowser.Controller/MediaBrowser.Controller.csprojindex 3978e6e397..45822a8244 100644--- a/MediaBrowser.Controller/MediaBrowser.Controller.csproj+++ b/MediaBrowser.Controller/MediaBrowser.Controller.csproj@@ -223,8 +223,7 @@<ItemGroup /><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><PropertyGroup>- <PostBuildEvent>- </PostBuildEvent>+ <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent></PropertyGroup><PropertyGroup><PreBuildEvent>diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csprojindex f445567f1a..c4010e1d9b 100644--- a/MediaBrowser.Model/MediaBrowser.Model.csproj+++ b/MediaBrowser.Model/MediaBrowser.Model.csproj@@ -125,8 +125,7 @@</ItemGroup><Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /><PropertyGroup>- <PostBuildEvent>- </PostBuildEvent>+ <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent></PropertyGroup><Import Project="$(SolutionDir)\.nuget\nuget.targets" /><!-- To modify your build process, add your task inside one of the targets below and uncomment it.diff --git a/MediaBrowser.UI.Controls/MediaBrowser.UI.Controls.csproj b/MediaBrowser.UI.Controls/MediaBrowser.UI.Controls.csprojindex c6eb064f3a..ee8d2dca76 100644--- a/MediaBrowser.UI.Controls/MediaBrowser.UI.Controls.csproj+++ b/MediaBrowser.UI.Controls/MediaBrowser.UI.Controls.csproj@@ -97,6 +97,9 @@</Page></ItemGroup><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />+ <PropertyGroup>+ <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>+ </PropertyGroup><!-- 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">diff --git a/MediaBrowser.UI/MediaBrowser.UI.csproj b/MediaBrowser.UI/MediaBrowser.UI.csprojindex 798bf461ad..5601d7c48a 100644--- a/MediaBrowser.UI/MediaBrowser.UI.csproj+++ b/MediaBrowser.UI/MediaBrowser.UI.csproj@@ -1311,6 +1311,9 @@</ItemGroup><Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /><Import Project="$(SolutionDir)\.nuget\nuget.targets" />+ <PropertyGroup>+ <PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)\Nuget\dlls\" /y /d /r /i</PostBuildEvent>+ </PropertyGroup><!-- 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">diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspecnew file mode 100644index 0000000000..b6ca6ae024--- /dev/null+++ b/Nuget/MediaBrowser.Common.nuspec@@ -0,0 +1,18 @@+<?xml version="1.0" encoding="utf-8"?>+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">+ <metadata>+ <id>MediaBrowser.Common</id>+ <version>1.0.1</version>+ <title>MediaBrowser.Common</title>+ <authors>Media Browser Team</authors>+ <owners />+ <projectUrl>https://github.com/MediaBrowser/MediaBrowser</projectUrl>+ <requireLicenseAcceptance>false</requireLicenseAcceptance>+ <description>Contains common model objects and interfaces used by all Media Browser solutions.</description>+ </metadata>+ <files>+ <file src="dlls\MediaBrowser.Common.dll" target="lib\net45\MediaBrowser.Common.dll" />+ <file src="dlls\MediaBrowser.Model.dll" target="lib\net45\MediaBrowser.Model.dll" />+ <file src="dlls\MediaBrowser.Model.dll" target="lib\portable-net4+sl4+wp7+win8\MediaBrowser.Model.dll" />+ </files>+</package>\ No newline at end of filediff --git a/Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-id b/Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-iddeleted file mode 100644index a2490601ef..0000000000--- a/Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-id+++ /dev/null@@ -1 +0,0 @@-da3d30d634468465d8995ba6cb1c0872959b3e9c\ No newline at end of filediff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspecnew file mode 100644index 0000000000..82fb2c531f--- /dev/null+++ b/Nuget/MediaBrowser.Server.Core.nuspec@@ -0,0 +1,19 @@+<?xml version="1.0" encoding="utf-8"?>+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">+ <metadata>+ <id>MediaBrowser.Server.Core</id>+ <version>1.0.0</version>+ <title>Media Browser.Server.Core</title>+ <authors>Media Browser Team</authors>+ <owners />+ <projectUrl>https://github.com/MediaBrowser/MediaBrowser</projectUrl>+ <requireLicenseAcceptance>false</requireLicenseAcceptance>+ <description>Contains core components required to build plugins for Media Browser Server.</description>+ <dependencies>+ <dependency id="MediaBrowser.Common" version="1.0.1" />+ </dependencies>+ </metadata>+ <files>+ <file src="dlls\MediaBrowser.Controller.dll" target="lib\net45\MediaBrowser.Controller.dll" />+ </files>+</package>\ No newline at end of filediff --git a/Nuget/MediaBrowser.Theater.Core.nuspec b/Nuget/MediaBrowser.Theater.Core.nuspecnew file mode 100644index 0000000000..1456ced036--- /dev/null+++ b/Nuget/MediaBrowser.Theater.Core.nuspec@@ -0,0 +1,20 @@+<?xml version="1.0" encoding="utf-8"?>+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">+ <metadata>+ <id>MediaBrowser.Theater.Core</id>+ <version>1.0.0</version>+ <title>MediaBrowser.Theater.Core</title>+ <authors>Media Browser Team</authors>+ <owners />+ <projectUrl>https://github.com/MediaBrowser/MediaBrowser.Theater</projectUrl>+ <requireLicenseAcceptance>false</requireLicenseAcceptance>+ <description>Contains components required to build plugins for Media Browser Theater.</description>+ <dependencies>+ <dependency id="MediaBrowser.Common" version="1.0.1" />+ </dependencies>+ </metadata>+ <files>+ <file src="dlls\MediaBrowser.UI.Controls.dll" target="lib\net45\MediaBrowser.UI.Controls.dll" />+ <file src="dlls\MediaBrowser.UI.dll" target="lib\net45\MediaBrowser.UI.dll" />+ </files>+</package>\ No newline at end of file