From 6459f0350e62fc9901f0434ec084b743a5bb6e20 Mon Sep 17 00:00:00 2001 From: lukeIam Date: Wed, 30 Sep 2015 20:21:41 +0200 Subject: [PATCH] - Moved unmanaged libs to folder libs/unmanaged - Modified loading path - Updated nuget package versions - Changed the way managed assemblies are referenced --- .../GstreamerSharp/CGstreamerSharpAudio.cs | 4 +- Vocaluxe/Vocaluxe.csproj | 114 ++++++------------ Vocaluxe/packages.config | 27 ++--- .../WebserverInitalConfig.csproj | 22 ++-- WebserverInitalConfig/packages.config | 4 +- 5 files changed, 66 insertions(+), 105 deletions(-) diff --git a/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs b/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs index fceb8227..683e3d75 100644 --- a/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs +++ b/Vocaluxe/Lib/Sound/Playback/GstreamerSharp/CGstreamerSharpAudio.cs @@ -40,10 +40,10 @@ namespace Vocaluxe.Lib.Sound.Playback.GstreamerSharp if (gstreamerEnvVar == null) { #if ARCH_X86 - dllDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "gstreamer86\\bin\\"); + dllDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\gstreamer86\\bin\\"); #endif #if ARCH_X64 - dllDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "gstreamer64\\bin\\"); + dllDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "libs\\unmanaged\\gstreamer64\\bin\\"); #endif if (!Directory.Exists(dllDirectory)) { diff --git a/Vocaluxe/Vocaluxe.csproj b/Vocaluxe/Vocaluxe.csproj index 9b3e35b5..54bc01de 100644 --- a/Vocaluxe/Vocaluxe.csproj +++ b/Vocaluxe/Vocaluxe.csproj @@ -31,7 +31,7 @@ 1.0.0.%2a false true - c1942c0f + 3d91144f x86 @@ -144,66 +144,25 @@ WIN;ARCH_X64;INSTALLER Off - - - False - ..\packages\vocaluxe.dependencies.aforgevideo.1.0.0\lib\net40\AForge.Video.dll - - - False - ..\packages\vocaluxe.dependencies.aforgevideo.1.0.0\lib\net40\AForge.Video.DirectShow.dll - - - False - ..\packages\vocaluxe.dependencies.csharpsqlite.1.0.0\lib\net40\Community.CsharpSqlite.dll - - - False - ..\packages\vocaluxe.dependencies.gstreamersharp.1.0.0\lib\net40\glib-sharp.dll - - - False - ..\packages\vocaluxe.dependencies.gstreamersharp.1.0.0\lib\net40\gstreamer-sharp.dll - - - False - ..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\Mono.Data.Sqlite.dll - - - False - ..\packages\vocaluxe.dependencies.opentk.1.0.0\lib\net40\OpenTK.dll - - - False - ..\packages\vocaluxe.dependencies.opentk.1.0.0\lib\net40\OpenTK.Compatibility.dll - - - False - ..\packages\vocaluxe.dependencies.opentk.1.0.0\lib\net40\OpenTK.GLControl.dll - - - False - ..\packages\vocaluxe.dependencies.portaudiosharp.1.0.0\lib\net40\PortAudioSharp.dll - - - False - ..\packages\vocaluxe.dependencies.qrcoder.1.0.0\lib\net40\QRCoder.dll - + False - ..\packages\Mono.Data.Sqlite.Portable.1.0.3.5\lib\net4\System.Data.Portable.dll + ..\packages\vocaluxe.dependencies.sqlite.1.0.1\lib\net40\System.Data.Portable.dll - + False - ..\packages\System.Data.SQLite.Core.1.0.97.0\lib\net40\System.Data.SQLite.dll + ..\packages\vocaluxe.dependencies.sqlite.1.0.1\lib\net40\System.Data.SQLite.dll + + ..\packages\vocaluxe.dependencies.sqlite.1.0.1\lib\net40\System.Transactions.Portable.dll + @@ -302,9 +261,7 @@ - - Form - + Form @@ -556,37 +513,40 @@ powershell -command "(Get-Content -Encoding UTF8 '$(ProjectDir)Properties\Assemb $(PostBuildEventDependsOn); PostBuildMacros; - - + - 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}. + This project references NuGet package(s) that are missing on this computer. Rebuild for automatic package restore. The missing file is {0}. - - - - - - - - + + + + + + + + + + - + + + - - - - - - - - - - - - + + + + + + + + + + - + + + \ No newline at end of file diff --git a/Vocaluxe/packages.config b/Vocaluxe/packages.config index 636b5f64..cd5a1138 100644 --- a/Vocaluxe/packages.config +++ b/Vocaluxe/packages.config @@ -1,19 +1,18 @@  - - - - - - - - - - - - - + + + + + + + + + + + + - + \ No newline at end of file diff --git a/WebserverInitalConfig/WebserverInitalConfig.csproj b/WebserverInitalConfig/WebserverInitalConfig.csproj index 09908ebc..e19a2407 100644 --- a/WebserverInitalConfig/WebserverInitalConfig.csproj +++ b/WebserverInitalConfig/WebserverInitalConfig.csproj @@ -12,6 +12,7 @@ v4.0 512 + 2127e8d4 AnyCPU @@ -35,15 +36,7 @@ Vocaluxe.ico - - - ..\packages\vocaluxe.dependencies.netfwtypelib.1.0.0\lib\net40\Interop.NetFwTypeLib.dll - True - - - False - ..\packages\vocaluxe.dependencies.securitycryptography.1.0.0\lib\net40\Security.Cryptography.dll - + @@ -73,7 +66,16 @@ - + + + + This project references NuGet package(s) that are missing on this computer. Rebuild for automatic package restore. The missing file is {0}. + + + + + +