Skip to content

[main] Update dependencies from dotnet/installer #6598

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

Merged
merged 153 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
d6d7b45
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 3, 2022
4948f70
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 4, 2022
99eb82b
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Jan 4, 2022
1af6e75
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 5, 2022
e6f5595
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Jan 5, 2022
be85722
[build] specify --azure-feed
jonathanpeppers Jan 5, 2022
add3a86
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 6, 2022
703aa2c
Use Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.200
jonathanpeppers Jan 6, 2022
8ab3345
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 7, 2022
0858d47
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Jan 7, 2022
5785c2d
Bump to 7.0.0 dotnet/runtime
jonathanpeppers Jan 7, 2022
058c215
dotnet7 NuGet feed
jonathanpeppers Jan 7, 2022
fc75a06
Revert "Use Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.200"
jonathanpeppers Jan 7, 2022
c9bc0b5
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 8, 2022
c97a4b1
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 11, 2022
581ff17
Revert "[build] specify --azure-feed"
jonathanpeppers Jan 12, 2022
9594b89
[build] set $(RollForward) Major
jonathanpeppers Jan 12, 2022
20b7718
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 12, 2022
632b961
Revert "Revert "[build] specify --azure-feed""
jonathanpeppers Jan 12, 2022
2b83159
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 13, 2022
a9215f6
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 14, 2022
8fbe542
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Jan 14, 2022
93752a7
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 15, 2022
3373a80
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 16, 2022
aa54b27
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 17, 2022
9deff20
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 18, 2022
99cbf39
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 19, 2022
cce48ba
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 23, 2022
f6c265b
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 25, 2022
a08c788
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 26, 2022
70d3bc4
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 27, 2022
4af81ab
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Jan 28, 2022
9b789f0
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 1, 2022
f64fa92
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 3, 2022
00c59e2
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 4, 2022
9cd89f5
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 8, 2022
d2a7416
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 9, 2022
2aa4c92
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 10, 2022
8046312
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 11, 2022
8fee04a
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 12, 2022
40b9538
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 14, 2022
417df60
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 16, 2022
b43766f
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 17, 2022
7193668
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 18, 2022
ca46cfa
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 19, 2022
f86eb65
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 21, 2022
8eaceea
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 22, 2022
44e9612
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 23, 2022
bb3f39f
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 24, 2022
501c910
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 25, 2022
9162187
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Feb 28, 2022
c05f53a
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 1, 2022
9a3a26b
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 2, 2022
531e13e
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 3, 2022
1ce774a
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 4, 2022
a06b592
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 5, 2022
9f793b9
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 7, 2022
695a024
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 8, 2022
9c5800e
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 9, 2022
c1b2f34
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 10, 2022
3f7820c
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 11, 2022
eedf92c
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 12, 2022
e78a81f
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 15, 2022
aa4750e
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 16, 2022
0ff5092
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 17, 2022
380e9b3
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 21, 2022
ffb434d
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 23, 2022
2ec8cb3
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 24, 2022
30a1a05
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 25, 2022
7be9a9b
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Mar 25, 2022
ccf97e6
Microsoft.NET.Workload.Emscripten.Manifest-7.0.100
jonathanpeppers Mar 25, 2022
a4688b1
Revert "Revert "Revert "[build] specify --azure-feed"""
jonathanpeppers Mar 25, 2022
0b27e77
Add $(DotNetTargetFramework)
jonathanpeppers Mar 25, 2022
64567b7
.NET 7 mono header file changes
jonathanpeppers Mar 25, 2022
f2595b9
sdk-manifests\7.0.100-preview.4
jonathanpeppers Mar 25, 2022
8568db2
Fix invalid .yaml
jonathanpeppers Mar 25, 2022
412c0a1
Install latest public release, 7.0.100-preview.2
jonathanpeppers Mar 25, 2022
1f9b230
7.0.100-preview.2.22153.17
jonathanpeppers Mar 25, 2022
32646c2
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 26, 2022
d9f5945
Rename API diff file
jonathanpeppers Mar 28, 2022
cf9728e
Update acceptable-breakages-v12.1.txt
jonathanpeppers Mar 28, 2022
edcf84a
Revert "Update acceptable-breakages-v12.1.txt"
jonathanpeppers Mar 28, 2022
67eac10
Update CheckApiCompatibility.cs
jonathanpeppers Mar 28, 2022
19bc256
Update setup-test-environment.yaml
jonathanpeppers Mar 28, 2022
4bc7928
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 29, 2022
7012add
Update setup-test-environment.yaml
jonathanpeppers Mar 29, 2022
39c8694
Revert "Update setup-test-environment.yaml"
jonathanpeppers Mar 29, 2022
34dd33e
Update setup-test-environment.yaml
jonathanpeppers Mar 29, 2022
5d2d0be
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Mar 29, 2022
1fcb62d
Update setup-test-environment.yaml
jonathanpeppers Mar 29, 2022
fa01dbb
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 30, 2022
2da40d2
Update .apkdesc files
jonathanpeppers Mar 30, 2022
c333378
System.Runtime.CompilerServices.Unsafe.dll is linked away now
jonathanpeppers Mar 30, 2022
5954ff2
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Mar 30, 2022
b290367
darc update-dependencies --coherency-only
jonathanpeppers Mar 30, 2022
f1ead79
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Mar 31, 2022
59a2630
Workaround MVIDs from dotnet/linker
jonathanpeppers Mar 31, 2022
e96b5dd
darc update-dependencies --coherency-only
jonathanpeppers Mar 31, 2022
89e0c14
[tests] TFM typo
jonathanpeppers Mar 31, 2022
d5dd962
Default to API 32
jonathanpeppers Mar 31, 2022
b548ac7
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 1, 2022
ffc71c3
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 2, 2022
52c92b1
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 5, 2022
ac9eb2d
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 6, 2022
38c47e9
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 7, 2022
5b4cf3a
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 8, 2022
e4f2aa6
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 9, 2022
a14b5fd
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 11, 2022
18ce59d
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 12, 2022
26d3c28
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 13, 2022
f7f2ccf
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 14, 2022
ec9ed75
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 15, 2022
4ce62d6
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Apr 15, 2022
9dbf93c
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 16, 2022
ecf50fc
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 18, 2022
4d32890
Forgot one change
jonathanpeppers Apr 18, 2022
8da3b34
Merge remote-tracking branch 'origin/main' into darc-main-0d4b4a5b-19…
pjcollins Apr 18, 2022
142937b
Attempt to fix XASdkTests
pjcollins Apr 18, 2022
2a9d2f2
Additional build fixes
pjcollins Apr 18, 2022
3cc717e
Fix versioned output paths for Mono.Android.dll
pjcollins Apr 18, 2022
24932c3
Fix net6.0-android builds, fix CodeBehind tests
pjcollins Apr 19, 2022
889fab0
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 19, 2022
c562568
Fix sources for net6.0 builds
pjcollins Apr 19, 2022
c27a762
Revert "Bump to xamarin/xamarin-android-binutils/L_14.0.1-4.1.0@b1426…
pjcollins Apr 19, 2022
a3dad06
More test fixes
pjcollins Apr 19, 2022
b7bee86
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 20, 2022
91a2de2
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 21, 2022
88851d8
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 22, 2022
3de1cbd
Merge remote-tracking branch 'origin/main' into darc-main-0d4b4a5b-19…
pjcollins Apr 23, 2022
790368a
Fix binutils revert and main merge
pjcollins Apr 23, 2022
fcf25d5
Last bit of merge cleanup
pjcollins Apr 23, 2022
072f318
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 26, 2022
5e0bd8e
Fix net6.0 KnownFrameworkRef
pjcollins Apr 26, 2022
3dd1ffb
Update dependencies from https://github.com/dotnet/installer build 20…
dotnet-maestro[bot] Apr 27, 2022
021da93
darc update-dependencies --coherency-only
jonathanpeppers Apr 27, 2022
5807491
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Apr 27, 2022
0a2416d
Downgrade to .NET 7.0.100-preview.4.22174.1
jonathanpeppers Apr 29, 2022
73eafee
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Apr 29, 2022
90074ce
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers Apr 29, 2022
64ce404
Add XamarinBuildDownload test category
jonathanpeppers May 2, 2022
c542085
Update .apkdesc files
jonathanpeppers May 2, 2022
fa0d85a
Revert "Workaround MVIDs from dotnet/linker"
jonathanpeppers May 3, 2022
b870ba2
Exclude .pdb files from runtime packs
jonathanpeppers May 3, 2022
81b4d8c
Revert "Exclude .pdb files from runtime packs"
jonathanpeppers May 4, 2022
47b3517
Set $(TrimmerRemoveSymbols) to true
jonathanpeppers May 4, 2022
fd0fa4c
Merge branch 'main' into darc-main-0d4b4a5b-19cf-4b81-a95b-6cbd4316c663
jonathanpeppers May 5, 2022
7233505
Ignore BuildBasicApplicationAndAotProfileIt
jonathanpeppers May 5, 2022
c8eaf80
Update .apkdesc files
jonathanpeppers May 5, 2022
1133056
One more XamarinBuildDownload category
jonathanpeppers May 5, 2022
1fc1c31
Update run-msbuild-win-tests.yaml
jonathanpeppers May 5, 2022
d9dd4c4
Revert "Update run-msbuild-win-tests.yaml"
jonathanpeppers May 5, 2022
27f8b28
Update run-msbuild-win-tests.yaml
jonathanpeppers May 5, 2022
9e410da
Disable .NET AOT+LLVM test
jonathanpeppers May 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Configuration.props
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<AndroidLatestUnstablePlatformId Condition="'$(AndroidLatestUnstablePlatformId)' == ''">Tiramisu</AndroidLatestUnstablePlatformId>
<AndroidLatestUnstableFrameworkVersion Condition="'$(AndroidLatestUnstableFrameworkVersion)'==''">v12.1.99</AndroidLatestUnstableFrameworkVersion>
<!-- The default API level used for $(TargetPlatformVersion) -->
<AndroidDefaultTargetDotnetApiLevel Condition=" '$(AndroidDefaultTargetDotnetApiLevel)' == '' ">31</AndroidDefaultTargetDotnetApiLevel>
<AndroidDefaultTargetDotnetApiLevel Condition=" '$(AndroidDefaultTargetDotnetApiLevel)' == '' ">32</AndroidDefaultTargetDotnetApiLevel>
<!-- The API level and TargetFrameworkVersion for the default Mono.Android.dll build -->
<AndroidApiLevel Condition=" '$(AndroidApiLevel)' == '' ">$(AndroidLatestStableApiLevel)</AndroidApiLevel>
<AndroidPlatformId Condition=" '$(AndroidPlatformId)' == '' ">$(AndroidLatestStablePlatformId)</AndroidPlatformId>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<DotNetTargetFrameworkVersion>6.0</DotNetTargetFrameworkVersion>
<DotNetTargetFrameworkVersion>7.0</DotNetTargetFrameworkVersion>
<DotNetTargetFramework>net$(DotNetTargetFrameworkVersion)</DotNetTargetFramework>
<DotNetAndroidTargetFramework>$(DotNetTargetFramework)-android</DotNetAndroidTargetFramework>
<!-- Used for bootstrap, command-line tooling, and desktop NUnit projects -->
Expand Down
9 changes: 1 addition & 8 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,10 @@
<configuration>
<packageSources>
<clear />
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from dotnet-emsdk -->
<!-- End: Package sources from dotnet-emsdk -->
<!-- Begin: Package sources from dotnet-runtime -->
<add key="darc-pub-dotnet-runtime-a21b9a2" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-runtime-a21b9a2d/nuget/v3/index.json" />
<!-- End: Package sources from dotnet-runtime -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
<!-- ensure only the sources defined below are used -->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" protocolVersion="3" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" protocolVersion="3" />
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
<!-- This is needed (currently) for the Xamarin.Android.Deploy.Installer dependency, getting the installer -->
<!-- Android binary, to support delta APK install -->
<add key="xamarin.android util" value="https://pkgs.dev.azure.com/xamarin/public/_packaging/Xamarin.Android/nuget/v3/index.json" />
Expand Down
9 changes: 7 additions & 2 deletions build-tools/automation/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ variables:
value: $[and(ne(variables['System.PullRequest.IsFork'], 'True'), or(contains(variables['Build.SourceBranchName'], 'mono-'), contains(variables['System.PullRequest.SourceBranch'], 'mono-')))]
- name: RunAllTests
value: $[or(eq(variables['XA.RunAllTests'], true), eq(variables['IsMonoBranch'], true))]
# XamarinBuildDownload disabled, due to: https://github.com/dotnet/runtime/issues/68734
- name: DotNetNUnitCategories
value: '& TestCategory != DotNetIgnore & TestCategory != HybridAOT & TestCategory != MkBundle & TestCategory != MonoSymbolicate & TestCategory != PackagesConfig & TestCategory != StaticProject & TestCategory != Debugger & TestCategory != SystemApplication'
value: '& TestCategory != DotNetIgnore & TestCategory != HybridAOT & TestCategory != MkBundle & TestCategory != MonoSymbolicate & TestCategory != PackagesConfig & TestCategory != StaticProject & TestCategory != Debugger & TestCategory != SystemApplication & TestCategory != XamarinBuildDownload'
- ${{ if eq(variables['Build.DefinitionName'], 'Xamarin.Android-Private') }}:
- group: AzureDevOps-Artifact-Feeds-Pats
- group: DotNet-MSRC-Storage
Expand Down Expand Up @@ -697,6 +698,8 @@ stages:

- template: yaml-templates/apk-instrumentation.yaml
parameters:
# TODO: disable LLVM test, see: https://github.com/dotnet/runtime/issues/68914
condition: false
configuration: $(XA.Build.Configuration)
testName: Mono.Android.NET_Tests-AotLlvm
project: tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/Mono.Android.NET-Tests.csproj
Expand Down Expand Up @@ -1434,7 +1437,9 @@ stages:
packagesToPush: $(Build.StagingDirectory)\nuget-signed\*.nupkg
nuGetFeedType: external
publishFeedCredentials: $(DotNetFeedCredential)
condition: and(succeeded(), eq(variables['PushXAPackages'], 'true'))
condition: false
# NET7TODO: Enable once we have access to the dnceng-dotnet7 feed.
#condition: and(succeeded(), eq(variables['PushXAPackages'], 'true'))

- template: templates\common\upload-vs-insertion-artifacts.yml@sdk-insertions
parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ jobs:

- template: clean.yaml

# Install a stable verison of .NET for classic tests
- template: use-dot-net.yaml
parameters:
version: 6.0.202
remove_dotnet: true

- template: setup-test-environment.yaml
parameters:
provisionatorChannel: ${{ parameters.provisionatorChannel }}
remove_dotnet: true

- task: DownloadPipelineArtifact@1
inputs:
Expand Down
2 changes: 1 addition & 1 deletion build-tools/automation/yaml-templates/use-dot-net.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# We prefer this over the UseDotNet task so that we can always clean up old/unstable versions on disk.

parameters:
version: $(DotNet6Version)
version: $(DotNetSdkVersion)
remove_dotnet: false

steps:
Expand Down
6 changes: 3 additions & 3 deletions build-tools/automation/yaml-templates/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ variables:
value: 3.11.1
- name: NUnit.NumberOfTestWorkers
value: 4
- name: DotNet6Version
value: 6.0.100
- name: DotNetSdkVersion
value: 7.0.100-preview.2.22153.17
- name: GitHub.Token
value: $(github--pat--vs-mobiletools-engineering-service2)
- name: HostedMacImage
Expand All @@ -32,6 +32,6 @@ variables:
- name: TeamName
value: XamarinAndroid
- name: DotNetTargetFramework
value: net6.0
value: net7.0
- name: DotNetStableTargetFramework
value: net6.0
2 changes: 1 addition & 1 deletion build-tools/create-packs/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<_WLManifest Include="$(XamarinAndroidSourcePath)bin\Build$(Configuration)\nuget-unsigned\Microsoft.NET.Sdk.Android.Manifest-*.nupkg" />
</ItemGroup>
<PropertyGroup>
<_WLPackVersion>@(_WLManifest->'%(Filename)'->Replace('Microsoft.NET.Sdk.Android.Manifest-$(DotNetPreviewVersionBand).', ''))</_WLPackVersion>
<_WLPackVersion>@(_WLManifest->'%(Filename)'->Replace('Microsoft.NET.Sdk.Android.Manifest-$(DotNetAndroidManifestVersionBand).', ''))</_WLPackVersion>
<_SdkManifestsFolder>$(DotNetPreviewPath)sdk-manifests\$(DotNetSdkManifestsFolder)\</_SdkManifestsFolder>
</PropertyGroup>
<Unzip
Expand Down
1 change: 1 addition & 0 deletions build-tools/create-packs/Microsoft.Android.Ref.proj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ by projects that use the Microsoft.Android framework in .NET 5.
</PropertyGroup>

<ItemGroup>
<!-- TODO: build Java.Interop.dll for .NET 7 -->
<_AndroidRefPackAssemblies Include="$(JavaInteropSourceDirectory)\bin\$(Configuration)-net6.0\ref\Java.Interop.dll" />
<_AndroidRefPackAssemblies Include="$(_MonoAndroidNETOutputRoot)$(DotNetAndroidTargetFramework)$(AndroidApiLevel)\ref\Mono.Android.dll" />
<!-- Always include stable Mono.Android.Export.dll -->
Expand Down
1 change: 1 addition & 0 deletions build-tools/create-packs/Microsoft.Android.Runtime.proj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ projects that use the Microsoft.Android framework in .NET 5.
</PropertyGroup>

<ItemGroup>
<!-- TODO: build Java.Interop.dll for .NET 7 -->
<_AndroidRuntimePackAssemblies Include="$(JavaInteropSourceDirectory)\bin\$(Configuration)-net6.0\Java.Interop.dll" />
<_AndroidRuntimePackAssemblies Include="$(_MonoAndroidNETOutputRoot)$(DotNetAndroidTargetFramework)$(AndroidApiLevel)\Mono.Android.dll" />
<!-- Always include stable Mono.Android.Export.dll -->
Expand Down
16 changes: 8 additions & 8 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="6.0.300-rtm.22214.7">
<Dependency Name="Microsoft.Dotnet.Sdk.Internal" Version="7.0.100-preview.4.22174.1">
<Uri>https://github.com/dotnet/installer</Uri>
<Sha>04e40fa940291c528688bb46a1aa0e6efdbab7cf</Sha>
<Sha>c7afae6936bf80239aa93bfd3b6f68513d9876d4</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="6.0.200-1.22178.2" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="7.0.100-1.22173.2" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Uri>https://github.com/dotnet/linker</Uri>
<Sha>01c4f5905959c29f86781b85187bb676fc517ee9</Sha>
<Sha>04c49c9d7c244d7c73d6dbb438c4885fa72e830b</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Ref" Version="6.0.5">
<Dependency Name="Microsoft.NETCore.App.Ref" Version="7.0.0-preview.4.22172.7" CoherentParentDependency="Microsoft.Dotnet.Sdk.Internal">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>a21b9a2dd4c31cf5bd37626562b7612faf21cee6</Sha>
<Sha>c5d40c9e703fd257db1b26ef4fd1399bbae73ab0</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-6.0.300" Version="6.0.4" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-7.0.100" Version="7.0.0-preview.3.22121.1" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Uri>https://github.com/dotnet/emsdk</Uri>
<Sha>52e9452f82e26f9fcae791e84c082ae22f1ef66f</Sha>
<Sha>b8e71431b3eaa024afad7886699f8ac6bca2ba01</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
Expand Down
10 changes: 5 additions & 5 deletions eng/Versions.props
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project>
<!--Package versions-->
<PropertyGroup>
<MicrosoftDotnetSdkInternalPackageVersion>6.0.300-rtm.22214.7</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>6.0.200-1.22178.2</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>6.0.5</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftDotnetSdkInternalPackageVersion>7.0.100-preview.4.22174.1</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>7.0.100-1.22173.2</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>7.0.0-preview.4.22172.7</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftDotNetApiCompatPackageVersion>7.0.0-beta.22103.1</MicrosoftDotNetApiCompatPackageVersion>
<MicrosoftDotNetBuildTasksFeedPackageVersion>7.0.0-beta.22103.1</MicrosoftDotNetBuildTasksFeedPackageVersion>
<MicrosoftNETWorkloadEmscriptenManifest60300PackageVersion>6.0.4</MicrosoftNETWorkloadEmscriptenManifest60300PackageVersion>
<MicrosoftNETWorkloadEmscriptenPackageVersion>$(MicrosoftNETWorkloadEmscriptenManifest60300PackageVersion)</MicrosoftNETWorkloadEmscriptenPackageVersion>
<MicrosoftNETWorkloadEmscriptenManifest70100Version>7.0.0-preview.3.22121.1</MicrosoftNETWorkloadEmscriptenManifest70100Version>
<MicrosoftNETWorkloadEmscriptenPackageVersion>$(MicrosoftNETWorkloadEmscriptenManifest70100Version)</MicrosoftNETWorkloadEmscriptenPackageVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Match the first three version numbers and append 00 -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-android</TargetFramework>
<TargetFramework>net7.0-android</TargetFramework>
<SupportedOSPlatformVersion>SUPPORTED_OS_PLATFORM_VERSION</SupportedOSPlatformVersion>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">AndroidBinding1</RootNamespace>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-android</TargetFramework>
<TargetFramework>net7.0-android</TargetFramework>
<SupportedOSPlatformVersion>SUPPORTED_OS_PLATFORM_VERSION</SupportedOSPlatformVersion>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">AndroidApp1</RootNamespace>
<OutputType>Exe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-android</TargetFramework>
<TargetFramework>net7.0-android</TargetFramework>
<SupportedOSPlatformVersion>SUPPORTED_OS_PLATFORM_VERSION</SupportedOSPlatformVersion>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">AndroidLib1</RootNamespace>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and
<_AndroidRuntimePackId Condition=" '$(_AndroidRuntimePackId)' == '' ">$(_AndroidTargetingPackId)</_AndroidRuntimePackId>
</PropertyGroup>
<ItemGroup>
<!-- TODO: NET7TODO: Is this the right way to support building net6.0 projects? Need to bump versions as packages are release to NuGet.org as well -->
<KnownFrameworkReference
Include="Microsoft.Android"
TargetFramework="net6.0"
RuntimeFrameworkName="Microsoft.Android"
LatestRuntimeFrameworkVersion="32.0.300-rc.1.4"
TargetingPackName="Microsoft.Android.Ref.$(_AndroidTargetingPackId)"
TargetingPackVersion="32.0.300-rc.1.4"
RuntimePackNamePatterns="Microsoft.Android.Runtime.$(_AndroidRuntimePackId).**RID**"
RuntimePackRuntimeIdentifiers="android-arm;android-arm64;android-x86;android-x64"
Profile="Android"
/>
Copy link
Member

@pjcollins pjcollins May 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if this was the right thing to do for supporting net6.0 project builds, but it seems to work. Should I file something in dotnet/sdk for discussing this further?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me review this after merging... I suspect it is more complicated than just this. I think we need to somehow import the .NET 6 Microsoft.Android.Sdk pack to use our .NET 6 MSBuild tasks.

<KnownFrameworkReference
Include="Microsoft.Android"
TargetFramework="@DOTNET_TARGET_FRAMEWORK@"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This file contains the .NET 5-specific targets to customize ILLink
AfterTargets="ComputeResolvedFilesToPublishList"
DependsOnTargets="GetReferenceAssemblyPaths;_CreatePropertiesCache">
<PropertyGroup>
<TrimmerRemoveSymbols Condition=" '$(AndroidIncludeDebugSymbols)' != 'true' ">true</TrimmerRemoveSymbols>
<!--
Used for the <ILLink DumpDependencies="$(_TrimmerDumpDependencies)" /> value:
https://github.com/dotnet/sdk/blob/a5393731b5b7b225692fff121f747fbbc9e8b140/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.ILLink.targets#L150
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": ".NET SDK Workload for building Android applications.",
"packs": [
"Microsoft.Android.Sdk",
"Microsoft.Android.Ref.31",
"Microsoft.Android.Ref.32",
"Microsoft.Android.Runtime.32.android-arm",
"Microsoft.Android.Runtime.32.android-arm64",
Expand Down Expand Up @@ -41,10 +40,6 @@
"linux-x64": "Microsoft.Android.Sdk.Linux"
}
},
"Microsoft.Android.Ref.31": {
"kind": "framework",
"version": "@WORKLOAD_VERSION@"
},
"Microsoft.Android.Ref.32": {
"kind": "framework",
"version": "@WORKLOAD_VERSION@"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ public void RepetiviteBuildUpdateSingleResource ([Values (false, true)] bool use
}

[Test]
[Category ("XamarinBuildDownload")]
[NonParallelizable]
public void Check9PatchFilesAreProcessed ()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public void BuildAotApplicationAndBundleAndÜmläüts (string supportedAbis, boo

[Test]
[NonParallelizable]
[Category ("SmokeTests")]
[Category ("SmokeTests"), Category ("XamarinBuildDownload")]
public void BuildAMassiveApp ()
{
var testPath = Path.Combine ("temp", "BuildAMassiveApp");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@ public void ApplicationIdPlaceholder ()
}

[Test]
[Category ("XamarinBuildDownload")]
public void ExtraAaptManifest ()
{
var proj = new XamarinAndroidApplicationProject ();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public void DuplicateRJavaOutput ()
}

[Test]
[Category ("SmokeTests")]
[Category ("SmokeTests"), Category ("XamarinBuildDownload")]
[NonParallelizable] // parallel NuGet restore causes failures
public void BuildXamarinFormsMapsApplication ([Values (true, false)] bool multidex)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public void CheckIncludedAssemblies ([Values (false, true)] bool usesAssemblySto
"rc.bin",
"System.Private.CoreLib.dll",
"System.Runtime.dll",
"System.Runtime.CompilerServices.Unsafe.dll",
"System.Linq.dll",
"UnnamedProject.dll",
} :
Expand Down
Loading