From 0a402122bbeae6a08c259d6e7dd3b7bd96065b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Tue, 3 Mar 2020 03:23:16 +0000 Subject: [PATCH] Replace WinRT components access (#224) --- azure-pipelines.yml | 16 ++--- .../Serial Test App WPF.csproj | 70 ++++++++----------- source/USB Test App WPF/packages.config | 13 ---- ...anoFramework.Tools.DebugLibrary.Net.csproj | 59 ++++++---------- .../packages.config | 11 --- ...anoFramework.Tools.DebugLibrary.UWP.csproj | 3 - source/version.json | 3 +- 7 files changed, 59 insertions(+), 116 deletions(-) delete mode 100644 source/USB Test App WPF/packages.config delete mode 100644 source/nanoFramework.Tools.DebugLibrary.Net/packages.config diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0a2c6d6d..e46bafae 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -136,7 +136,7 @@ steps: - task: NuGetToolInstaller@0 inputs: - versionSpec: '4.9.3' + versionSpec: '5.4.0' condition: ne( variables['StartReleaseCandidate'], true ) displayName: 'Install specific version of NuGet' @@ -154,19 +154,17 @@ steps: configuration: '$(buildConfiguration)' condition: ne( variables['StartReleaseCandidate'], true ) -- task: MSBuild@1 +- task: NuGetCommand@2 inputs: - solution: '**\nanoFramework.Tools.DebugLibrary.Net.csproj' - configuration: '$(buildConfiguration)' - msbuildArguments: '/t:pack /p:PublicRelease=true' + command: 'custom' + arguments: 'pack source\nanoFramework.Tools.DebugLibrary.Net\nanoFramework.Tools.DebugLibrary.Net.csproj -properties Configuration=Release;PublicRelease=true;commit="$(Build.SourceVersion)"' condition: ne( variables['StartReleaseCandidate'], true ) displayName: Pack .NET NuGet package -- task: MSBuild@1 +- task: NuGetCommand@2 inputs: - solution: '**\nanoFramework.Tools.DebugLibrary.UWP.csproj' - configuration: '$(buildConfiguration)' - msbuildArguments: '/t:pack /p:PublicRelease=true' + command: 'custom' + arguments: 'pack source\nanoFramework.Tools.DebugLibrary.UWP\nanoFramework.Tools.DebugLibrary.UWP.csproj -properties Configuration=Release;PublicRelease=true;commit="$(Build.SourceVersion)"' condition: ne( variables['StartReleaseCandidate'], true ) displayName: Pack UWP NuGet package diff --git a/source/USB Test App WPF/Serial Test App WPF.csproj b/source/USB Test App WPF/Serial Test App WPF.csproj index cf0953c6..c3f747fb 100644 --- a/source/USB Test App WPF/Serial Test App WPF.csproj +++ b/source/USB Test App WPF/Serial Test App WPF.csproj @@ -1,6 +1,5 @@  - Debug @@ -38,36 +37,9 @@ 4 - - ..\packages\CommonServiceLocator.2.0.4\lib\net47\CommonServiceLocator.dll - - - ..\packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.dll - - - ..\packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.Extras.dll - - - ..\packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.Platform.dll - - - ..\packages\PropertyChanged.Fody.2.6.1\lib\net452\PropertyChanged.dll - - - ..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll - - - ..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll - - - ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll - - - ..\packages\MvvmLightLibs.5.4.1.1\lib\net45\System.Windows.Interactivity.dll - @@ -123,7 +95,6 @@ ResXFileCodeGenerator Resources.Designer.cs - SettingsSingleFileGenerator Settings.Designer.cs @@ -137,24 +108,39 @@ - - - {101d57ad-d22f-4905-a992-de15e723f164} nanoFramework.Tools.DebugLibrary.Net + + + 2.0.4 + + + 4.2.1 + runtime; build; native; contentfiles; analyzers + all + + + 10.0.18362.2005 + + + 5.4.1.1 + + + 1.1.1 + + + 2.6.1 + + + 4.5.2 + + + 4.5.0 + + - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - - \ No newline at end of file diff --git a/source/USB Test App WPF/packages.config b/source/USB Test App WPF/packages.config deleted file mode 100644 index b524444a..00000000 --- a/source/USB Test App WPF/packages.config +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/source/nanoFramework.Tools.DebugLibrary.Net/nanoFramework.Tools.DebugLibrary.Net.csproj b/source/nanoFramework.Tools.DebugLibrary.Net/nanoFramework.Tools.DebugLibrary.Net.csproj index b270e475..47bd111c 100644 --- a/source/nanoFramework.Tools.DebugLibrary.Net/nanoFramework.Tools.DebugLibrary.Net.csproj +++ b/source/nanoFramework.Tools.DebugLibrary.Net/nanoFramework.Tools.DebugLibrary.Net.csproj @@ -1,7 +1,5 @@  - - Debug @@ -61,26 +59,10 @@ For UWP look for the respective Nuget package. - - ..\packages\PropertyChanged.Fody.2.6.1\lib\net452\PropertyChanged.dll - - - ..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll - - - ..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll - - - ..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll - - - C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd - - @@ -92,29 +74,34 @@ For UWP look for the respective Nuget package. - - + - + + 4.2.1 + runtime; build; native; contentfiles; analyzers + all + + + 10.0.18362.2005 + + + 3.0.50 + runtime; build; native; contentfiles; analyzers + all + + + 2.6.1 + + + 4.5.2 + + + 4.5.0 + - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - - - - - - - \ No newline at end of file diff --git a/source/nanoFramework.Tools.DebugLibrary.Net/packages.config b/source/nanoFramework.Tools.DebugLibrary.Net/packages.config deleted file mode 100644 index e41dc123..00000000 --- a/source/nanoFramework.Tools.DebugLibrary.Net/packages.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/source/nanoFramework.Tools.DebugLibrary.UWP/nanoFramework.Tools.DebugLibrary.UWP.csproj b/source/nanoFramework.Tools.DebugLibrary.UWP/nanoFramework.Tools.DebugLibrary.UWP.csproj index 5b16cfa7..b2a77bba 100644 --- a/source/nanoFramework.Tools.DebugLibrary.UWP/nanoFramework.Tools.DebugLibrary.UWP.csproj +++ b/source/nanoFramework.Tools.DebugLibrary.UWP/nanoFramework.Tools.DebugLibrary.UWP.csproj @@ -146,9 +146,6 @@ For .NET look for the respective Nuget package. runtime; build; native; contentfiles; analyzers all - - 0.2.2 - 2.6.1 diff --git a/source/version.json b/source/version.json index 64cff136..17489413 100644 --- a/source/version.json +++ b/source/version.json @@ -1,7 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.9.0-preview.{height}", - "buildNumberOffset": 10, + "version": "1.10.0-preview.{height}", "assemblyVersion": { "precision": "revision" },