Skip to content

Commit

Permalink
Adding Versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
cdemi committed Mar 25, 2019
1 parent 98d0992 commit d7ef673
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 22 deletions.
53 changes: 31 additions & 22 deletions PRTG Redis Sensor.sln
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PRTG Redis Sensor", "PRTG Redis Sensor.csproj", "{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.421
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PRTG Redis Sensor", "PRTG Redis Sensor.csproj", "{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7AF8C891-1563-4906-84A8-FBB1F8F2CE4C}"
ProjectSection(SolutionItems) = preProject
azure-pipelines.yml = azure-pipelines.yml
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF6BF3BB-1835-4F6E-92C3-0B3926129F73}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2BFC6F4A-2AFE-4A69-97C7-B1A2FC85BC79}
EndGlobalSection
EndGlobal
9 changes: 9 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

name: 1.3.$(Build.BuildId)

pool:
vmImage: 'VS2017-Win2016'

Expand All @@ -21,6 +23,13 @@ steps:
inputs:
restoreSolution: '$(solution)'

- task: bleddynrichards.Assembly-Info-Task.Assembly-Info-Task.Assembly-Info-NetFramework@2
displayName: 'Set Assembly Version'
inputs:
VersionNumber: '$(Build.BuildNumber)'
FileVersionNumber: '$(Build.BuildNumber)'
InformationalVersion: '$(Build.BuildNumber)'

- task: VSBuild@1
inputs:
solution: '$(solution)'
Expand Down

0 comments on commit d7ef673

Please sign in to comment.