From 42379bf11d7e89517970cd56e73a4fcaac47423a Mon Sep 17 00:00:00 2001 From: Carey Payette Date: Fri, 25 Jan 2019 19:06:17 -0500 Subject: [PATCH] added win10 directory to bindir in powershell, re-added the win10 runtime indentifier in csproj --- .../RegisterPluginAndStartStreamDeck.ps1 | 4 +- src/SamplePlugin/SamplePlugin.csproj | 125 +++++++++--------- 2 files changed, 65 insertions(+), 64 deletions(-) diff --git a/src/SamplePlugin/RegisterPluginAndStartStreamDeck.ps1 b/src/SamplePlugin/RegisterPluginAndStartStreamDeck.ps1 index 44bedcb..1f48e6e 100644 --- a/src/SamplePlugin/RegisterPluginAndStartStreamDeck.ps1 +++ b/src/SamplePlugin/RegisterPluginAndStartStreamDeck.ps1 @@ -1,6 +1,6 @@  $streamDeckExePath = "C:\Program Files\Elgato\StreamDeck\StreamDeck.exe" -$bindir = $PSScriptRoot + "\bin\Debug\netcoreapp2.2" +$bindir = $PSScriptRoot + "\bin\Debug\netcoreapp2.2\win10-x64" $manifestFile = $bindir +"\manifest.json" $manifestContent = Get-Content $manifestFile | Out-String @@ -19,4 +19,4 @@ Get-ChildItem -Path $bindir -Recurse | ? { $_.FullName -inotmatch '.vs' } | Copy Write-Host "Script Completed" #& $streamDeckExePath -exit 0 \ No newline at end of file +exit 0 diff --git a/src/SamplePlugin/SamplePlugin.csproj b/src/SamplePlugin/SamplePlugin.csproj index 2257b62..655617f 100644 --- a/src/SamplePlugin/SamplePlugin.csproj +++ b/src/SamplePlugin/SamplePlugin.csproj @@ -1,71 +1,72 @@  - - Exe - netcoreapp2.2 - latest - OnBuildSuccess - - - - - + + Exe + netcoreapp2.2 + latest + win10-x64 + OnBuildSuccess + - - - - - - - - - - - - - - - - PreserveNewest - - - - PreserveNewest - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - + + + + + + + + + + + + + + + + - - - Never - - - Never - + + + PreserveNewest + + + + PreserveNewest + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + Never + + + Never + - - + + - + \ No newline at end of file