mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-30 17:16:52 +13:00
[Feature] Framework Self-Contained, not more necessary to install .Net 6 sdk (#277), version 1.3.3.0
This commit is contained in:
parent
d20e843863
commit
1929797c1b
3 changed files with 4 additions and 56 deletions
|
@ -10,7 +10,7 @@
|
||||||
<Identity
|
<Identity
|
||||||
Name="49543SystemTrayMenu.SystemTrayMenu"
|
Name="49543SystemTrayMenu.SystemTrayMenu"
|
||||||
Publisher="CN=5884501C-92ED-45DE-9508-9D987C314243"
|
Publisher="CN=5884501C-92ED-45DE-9508-9D987C314243"
|
||||||
Version="1.3.1.0" />
|
Version="1.3.3.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>SystemTrayMenu</DisplayName>
|
<DisplayName>SystemTrayMenu</DisplayName>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
|
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
||||||
<UseWPF>True</UseWPF>
|
<UseWPF>True</UseWPF>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
|
||||||
|
|
|
@ -8,7 +8,6 @@ trigger:
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'Windows-latest'
|
vmImage: 'Windows-latest'
|
||||||
# vmImage: 'Windows-2019'
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
solution: '**/*.sln'
|
solution: '**/*.sln'
|
||||||
|
@ -19,17 +18,9 @@ steps:
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
|
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
displayName: 'Use .NET Core sdk'
|
|
||||||
inputs:
|
inputs:
|
||||||
packageType: sdk
|
packageType: sdk
|
||||||
version: 6.0.x
|
version: 6.0.x
|
||||||
# version: 3.1.102
|
|
||||||
|
|
||||||
#- task: NuGetCommand@2
|
|
||||||
# displayName: NuGet restore
|
|
||||||
# inputs:
|
|
||||||
# restoreSolution: '$(solution)'
|
|
||||||
# feedsToUse: config
|
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -37,34 +28,6 @@ steps:
|
||||||
projects: '$(solution)'
|
projects: '$(solution)'
|
||||||
feedsToUse: 'select'
|
feedsToUse: 'select'
|
||||||
|
|
||||||
#- task: DotNetCoreCLI@2
|
|
||||||
# displayName: Publish single-exe x64
|
|
||||||
# inputs:
|
|
||||||
# command: 'publish'
|
|
||||||
# publishWebProjects: false
|
|
||||||
# projects: 'SystemTrayMenu.csproj'
|
|
||||||
# arguments: '-f netcoreapp3.1 -c Release /p:PublishSingleFile=true /p:RuntimeIdentifier=win-x64'
|
|
||||||
# zipAfterPublish: false
|
|
||||||
#
|
|
||||||
#- task: CmdLine@2
|
|
||||||
# displayName: Rename single-exe x64
|
|
||||||
# inputs:
|
|
||||||
# script: 'rename $(Build.SourcesDirectory)\bin\Release\netcoreapp3.1\win-x64\publish\SystemTrayMenu.exe SystemTrayMenu-x64.exe'#
|
|
||||||
#
|
|
||||||
#- task: DotNetCoreCLI@2
|
|
||||||
# displayName: Publish single-exe x86
|
|
||||||
# inputs:
|
|
||||||
# command: 'publish'
|
|
||||||
# publishWebProjects: false
|
|
||||||
# projects: 'SystemTrayMenu.csproj'
|
|
||||||
# arguments: '-f netcoreapp3.1 -c Release /p:PublishSingleFile=true /p:RuntimeIdentifier=win-x86'
|
|
||||||
# zipAfterPublish: false
|
|
||||||
#
|
|
||||||
#- task: CmdLine@2
|
|
||||||
# displayName: Rename single-exe x86
|
|
||||||
# inputs:
|
|
||||||
# script: 'rename $(Build.SourcesDirectory)\bin\Release\netcoreapp3.1\win-x86\publish\SystemTrayMenu.exe SystemTrayMenu-x86.exe'
|
|
||||||
|
|
||||||
- task: kherzog.AssemblyInfoReader.assembly-info-reader-build-task.AssembyInfoReader@2
|
- task: kherzog.AssemblyInfoReader.assembly-info-reader-build-task.AssembyInfoReader@2
|
||||||
displayName: 'Generate variables **\AssemblyInfo.cs '
|
displayName: 'Generate variables **\AssemblyInfo.cs '
|
||||||
|
|
||||||
|
@ -73,27 +36,11 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
solution: '**/*.sln'
|
solution: '**/*.sln'
|
||||||
msbuildArguments: '-p:Configuration=Release -p:Platform="Any CPU"'
|
msbuildArguments: '-p:Configuration=Release -p:Platform="Any CPU"'
|
||||||
# msbuildArguments: '-p:Configuration=Release -p:Platform=x64'
|
|
||||||
# msbuildArguments: '-p:Configuration=Release -p:Platform=x86'
|
|
||||||
|
|
||||||
#- task: CopyFiles@2
|
|
||||||
# displayName: 'Copy Files to: $(build.artifactstagingdirectory)'
|
|
||||||
# inputs:
|
|
||||||
# SourceFolder: '$(Build.SourcesDirectory)\bin\Release\netcoreapp3.1'
|
|
||||||
## Contents: **
|
|
||||||
## Contents: |
|
|
||||||
## win-x64\publish\SystemTrayMenu-x64.exe
|
|
||||||
## win-x86\publish\SystemTrayMenu-x86.exe
|
|
||||||
# TargetFolder: '$(build.artifactstagingdirectory)'
|
|
||||||
# flattenFolders: true
|
|
||||||
|
|
||||||
- task: ArchiveFiles@2
|
- task: ArchiveFiles@2
|
||||||
displayName: 'Archive $(Build.ArtifactStagingDirectory)'
|
displayName: 'Archive $(Build.ArtifactStagingDirectory)'
|
||||||
inputs:
|
inputs:
|
||||||
rootFolderOrFile: '$(Build.SourcesDirectory)\bin\AnyCPU\Release\net6.0-windows10.0.22000.0\'
|
rootFolderOrFile: '$(Build.SourcesDirectory)\bin\AnyCPU\Release\net6.0-windows10.0.22000.0\publish\win-x64\'
|
||||||
# rootFolderOrFile: '$(Build.SourcesDirectory)\bin\AnyCPU\Release\netcoreapp3.1\'
|
|
||||||
# rootFolderOrFile: '$(Build.SourcesDirectory)\bin\x64\Release\netcoreapp3.1\'
|
|
||||||
# rootFolderOrFile: '$(Build.SourcesDirectory)\bin\x86\Release\netcoreapp3.1\'
|
|
||||||
includeRootFolder: false
|
includeRootFolder: false
|
||||||
archiveFile: '$(Build.ArtifactStagingDirectory)/SystemTrayMenu-$(AssemblyInfo.AssemblyVersion).zip'
|
archiveFile: '$(Build.ArtifactStagingDirectory)/SystemTrayMenu-$(AssemblyInfo.AssemblyVersion).zip'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue