diff --git a/README.md b/README.md index 0b8789f37..3888dc4d7 100644 --- a/README.md +++ b/README.md @@ -18,20 +18,15 @@ A full list of supported devices can be found on the wiki [here](https://wiki.ar #### Want to build? Follow these instructions 1. Create a central folder like ```C:\Repos``` -2. Clone RGB.NET's [development branch](https://github.com/DarthAffe/RGB.NET/tree/Development) into ```\RGB.NET``` -3. Clone Artemis into ```\Artemis``` -4. Clone Artemis.Plugins [master branch](https://github.com/Artemis-RGB/Artemis.Plugins/tree/master) into ```\Artemis.Plugins``` -5. Open ```\RGB.NET\RGB.NET.sln``` and build with the default config -6. Open ```\Artemis\src\Artemis.sln``` and build as Debug -7. Open ```\Artemis.Plugins\src\Artemis.Plugins.sln``` and build as Debug -8. Restore Nuget packages +2. Clone Artemis into ```\Artemis``` +3. Clone Artemis.Plugins [master branch](https://github.com/Artemis-RGB/Artemis.Plugins/tree/master) into ```\Artemis.Plugins``` +4. Open ```\Artemis\src\Artemis.sln``` and build as Debug +5. Open ```\Artemis.Plugins\src\Artemis.Plugins.sln``` and build as Debug ##### Alternatively in PowerShell ``` -git clone https://github.com/DarthAffe/RGB.NET -b Development RGB.NET git clone https://github.com/Artemis-RGB/Artemis Artemis git clone https://github.com/Artemis-RGB/Artemis.Plugins Artemis.Plugins -dotnet build .\RGB.NET\RGB.NET.sln dotnet build .\Artemis\src\Artemis.sln dotnet build .\Artemis.Plugins\src\Artemis.Plugins.sln ``` diff --git a/azure-pipelines-pr.yml b/azure-pipelines-pr.yml index 3e01801ac..b0139714f 100644 --- a/azure-pipelines-pr.yml +++ b/azure-pipelines-pr.yml @@ -10,11 +10,6 @@ pr: resources: repositories: - - repository: RGBNET - type: github - endpoint: github.com_SpoinkyNL - name: DarthAffe/RGB.NET - ref: Development - repository: Plugins type: github endpoint: github.com_SpoinkyNL @@ -26,7 +21,6 @@ pool: variables: artemisSolution: '**/Artemis.sln' - rgbSolution: '**/RGB.NET.sln' pluginProjects: '**/Artemis.Plugins.*.csproj' BuildId: $(Build.BuildId) BuildNumber: $(Build.BuildNumber) @@ -34,20 +28,11 @@ variables: SourceVersion: $(Build.SourceVersion) steps: -- checkout: RGBNET - path: s/RGB.NET - checkout: self path: s/Artemis - checkout: Plugins path: s/Artemis.Plugins -- task: DotNetCoreCLI@2 - displayName: 'RGB.NET - Build' - inputs: - command: 'build' - projects: '$(rgbSolution)' - arguments: '--configuration Release' - - task: DotNetCoreCLI@2 displayName: 'Artemis - Publish' inputs: diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml index 8e16ec412..251a7197b 100644 --- a/ci/azure-pipelines.yml +++ b/ci/azure-pipelines.yml @@ -9,16 +9,11 @@ pr: none resources: repositories: - - repository: RGBNET - type: github - endpoint: github.com_SpoinkyNL - name: DarthAffe/RGB.NET - ref: Development - repository: Plugins type: github endpoint: github.com_SpoinkyNL name: Artemis-RGB/Artemis.Plugins - ref: master + ref: csproj-update-wpf pool: vmImage: 'windows-latest' @@ -33,20 +28,11 @@ variables: SourceVersion: $(Build.SourceVersion) steps: -- checkout: RGBNET - path: s/RGB.NET - checkout: self path: s/Artemis - checkout: Plugins path: s/Artemis.Plugins -- task: DotNetCoreCLI@2 - displayName: 'RGB.NET - Build' - inputs: - command: 'build' - projects: '$(rgbSolution)' - arguments: '--configuration Release' - - task: DotNetCoreCLI@2 displayName: 'Artemis - Publish' inputs: diff --git a/src/Artemis.ConsoleUI/packages.lock.json b/src/Artemis.ConsoleUI/packages.lock.json index feeaa74a8..54fea5121 100644 --- a/src/Artemis.ConsoleUI/packages.lock.json +++ b/src/Artemis.ConsoleUI/packages.lock.json @@ -204,6 +204,27 @@ "Ninject": "3.3.3" } }, + "RGB.NET.Core": { + "type": "Transitive", + "resolved": "1.0.0-prerelease1", + "contentHash": "aaCPk++kr1TaV/qWYeol5975IN3XifDuuQ9wrCD+nw1cy05BMdGVhuQ72ITb0YRBedssd/btkM51ZABsBd8CEQ==" + }, + "RGB.NET.Layout": { + "type": "Transitive", + "resolved": "1.0.0-prerelease1", + "contentHash": "nbaHbcY59tzFSeTDbImhrcR1ZyJpoC0x6WawXdtGXO7x3F91ajM7kM5SJwi/5jHdD61vGV0ARuznmR8ErAWegQ==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, + "RGB.NET.Presets": { + "type": "Transitive", + "resolved": "1.0.0-prerelease1", + "contentHash": "XU8XeI0fQF26fd0pQHgoe9RaROuvENmZlX/1QyyaN9P3j0LtYmy6ycWZbsXp8byLT0UcGbS+odMiQQAnK+kxgg==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.0", @@ -1223,6 +1244,9 @@ "Ninject": "3.3.4", "Ninject.Extensions.ChildKernel": "3.3.0", "Ninject.Extensions.Conventions": "3.3.0", + "RGB.NET.Core": "1.0.0-prerelease1", + "RGB.NET.Layout": "1.0.0-prerelease1", + "RGB.NET.Presets": "1.0.0-prerelease1", "Serilog": "2.10.0", "Serilog.Sinks.Console": "4.0.0", "Serilog.Sinks.Debug": "2.0.0", diff --git a/src/Artemis.Core/Artemis.Core.csproj b/src/Artemis.Core/Artemis.Core.csproj index a8b6dd96c..e80f308ce 100644 --- a/src/Artemis.Core/Artemis.Core.csproj +++ b/src/Artemis.Core/Artemis.Core.csproj @@ -47,6 +47,9 @@ + + + @@ -62,17 +65,6 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - - ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Core.dll - - - ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Layout.dll - - - ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Presets.dll - - PreserveNewest diff --git a/src/Artemis.Core/packages.lock.json b/src/Artemis.Core/packages.lock.json index ea7b5f80c..d6d49560e 100644 --- a/src/Artemis.Core/packages.lock.json +++ b/src/Artemis.Core/packages.lock.json @@ -73,6 +73,30 @@ "Ninject.Extensions.Factory": "3.3.2" } }, + "RGB.NET.Core": { + "type": "Direct", + "requested": "[1.0.0-prerelease1, )", + "resolved": "1.0.0-prerelease1", + "contentHash": "aaCPk++kr1TaV/qWYeol5975IN3XifDuuQ9wrCD+nw1cy05BMdGVhuQ72ITb0YRBedssd/btkM51ZABsBd8CEQ==" + }, + "RGB.NET.Layout": { + "type": "Direct", + "requested": "[1.0.0-prerelease1, )", + "resolved": "1.0.0-prerelease1", + "contentHash": "nbaHbcY59tzFSeTDbImhrcR1ZyJpoC0x6WawXdtGXO7x3F91ajM7kM5SJwi/5jHdD61vGV0ARuznmR8ErAWegQ==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, + "RGB.NET.Presets": { + "type": "Direct", + "requested": "[1.0.0-prerelease1, )", + "resolved": "1.0.0-prerelease1", + "contentHash": "XU8XeI0fQF26fd0pQHgoe9RaROuvENmZlX/1QyyaN9P3j0LtYmy6ycWZbsXp8byLT0UcGbS+odMiQQAnK+kxgg==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, "Serilog": { "type": "Direct", "requested": "[2.10.0, )", diff --git a/src/Artemis.UI.Shared/Artemis.UI.Shared.csproj b/src/Artemis.UI.Shared/Artemis.UI.Shared.csproj index aebafad56..253095749 100644 --- a/src/Artemis.UI.Shared/Artemis.UI.Shared.csproj +++ b/src/Artemis.UI.Shared/Artemis.UI.Shared.csproj @@ -39,6 +39,7 @@ + @@ -69,11 +70,6 @@ false - - - ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Core.dll - - diff --git a/src/Artemis.UI.Shared/packages.lock.json b/src/Artemis.UI.Shared/packages.lock.json index 3ed7085b2..ae3665203 100644 --- a/src/Artemis.UI.Shared/packages.lock.json +++ b/src/Artemis.UI.Shared/packages.lock.json @@ -1,7 +1,7 @@ { "version": 1, "dependencies": { - ".NETCoreApp,Version=v5.0": { + "net5.0-windows7.0": { "Humanizer.Core": { "type": "Direct", "requested": "[2.11.10, )", @@ -52,6 +52,12 @@ "Ninject.Extensions.Factory": "3.3.2" } }, + "RGB.NET.Core": { + "type": "Direct", + "requested": "[1.0.0-prerelease1, )", + "resolved": "1.0.0-prerelease1", + "contentHash": "aaCPk++kr1TaV/qWYeol5975IN3XifDuuQ9wrCD+nw1cy05BMdGVhuQ72ITb0YRBedssd/btkM51ZABsBd8CEQ==" + }, "SharpVectors.Reloaded": { "type": "Direct", "requested": "[1.7.5, )", @@ -264,6 +270,22 @@ "Ninject": "3.3.3" } }, + "RGB.NET.Layout": { + "type": "Transitive", + "resolved": "1.0.0-prerelease1", + "contentHash": "nbaHbcY59tzFSeTDbImhrcR1ZyJpoC0x6WawXdtGXO7x3F91ajM7kM5SJwi/5jHdD61vGV0ARuznmR8ErAWegQ==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, + "RGB.NET.Presets": { + "type": "Transitive", + "resolved": "1.0.0-prerelease1", + "contentHash": "XU8XeI0fQF26fd0pQHgoe9RaROuvENmZlX/1QyyaN9P3j0LtYmy6ycWZbsXp8byLT0UcGbS+odMiQQAnK+kxgg==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.0", @@ -1303,6 +1325,9 @@ "Ninject": "3.3.4", "Ninject.Extensions.ChildKernel": "3.3.0", "Ninject.Extensions.Conventions": "3.3.0", + "RGB.NET.Core": "1.0.0-prerelease1", + "RGB.NET.Layout": "1.0.0-prerelease1", + "RGB.NET.Presets": "1.0.0-prerelease1", "Serilog": "2.10.0", "Serilog.Sinks.Console": "4.0.0", "Serilog.Sinks.Debug": "2.0.0", diff --git a/src/Artemis.UI/Artemis.UI.csproj b/src/Artemis.UI/Artemis.UI.csproj index 409b3797d..da33f5fcb 100644 --- a/src/Artemis.UI/Artemis.UI.csproj +++ b/src/Artemis.UI/Artemis.UI.csproj @@ -57,12 +57,6 @@ - - ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Core.dll - - - ..\..\..\RGB.NET\bin\net5.0\RGB.NET.Layout.dll - @@ -151,6 +145,8 @@ + + diff --git a/src/Artemis.UI/packages.lock.json b/src/Artemis.UI/packages.lock.json index 57c898322..c28d978da 100644 --- a/src/Artemis.UI/packages.lock.json +++ b/src/Artemis.UI/packages.lock.json @@ -122,6 +122,21 @@ "NETStandard.Library": "1.6.1" } }, + "RGB.NET.Core": { + "type": "Direct", + "requested": "[1.0.0-prerelease1, )", + "resolved": "1.0.0-prerelease1", + "contentHash": "aaCPk++kr1TaV/qWYeol5975IN3XifDuuQ9wrCD+nw1cy05BMdGVhuQ72ITb0YRBedssd/btkM51ZABsBd8CEQ==" + }, + "RGB.NET.Layout": { + "type": "Direct", + "requested": "[1.0.0-prerelease1, )", + "resolved": "1.0.0-prerelease1", + "contentHash": "nbaHbcY59tzFSeTDbImhrcR1ZyJpoC0x6WawXdtGXO7x3F91ajM7kM5SJwi/5jHdD61vGV0ARuznmR8ErAWegQ==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, "Serilog": { "type": "Direct", "requested": "[2.10.0, )", @@ -377,6 +392,14 @@ "Ninject": "3.3.3" } }, + "RGB.NET.Presets": { + "type": "Transitive", + "resolved": "1.0.0-prerelease1", + "contentHash": "XU8XeI0fQF26fd0pQHgoe9RaROuvENmZlX/1QyyaN9P3j0LtYmy6ycWZbsXp8byLT0UcGbS+odMiQQAnK+kxgg==", + "dependencies": { + "RGB.NET.Core": "1.0.0-prerelease1" + } + }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.0", @@ -1431,6 +1454,9 @@ "Ninject": "3.3.4", "Ninject.Extensions.ChildKernel": "3.3.0", "Ninject.Extensions.Conventions": "3.3.0", + "RGB.NET.Core": "1.0.0-prerelease1", + "RGB.NET.Layout": "1.0.0-prerelease1", + "RGB.NET.Presets": "1.0.0-prerelease1", "Serilog": "2.10.0", "Serilog.Sinks.Console": "4.0.0", "Serilog.Sinks.Debug": "2.0.0", @@ -1460,6 +1486,7 @@ "Microsoft.Xaml.Behaviors.Wpf": "1.1.31", "Ninject": "3.3.4", "Ninject.Extensions.Conventions": "3.3.0", + "RGB.NET.Core": "1.0.0-prerelease1", "SharpVectors.Reloaded": "1.7.5", "SkiaSharp": "2.80.3", "SkiaSharp.Views.WPF": "2.80.3",