-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Dotnet 6 #6214
Migrate to Dotnet 6 #6214
Changes from all commits
47ac550
8b4d76b
84c9bdb
d2d7da1
7658d50
bcde20a
fb6995a
8b92a5e
a4c5a04
d72e41a
ab0f22b
7421cff
d5b879e
fb3106b
0b3e3a0
197beda
1e8cefc
25d86dc
2deeffa
0bf0fda
d990664
8ca5e3b
e5d9fc8
f9891a1
feba199
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,7 +129,7 @@ steps: | |
$testDir = '$(Build.SourcesDirectory)/test/Microsoft.Azure.Devices.Edge.Test' | ||
dotnet build $testDir | ||
|
||
$binDir = Convert-Path "$testDir/bin/Debug/netcoreapp3.1" | ||
$binDir = Convert-Path "$testDir/bin/Debug/net6.0" | ||
Write-Output "##vso[task.setvariable variable=binDir]$binDir" | ||
env: | ||
http_proxy: $(Agent.ProxyUrl) | ||
|
@@ -139,7 +139,7 @@ steps: | |
- pwsh: | | ||
$manifestSignerClientDir = '$(Build.SourcesDirectory)/samples/dotnet/ManifestSignerClient' | ||
dotnet build $manifestSignerClientDir | ||
$manifestSignerClientBinDir = Convert-Path "$manifestSignerClientDir/bin/Debug/netcoreapp3.1" | ||
$manifestSignerClientBinDir = Convert-Path "$manifestSignerClientDir/bin/Debug/net6.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You will need to update e2e-setup-base-image-update-release.yaml as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep I think so, good catch. Also compare-compatability.yaml |
||
Write-Output "##vso[task.setvariable variable=manifestSignerClientDir]$manifestSignerClientDir" | ||
Write-Output "##vso[task.setvariable variable=manifestSignerClientBinDir]$manifestSignerClientBinDir" | ||
$manifestSigningTestDir = '$(System.ArtifactsDirectory)/manifest_signing' | ||
|
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Add a global.json file to the root of the source code directory. This will override .NET's | ||
# default behavior when determining which version of the runtime to use. Instead, .NET will | ||
# use the version we specify here. | ||
steps: | ||
- bash: | | ||
dotnet new globaljson --force --sdk-version 2.1 | ||
displayName: Use .NET Core 2.1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Remove the global.json file from the root of the source code directory, if it exists. This will | ||
# remove any overrides, allowing .NET to use its default behavior (use latest) when determining | ||
# which version of the runtime to use. | ||
steps: | ||
- bash: | | ||
rm -f -v global.json | ||
displayName: Restore default .NET version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does dotnet6 only run on ubuntu 20.04 or this was just an unrelated enhancement?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated enhancement.