Skip to content

Commit

Permalink
Andyk/new build (#3408)
Browse files Browse the repository at this point in the history
Update readme.md - Updated latest version table
Updated build script with .NET7 and remove .NET5
  • Loading branch information
andyk-ms authored Dec 12, 2023
1 parent da551b6 commit c895ed4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 54 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Refer to the [Azure IoT Device SDK lifecycle and support](https://learn.microsof

| Release | Category | End-of-life |
|-|-|-|
| 1.42.0 | Active | - |
| [![NuGet][iothub-device-release]][iothub-device-nuget] | Active | - |

### Need help?

Expand Down
62 changes: 9 additions & 53 deletions vsts/build-test-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,8 @@ jobs:
matrix:
.Net 6.0:
FRAMEWORK: net6.0
.Net 5.0:
FRAMEWORK: net5.0
.Net Core 3.1:
FRAMEWORK: netcoreapp3.1
.Net Core 2.1.30:
FRAMEWORK: netcoreapp2.1.30
.Net Framwork 4.7.2:
FRAMEWORK: net472
.Net Framework 4.5.1:
FRAMEWORK: net451
.Net 7.0:
FRAMEWORK: net7.0

condition: and(succeeded(), ne(variables.runTests, 'false'))
dependsOn: Build_Packages
Expand Down Expand Up @@ -107,26 +99,10 @@ jobs:
installationPath: $(Agent.ToolsDirectory)/net

- task: UseDotNet@2
displayName: 'Use .NET SDK 5.x'
displayName: 'Use .NET SDK 7.x'
inputs:
packageType: sdk
version: 5.x
performMultiLevelLookup: true
installationPath: $(Agent.ToolsDirectory)/net

- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.x'
inputs:
packageType: sdk
version: 3.1.x
performMultiLevelLookup: true
installationPath: $(Agent.ToolsDirectory)/net

- task: UseDotNet@2
displayName: 'Use .NET core SDK 2.x'
inputs:
packageType: sdk
version: 2.1.x
version: 7.x
performMultiLevelLookup: true
installationPath: $(Agent.ToolsDirectory)/net

Expand Down Expand Up @@ -229,12 +205,8 @@ jobs:
matrix:
.Net 6.0:
FRAMEWORK: net6.0
.Net 5.0:
FRAMEWORK: net5.0
.Net Core 3.1:
FRAMEWORK: netcoreapp3.1
.Net Core 2.1.30:
FRAMEWORK: netcoreapp2.1.30
.Net 7.0:
FRAMEWORK: net7.0

condition: and(succeeded(), ne(variables.runTests, 'false'))
dependsOn: Build_Packages
Expand Down Expand Up @@ -270,26 +242,10 @@ jobs:
installationPath: $(Agent.ToolsDirectory)/net

- task: UseDotNet@2
displayName: 'Use .NET SDK 5.x'
displayName: 'Use .NET SDK 7.x'
inputs:
packageType: sdk
version: 5.x
performMultiLevelLookup: true
installationPath: $(Agent.ToolsDirectory)/net

- task: UseDotNet@2
displayName: 'Use .NET Core SDK 3.x'
inputs:
packageType: sdk
version: 3.1.x
performMultiLevelLookup: true
installationPath: $(Agent.ToolsDirectory)/net

- task: UseDotNet@2
displayName: 'Use .NET Core SDK 2.x'
inputs:
packageType: sdk
version: 2.1.x
version: 7.x
performMultiLevelLookup: true
installationPath: $(Agent.ToolsDirectory)/net

Expand Down Expand Up @@ -500,7 +456,7 @@ jobs:
inputs:
buildType: 'current'
artifactName: 'unsigned_nuget_packages'
itemPattern: '**/*.*nupkg'
itemPattern: '**/Microsoft.Azure.Devices.*.*nupkg'
targetPath: '$(Build.SourcesDirectory)/bin'

- task: PowerShell@2
Expand Down

0 comments on commit c895ed4

Please sign in to comment.