From 39af040751f0c5ad0822f0f16f1c118f35e8916c Mon Sep 17 00:00:00 2001 From: Bordex Date: Tue, 30 May 2017 02:34:36 +0200 Subject: [PATCH] Changed Logic from Console Application to ClassLibrary --- Logic/Logic.csproj | 5 ++++- Logic/MainFrame.cs | 13 ------------- SpotOsu/GUI.csproj | 28 ++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/Logic/Logic.csproj b/Logic/Logic.csproj index 51ef3f9..24ee99f 100644 --- a/Logic/Logic.csproj +++ b/Logic/Logic.csproj @@ -5,7 +5,7 @@ Debug AnyCPU {724594BC-A31C-4C8F-9948-54BF3100C6BD} - Exe + Library Properties Logic Logic @@ -34,6 +34,9 @@ prompt 4 + + + ..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll diff --git a/Logic/MainFrame.cs b/Logic/MainFrame.cs index 44bce5a..7c7bea2 100644 --- a/Logic/MainFrame.cs +++ b/Logic/MainFrame.cs @@ -19,19 +19,6 @@ public class MainFrame public const int MAX_BEATMAPS = 400; - static void Main(string[] args) - { - string OsuPath = $@"C:\Users\{Environment.UserName}\AppData\Local\osu!\"; - // collections_db = CollectionDb.Read(OsuPath + "collection.db"); - //osu_db = OsuDb.Read(OsuPath + "osu!.db"); - ////showCollectionBeatmaps(); - //showEnumerable( GetCollectionBeatmaps("favs") ); - //Spotify sp = new Spotify("37f38404eb534b2eaf877c9b48639b49"); - //showEnumerable(GetAllBeatmaps()); - //var list = GetCollectionBeatmaps("testAPP"); - //sp.CreatePlaylistByCollection("prueba", GetAllBeatmaps() ); - } - public MainFrame(string path = "") { Osu_path = !path.Equals("") ? path : $@"C:\Users\{Environment.UserName}\AppData\Local\osu!\"; diff --git a/SpotOsu/GUI.csproj b/SpotOsu/GUI.csproj index 380c127..4c9c4e6 100644 --- a/SpotOsu/GUI.csproj +++ b/SpotOsu/GUI.csproj @@ -14,6 +14,21 @@ true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true AnyCPU @@ -34,6 +49,7 @@ prompt 4 + ..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll @@ -118,6 +134,18 @@ PreserveNewest + + + False + Microsoft .NET Framework 4.5.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + +