aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScottIsAFool <scottisafool@live.co.uk>2013-02-22 19:20:30 +0000
committerScottIsAFool <scottisafool@live.co.uk>2013-02-22 19:22:39 +0000
commit83b7b1861421a6f9353deef364e3af97ae7a95fb (patch)
tree49e26fc41432304f52de308941a77fd968476a6b
parenta7f3c307e127e32c04310db04934f2637deecd8a (diff)
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.
-rw-r--r--.gitignore1
-rw-r--r--MediaBrowser.Common/MediaBrowser.Common.csproj3
-rw-r--r--MediaBrowser.Controller/MediaBrowser.Controller.csproj3
-rw-r--r--MediaBrowser.Model/MediaBrowser.Model.csproj3
-rw-r--r--MediaBrowser.UI.Controls/MediaBrowser.UI.Controls.csproj3
-rw-r--r--MediaBrowser.UI/MediaBrowser.UI.csproj3
-rw-r--r--Nuget/MediaBrowser.Common.nuspec18
-rw-r--r--Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-id1
-rw-r--r--Nuget/MediaBrowser.Server.Core.nuspec19
-rw-r--r--Nuget/MediaBrowser.Theater.Core.nuspec20
10 files changed, 69 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 3fbadb705..d673b0d96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -145,6 +145,7 @@ publish/
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
packages/
+dlls/
# Windows Azure Build Output
csx
diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csproj
index 0f0c58f17..6b9e3e259 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.csproj
index 3978e6e39..45822a824 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.csproj
index f445567f1..c4010e1d9 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.csproj
index c6eb064f3..ee8d2dca7 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.csproj
index 798bf461a..5601d7c48 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.nuspec
new file mode 100644
index 000000000..b6ca6ae02
--- /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 file
diff --git a/Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-id b/Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-id
deleted file mode 100644
index a2490601e..000000000
--- a/Nuget/MediaBrowser.Server.Core.nupkg.REMOVED.git-id
+++ /dev/null
@@ -1 +0,0 @@
-da3d30d634468465d8995ba6cb1c0872959b3e9c \ No newline at end of file
diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspec
new file mode 100644
index 000000000..82fb2c531
--- /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 file
diff --git a/Nuget/MediaBrowser.Theater.Core.nuspec b/Nuget/MediaBrowser.Theater.Core.nuspec
new file mode 100644
index 000000000..1456ced03
--- /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