Skip to content

Commit

Permalink
[AgentService] - Migrate AgentService to .Net Framework 4.7.1 (#4387)
Browse files Browse the repository at this point in the history
* [AgentService] - Migrate AgentService to .Net Framework 4.8.1

- Migrate AgentService to .Net Framework 4.8.1
- changed pool from win-2019 to win-2022

* [AgentService] - Migrate AgentService to .Net Framework 4.8

- Migrate AgentService to .Net Framework 4.8

* [AgentService] - Migrate AgentService to .Net Framework 4.7.1

- Migrate AgentService to .Net Framework 4.7.1

---------

Co-authored-by: Kirill Ivlev <[email protected]>
Co-authored-by: Denis Rumyantsev <[email protected]>
  • Loading branch information
3 people committed Aug 24, 2023
1 parent 2d6c719 commit e4cefea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ stages:
jobName: build_windows_x64
displayName: Windows (x64)
pool:
vmImage: windows-2019
vmImage: windows-2022
os: win
arch: x64
branch: ${{ parameters.branch }}
Expand All @@ -129,7 +129,7 @@ stages:
jobName: build_windows_x86
displayName: Windows (x86)
pool:
vmImage: windows-2019
vmImage: windows-2022
os: win
arch: x86
branch: ${{ parameters.branch }}
Expand Down
2 changes: 1 addition & 1 deletion src/Agent.Service/Windows/AgentService.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>FinalPublicKey.snk</AssemblyOriginatorKeyFile>
<DelaySign>true</DelaySign>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Agent.Service/Windows/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/>
</startup>
</configuration>

0 comments on commit e4cefea

Please sign in to comment.