Commit graph

6765 commits

Author SHA1 Message Date
Jackson Schuster
ee8d200035 PR Feedback:
- Use correct format for Versions.props package name
- Pass ExcludeFromDotNetBuild=false to build UBValidation Tests
- Remove DirectoryBuildProps
- Remove gitignore
2024-03-27 11:23:39 -07:00
Djuradj Kurepa
6b0cb559d9
Fix vmr build number (#19217) 2024-03-27 18:15:52 +00:00
dotnet-maestro[bot]
320d6542c5
[main] Update dependencies from dotnet/arcade (#19194)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-27 14:15:38 +00:00
Jason Zhai
3865af98b4 Merge branch 'release/8.0.3xx' 2024-03-27 02:34:06 -07:00
Viktor Hofer
d3df44dc39
Unify tasks and their namespaces to UnifiedBuild (#19210) 2024-03-27 08:32:25 +00:00
Matt Mitchell
4f7bc02cdd
Enable publishing in aspnetcore VMR builds (#19205) 2024-03-27 06:24:00 +01:00
Jackson Schuster
d963e00cee Uncommit unnecessary file and remove buildprops template fluff 2024-03-26 16:14:43 -07:00
Jackson Schuster
6101c31ba8 Fix imports issue with test project 2024-03-26 16:12:42 -07:00
Jackson Schuster
346f6347c5
Merge branch 'main' into TestProjectValidation 2024-03-26 14:50:08 -07:00
Marc Paine
5500f38388
[automated] Merge branch 'release/8.0.3xx' => 'main' (#19102) 2024-03-26 14:17:06 -07:00
Viktor Hofer
c3085a6c05
Enable aspnetcore in unified-build (#19167)
Co-authored-by: Matt Mitchell (.NET) <mmitche@microsoft.com>
2024-03-26 14:10:00 -07:00
Jackson Schuster
1d0b68be8b PR Feedback: Use Arcade SDK to get test parameters without passing from outer build 2024-03-26 13:59:50 -07:00
Ella Hathaway
3977c3829f
Update scancode to 32.1.0 (#19185) 2024-03-26 20:02:26 +00:00
Djuradj Kurepa
ca9773f69a
Create and publish VerticalAssetManifest (#19062)
Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-26 18:01:39 +00:00
Přemek Vysoký
a2f8bbc1f9
Add 1ES PT baselines for the VMR (#19192) 2024-03-26 13:08:07 +00:00
Ella Hathaway
53bd3865b8
Arcade and Runtime Doc License Exceptions (#19183) 2024-03-25 22:05:50 +00:00
Jackson Schuster
01e368ff71 PR feedback
- Integrate runtime host config settings instead of EnvVars
- Move version to Versions.props
2024-03-25 14:46:10 -07:00
Jackson Schuster
c592d1b570 Merge branch 'TestProjectValidation' of https://github.com/jtschuster/installer into TestProjectValidation 2024-03-25 10:32:52 -07:00
Jackson Schuster
b2f91942f2
Apply suggestions from code review
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-25 10:32:32 -07:00
Ella Hathaway
b3df7dc660
Allow additional wpf binary (#19182) 2024-03-25 17:10:21 +00:00
Matt Thalman
1f14a42046
Remove SBE license entry from baseline (#18968) 2024-03-25 15:24:58 +00:00
Omair Majid
21e0334c65
Use built-in SourceRevisionId instead of git rev-parse HEAD (#19091)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-25 15:18:59 +01:00
Oleksandr Didyk
c944035340
Update artifacts sizes baseline (#19157) 2024-03-25 13:55:24 +01:00
Přemek Vysoký
e39c438bf2
Migrate VMR-related pipelines to 1ES templates (#19100) 2024-03-25 04:06:00 -07:00
Ella Hathaway
0d5c4d50bf
Delete source-mappings-ub.json (#19156) 2024-03-25 01:53:09 -07:00
Viktor Hofer
b58a831895
Enable vstest in VMR unified-build (#19030) 2024-03-24 13:12:49 +00:00
Chet Husk
ee91cb14ff Fix reading of minimum MSBuild version 2024-03-23 16:07:33 +00:00
Chet Husk
79c1c4cc9a Generate a props file that can be used to detect MSBuild version mismatches.
We know the minimum and 'bundled' MSbuild versions, but users may build a project with newer SDKs than we expected (specifically when full-framework MSBuild is starting the build of an SDK-style project).
When this occurs, we'd like to automatically condition the use of PackageReferences meant to ensure compatibility of the Roslyn toolchain, so we need to know if we are in this mismatched situation.
A fast and simple way to do this is to 'stamp' the 'expected' version
of MSBuild during product construction and compare that to the
'current' version being used during the actual build.
2024-03-23 16:07:33 +00:00
Chet Husk
420a491027
Generate a props file that can be used to detect MSBuild version mismatches (#19144) 2024-03-23 11:07:07 -05:00
dotnet-maestro[bot]
ee6d8c81d3
[main] Update dependencies from dotnet/sdk (#19116)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: JL03-Yue <59816815+JL03-Yue@users.noreply.github.com>
2024-03-23 14:13:57 +00:00
Jackson Schuster
9faacebc1b Merge branch 'main' of https://github.com/dotnet/installer into TestProjectValidation 2024-03-22 15:44:52 -07:00
Ella Hathaway
7faec17039
Allow new WPF binaries in the VMR (#19154) 2024-03-22 22:08:16 +00:00
Ella Hathaway
06e60a19d9 Update artifact sizes baseline 2024-03-22 21:34:23 +00:00
Ella Hathaway
696ad911ee
Allow Winforms binary in VMR (#19155) 2024-03-22 19:59:04 +00:00
Chet Husk
ac487ddeb1 Fix reading of minimum MSBuild version 2024-03-22 13:23:06 -05:00
Jackson Schuster
2a70b8a4dc Use one env var to work around msbuild escaping 2024-03-22 10:37:04 -07:00
Chet Husk
38966b4a7c Generate a props file that can be used to detect MSBuild version mismatches.
We know the minimum and 'bundled' MSbuild versions, but users may build a project with newer SDKs than we expected (specifically when full-framework MSBuild is starting the build of an SDK-style project).
When this occurs, we'd like to automatically condition the use of PackageReferences meant to ensure compatibility of the Roslyn toolchain, so we need to know if we are in this mismatched situation.
A fast and simple way to do this is to 'stamp' the 'expected' version
of MSBuild during product construction and compare that to the
'current' version being used during the actual build.
2024-03-22 11:43:18 -05:00
Nikola Milosavljevic
049c92b4d3
Use package source mappings in VMR build (#19114)
Co-authored-by: Michael Simons <msimons@microsoft.com>
2024-03-22 07:31:28 -07:00
Ella Hathaway
700ed9e1dd
Additional Binary Exclusions (#19135) 2024-03-22 09:09:24 -05:00
Ella Hathaway
3a619503f0
Remove cloaked binaries (#18563) 2024-03-21 17:07:19 -07:00
Jackson Schuster
a82bdc9bf3 PR feedback
- Move Directory.Build.props to build UB tests with arcade
- Use msbuild task to run tests rather than exec
- Update old condition for building UB tests
2024-03-21 10:03:54 -07:00
Jackson Schuster
5c57672381 Update assets, log sdk download info during setup 2024-03-21 08:23:58 -07:00
Jackson Schuster
43e52e867e Update baselines with correct msft and ub sdks 2024-03-20 22:58:40 -07:00
Jackson Schuster
d85e153aeb Fix env var mismatch 2024-03-20 17:08:15 -07:00
Jackson Schuster
4efaf69087
Merge branch 'main' into TestProjectValidation 2024-03-20 15:15:05 -07:00
Ella Hathaway
e8ca46aac6
Updates to Binary Tooling (#19043) 2024-03-20 22:02:21 +00:00
Jackson Schuster
736b6f45c9 Add linux file diff exclusions 2024-03-20 14:45:52 -07:00
Jackson Schuster
7180f58733 Clean up testing and move sdk download to test project 2024-03-20 14:43:00 -07:00
Michael Simons
c2f20810fe
Remove the format repo which was merged into sdk (#19113) 2024-03-20 15:54:56 +00:00
Ladi Prosek
4c8fb55b04
Revert "[release/8.0.2xx] NGEN Microsoft.DotNet.MSBuildSdkResolver.dll and its dependencies (#17750)" (#19112)
This reverts commit f0c4e4e14c.

Fixes [AB#1994786](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1994786/)

The MSBuild change which took advantage of this was reverted in 17.9 because it introduced issues in installations that don't have the .NET SDK component installed. We are fixing the bug in 9.0 by making changes to the dependencies of `Microsoft.DotNet.MSBuildSdkResolver` (see https://github.com/dotnet/sdk/pull/39573) so this should stay in main. I am reverting it only in 8.0.3xx / 17.10 to fix the `Build_Ngen_InvalidAssemblyCount` counter which was flagged as a regression by PerfDDRITs.
2024-03-20 16:34:57 +01:00
dotnet-maestro[bot]
eaacb55a77
[main] Update dependencies from dotnet/sdk (#19080)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: JL03-Yue <59816815+JL03-Yue@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-20 08:31:28 +00:00
dotnet-maestro[bot]
82099924ef
[main] Update dependencies from dotnet/source-build-externals (#19097)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: JL03-Yue <59816815+JL03-Yue@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-20 07:47:42 +00:00
Jason Zhai
0d2d5bb44a Merge branch 'release/8.0.3xx' 2024-03-19 23:31:00 -07:00
Jackson Schuster
a783e3b6a9 Remove assemblies that aren't in both sdk's from version validation 2024-03-19 14:41:22 -07:00
Jackson Schuster
47053c4b8e Keep building sdkArchiveDiff tasks for finding the single sdk. We'll move it into the test later 2024-03-19 11:41:41 -07:00
Jackson Schuster
db4d2d2a54 Revert changes from existing smoke tests 2024-03-19 11:13:41 -07:00
Jackson Schuster
949a3049bc Don't run old sdk validation, restore test project in init-build.proj 2024-03-19 10:46:12 -07:00
Jackson Schuster
46cc050d54 Revert changes from existing smoke tests 2024-03-19 09:54:36 -07:00
Jackson Schuster
cdbd8e5b3f Fix capilization issue with file name 2024-03-19 09:52:54 -07:00
Viktor Hofer
e22bf5e53d
Support building with desktop msbuild (#19095) 2024-03-19 14:12:41 +01:00
Jason Zhai
82afe53846 Remove 5.0 template 2024-03-19 02:42:14 -07:00
Jason Zhai
afa95c6d2a Remove 3.1 template 2024-03-19 00:58:01 -07:00
Jason Zhai
ce007b0b84 Remove 3.0 template 2024-03-19 00:25:35 -07:00
Jason Zhai
104ed88ea2 Remove 2.1 template 2024-03-19 00:13:16 -07:00
Jackson Schuster
b1dfb7a0e4 Remove old PackageDiff and reference test runner in installer.proj 2024-03-18 16:41:47 -07:00
Jackson Schuster
b076829716 Merge branch 'main' of https://github.com/dotnet/installer into TestProjectValidation 2024-03-18 15:41:30 -07:00
Jackson Schuster
1991c7b8dd Add initial SDK test project for unified build 2024-03-18 15:33:56 -07:00
Matt Thalman
f7cf9370bb
Update SDK diff and artifacts sizes baseline (#19066) 2024-03-18 10:37:51 -05:00
dotnet-maestro[bot]
725a5a46c6
[main] Update dependencies from dotnet/arcade (#19049)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-18 15:30:36 +00:00
Nikola Milosavljevic
1f6f78f1c5
Revert non-determinism in Nuget local sources (#19074) 2024-03-16 09:11:17 +01:00
Viktor Hofer
0c23c8d723
Move sdkArchiveDiff into installer.proj (#19069) 2024-03-15 22:21:23 +00:00
Viktor Hofer
e38441beb8
Condition copy inner built restore package on source-build (#19072) 2024-03-15 21:25:32 +00:00
Viktor Hofer
8745d0f816
Change default for MinimalConsoleLogOutput (#19070) 2024-03-15 21:24:55 +00:00
Matt Mitchell
811c35935e
Add WindowsDesktop dependency from sdk.proj (#19071) 2024-03-15 22:24:17 +01:00
Michael Yanni
b40c44502d
Migrate to 1ES templates for internal builds (#19016) 2024-03-15 13:42:58 -07:00
dotnet-maestro[bot]
4106448ffa
[main] Update dependencies from dotnet/sdk (#19065)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Matt Mitchell (.NET) <mmitche@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-15 13:05:34 -07:00
Přemek Vysoký
bf87f95f44
Add a PR version of VMR pipelines (#19063) 2024-03-15 09:10:10 -07:00
Nikola Milosavljevic
3384a8d60f
Enable publishing in VMR (#18917)
Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-15 15:48:15 +01:00
Michael Simons
3ee5304e71
Move the source-build script back to the root of the repo (#19059) 2024-03-15 14:45:04 +00:00
Přemek Vysoký
e0a140efa0
[release/8.0.1xx] Add PR version of VMR pipelines (#19064) 2024-03-15 06:55:27 -07:00
Jason Zhai
1051f9b6b8 Merge branch 'release/8.0.1xx' into release/8.0.2xx 2024-03-14 23:21:29 -07:00
NET Source-Build Bot
f1480346bb
.NET Source-Build 8.0.103 March 2024 Updates (#19007) 2024-03-14 14:45:47 +00:00
Ella Hathaway
a0a5de0c52
ApplicationInsights patch in Arcade (#19042) 2024-03-14 07:33:55 -05:00
Jackson Schuster
158c2aa0ed Create test project for Unified Build validation 2024-03-13 13:53:24 -07:00
Michal Strehovský
f51a2d95a5
Add linux-bionic-arm to native AOT runtime packs (#19022) 2024-03-13 22:53:43 +09:00
Viktor Hofer
a64fc0bd58
Only msbuild code formatting (#18801) 2024-03-13 12:22:03 +00:00
Jackson Schuster
08364741b0 Merge branch 'main' of https://github.com/dotnet/installer 2024-03-12 10:09:17 -07:00
Ella Hathaway
b76440930b
Binary tooling (#18726) 2024-03-12 10:30:23 -06:00
Viktor Hofer
15f666742c
Enable msbuild in the unified build (#18770)
Co-authored-by: Matt Mitchell (.NET) <mmitche@microsoft.com>
2024-03-12 16:26:46 +00:00
Jeremy Koritzinsky
b6d8862500
Set the CrossBuild property instead of the CROSSCOMPILE environment variable (#18915) 2024-03-11 16:03:44 -07:00
Michael Yanni
965c26c8cc Merge branch 'main' into feature/1es-templates 2024-03-11 13:02:26 -07:00
Michael Yanni
bcdca559bb NuGetPackageRoot already contains a slash in it so removing extra slash. 2024-03-11 13:01:47 -07:00
Matt Thalman
6ffda8851c
Revert "Rebootstrap SB SDK/artifacts" (#18964) 2024-03-11 14:07:07 +00:00
dotnet-maestro[bot]
232d2df252
[main] Update dependencies from dotnet/sdk (#18916)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-10 09:48:30 +01:00
Jackson Schuster
1dce1914fc
Build sdkArchiveDiff only when we'll run it (#18930) 2024-03-09 09:14:38 +00:00
Matt Thalman
3de6912d73
Enable parallel builds across repos of VMR (#18824) 2024-03-08 21:59:46 +00:00
Matt Thalman
360eff1732
Rebootstrap SB SDK/artifacts (#18763) 2024-03-08 09:32:47 -06:00
Jackson Schuster
34940c02d7
Exclude archive diff target on pgo leg (#18918) 2024-03-07 23:11:56 -08:00
v-wuzhai
8d53942879
[automated] Merge branch 'release/8.0.3xx' => 'main' (#18901) 2024-03-08 14:33:06 +08:00
Jackson Schuster
e27cdf1f90 Exclude archive diff target on pgo leg 2024-03-07 17:09:40 -08:00
Viktor Hofer
7fc4318b30
Update build.proj to make the build mode clearer (#18913) 2024-03-07 18:10:41 +00:00
Jackson Schuster
a36d3611ed
Add SdkArchiveDiff task to verify the sdk archive has all the expected files (#18748) 2024-03-07 10:03:38 -08:00
Jason Zhai
b725b838b3 Merge branch 'release/8.0.3xx' 2024-03-07 01:37:39 -08:00
Jackson Schuster
2286d77633 Use Item transform instead of batching to output lines to file 2024-03-06 21:31:51 -08:00
Jackson Schuster
6ca4c6f0d2 Use .diff instead of csv for sdk content diffs 2024-03-06 13:37:06 -08:00
Jackson Schuster
60c0a7e489 Add args to WriteLinesToFile 2024-03-06 12:01:10 -08:00
Jackson Schuster
b290188e39 Use remote file name for downloaded sdk 2024-03-06 11:59:14 -08:00
Jackson Schuster
2c5bee4788 Fix typo 2024-03-06 11:57:01 -08:00
Jackson Schuster
36d3cfa394
Update src/SourceBuild/content/eng/sdkArchiveDiffs.targets
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-06 11:46:02 -08:00
Jackson Schuster
97fc3b8342 PR Feedback: Formatting, move/add conditions, output diffs to csv in logs 2024-03-06 11:41:32 -08:00
Matt Mitchell
c885fca733
Scripts to restore commonly changes files (#18578) 2024-03-06 15:37:24 +01:00
Tom Deseyn
c0f4c586c2
Add product rid to ILCompiler rids when bundling ILCompiler with the SDK. (#18835) 2024-03-06 13:18:13 +01:00
David McFarland
7f2e994004
ExtractArchiveToDirectory: open .tar.gz archives read-only (#18891) 2024-03-06 10:36:52 +01:00
Matt Mitchell
68cc1aeb08
Remove ArcadeBuildVertical parameter (#18889) 2024-03-06 09:33:08 +01:00
Jason Zhai
16115d613a Merge branch 'release/8.0.1xx' into release/8.0.2xx 2024-03-05 23:07:41 -08:00
Jackson Schuster
3c848d51a3 Update missed reference 2024-03-05 16:00:00 -08:00
Jeremy Koritzinsky
aa0c912499
Pass TargetRid to Razor's build for the VMR (#18843) 2024-03-05 15:46:03 -08:00
Jackson Schuster
2075e8765b Use "Closest" sdk instead of "Latest" 2024-03-05 14:34:00 -08:00
Jackson Schuster
4f6bac312d Remove conditions on tasks 2024-03-05 14:14:53 -08:00
Jackson Schuster
d49fa67842 Update link to copied source 2024-03-05 14:06:35 -08:00
Michael Simons
f1db5daa0c
Refactor ArtifactsSizeTest to emit updated baseline with only breaking size changes (#18844) 2024-03-05 14:40:53 -06:00
Tom Deseyn
bdc894d0d6
Fix PortableRid default for cross-build source-builds. (#18854) 2024-03-05 09:41:28 +01:00
Matt Mitchell
7c393400d2
Update arcade and add support for --build-tests switch (#18464)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-04 20:33:27 +00:00
Jackson Schuster
97d8e4d2b6 Add message when there are no differences, don't validate non-portable builds 2024-03-04 11:51:45 -08:00
Ella Hathaway
69bf62f29a
Update Assembly Exclusions (#18859) 2024-03-04 11:23:54 -08:00
Matt Mitchell
0ae1862899
Update HostRid default to be in line with Host/Target architecture props (#18861) 2024-03-04 18:52:29 +00:00
Viktor Hofer
97cc3fca4b
Add build mode to VMR build log (#18860) 2024-03-04 18:44:44 +00:00
Ella Hathaway
80a44a7252
Update SDK diff baseline (#18858) 2024-03-04 10:17:24 -08:00
Jackson Schuster
3adb0cc25c Don't add another item in SdkTarballItem 2024-03-02 09:28:13 -08:00
Jackson Schuster
8eb0cd2a5c Update logs, add check for valid RID 2024-03-01 15:19:42 -08:00
Michael Simons
1c511c13d4
Remove unnecessary runtime installation (#18841) 2024-03-01 22:05:40 +00:00
Michael Yanni
35bfedb19b Adjusted the way in which Platform is set for finalizer. Now, it is set prior to calling the Arcade SDK, so the OutputPath properly includes the Architecture folder. 2024-03-01 13:15:32 -08:00
Jackson Schuster
5a2d878d25 Accidentally added test changes 2024-03-01 12:44:27 -08:00
Jackson Schuster
eafa1ba769 Check index before indexing array, and add common prefix to start of diff 2024-03-01 12:42:27 -08:00
Jackson Schuster
2b3389d842 Forgot to add the deletion of the old file 2024-03-01 11:43:57 -08:00
Michael Simons
fc9e980c5f
Rename prep.sh to indicate that it is source-build specific and move to the eng dir (#18840) 2024-03-01 13:34:25 -06:00
Jackson Schuster
9b43ca3885 Rename file to match type 2024-03-01 11:31:35 -08:00
Jackson Schuster
3ed90968ee Don't validate Sdk archive diffs on shortstack 2024-03-01 11:21:40 -08:00
Jackson Schuster
f84323905d PR Feedback:
- Extract common archive diffing into a base class
- Move Diff utils to a separate class
- Return all valid archives and assert only one valid SDK archive
- Use Arcade VersionIdentifier util class
2024-03-01 10:42:14 -08:00
Matt Thalman
555df1c3c0
Invert smoke test publish complex logic (#18842) 2024-03-01 12:36:59 -06:00
Jackson Schuster
478bb285c1 PR Feedback: use underscore prefix for 'local' properties 2024-02-29 10:32:22 -08:00
Jackson Schuster
3cf9a383be Use cancellation token in FindArchiveDiff and move directory separator in path builder 2024-02-29 10:00:40 -08:00
Jackson Schuster
7632ab4d74 PR Feedback:
- Use 'archive' rather than 'tarball'
- Remove dead code
- Discard unused return values
2024-02-29 09:48:31 -08:00
Omair Majid
83bf55b047
Make prep.sh fail when it fails to download archives (#18812) 2024-02-28 21:11:54 +00:00
Michael Yanni
5a9e492894 Added Valleysoft.DockerCredsProvider.dll exclusion back as it is necessary. Updated or removed TODO comments. Fixed some tabbing from merging. Fixed a compilation bug if this code is ever built against 4.5.1(????) 2024-02-28 12:12:30 -08:00
Viktor Hofer
d23aa136ea
Save RepoBuildExitCode for debugging purposes (#18798) 2024-02-28 19:52:42 +01:00
dotnet-maestro[bot]
19619c09e2
[main] Update dependencies from dotnet/sdk (#18762)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Matt Thalman <mthalman@microsoft.com>
2024-02-28 18:32:15 +00:00
Jackson Schuster
9ffe5c200d Make long running tasks cancellable 2024-02-28 10:06:38 -08:00
Jackson Schuster
b6fba7eb7c Use property notation instead of item 2024-02-28 09:56:49 -08:00
Oleksandr Didyk
ae67144b8c
Update artifact size baseline for Centos8 (#18804) 2024-02-28 17:40:50 +01:00
Viktor Hofer
a429f46360
Update build.proj (#18791) 2024-02-28 10:14:00 -06:00
Jackson Schuster
45728f7ba5 Add task to find the single best tarball, and remove unused usings 2024-02-28 07:36:59 -08:00
Oleksandr.Didyk
658d83593f update artifact size baseline 2024-02-28 16:29:15 +01:00
Jackson Schuster
f704a53482 Fix error message 2024-02-28 07:02:52 -08:00
Michael Yanni
34c7829222 Merge branch 'feature/installer-merge-update-main' into feature/installer-merge-update
# Conflicts:
#	eng/Version.Details.xml
#	eng/Versions.props
#	global.json
#	src/redist/redist.csproj
#	src/redist/targets/BundledDotnetTools.targets
#	src/redist/targets/BundledTemplates.targets
#	src/redist/targets/Crossgen.targets
#	src/redist/targets/GenerateArchives.targets
#	src/redist/targets/GenerateLayout.targets
#	src/redist/targets/GeneratePKG.targets
#	test/SdkTests/SdkTests.csproj
2024-02-27 13:09:06 -08:00
dotnet-maestro[bot]
998d6ecb6f
[main] Update dependencies from dotnet/arcade (#18779)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-27 20:02:54 +00:00
Viktor Hofer
25ffb671b3
Enable razor in unified-build (#18776)
Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2024-02-27 16:06:56 +01:00
Michael Simons
a15854119a
Update ArtifactsSizeTest to notify of removed files (#18766)
Co-authored-by: Matt Thalman <mthalman@microsoft.com>
2024-02-26 14:30:07 -06:00
Jo Shields
7f749377be
Fix #18777 (#18778) 2024-02-26 19:18:06 +00:00
Jackson Schuster
d30c7408d7 Rename GetVersionAnonymousPath 2024-02-26 09:31:36 -08:00
Jackson Schuster
8a5244cdf2 Merge branch 'TarballDiff' of https://github.com/jtschuster/installer into TarballDiff 2024-02-26 09:29:28 -08:00
Jackson Schuster
0eea7e0579 Fix stack overflow and rename method 2024-02-26 09:29:22 -08:00
Jo Shields
a885953ea1
Actually pass through --use-mono-runtime property (#18777) 2024-02-26 11:42:27 -05:00
Oleksandr Didyk
f5e30e0931
Update SDK diff baseline (#18772) 2024-02-26 17:41:51 +01:00
Jackson Schuster
7b16584a7f
Merge branch 'main' into TarballDiff 2024-02-26 08:07:10 -08:00
Jo Shields
a300316736 Actually pass through --use-mono-runtime property
Closes: https://github.com/dotnet/source-build/issues/4142
2024-02-26 10:29:53 -05:00
Viktor Hofer
94aea21ee6
Enable dotnet/format in unified-build (#18773) 2024-02-26 15:58:33 +01:00
Oleksandr.Didyk
7c4d039217 update sdk diff baseline 2024-02-26 14:02:42 +01:00
Matt Mitchell
d070660282
Enable installer and SDK repos in VMR build (#18632)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-26 10:51:44 +00:00
dotnet-maestro[bot]
39605ca720
[main] Update dependencies from dotnet/sdk (#18752)
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
  - Microsoft.WindowsDesktop.App.Ref: from 9.0.0-preview.2.24120.1 to 9.0.0-preview.2.24122.1 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.9.0: from 9.0.0-preview.2.24120.1 to 9.0.0-preview.2.24122.1 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.9.0: from 9.0.0-preview.2.24120.1 to 9.0.0-preview.2.24122.1 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.SharedFramework.x64.9.0: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Ref: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.TargetingPack.x64.9.0: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Host.win-x64: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.Platforms: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.runtime.linux-x64: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 9.0.0-preview.2.24120.1 to 9.0.0-preview.2.24122.1 (parent: Microsoft.NET.Sdk)
  - Microsoft.Dotnet.WinForms.ProjectTemplates: from 9.0.0-preview.2.24118.1 to 9.0.0-preview.2.24122.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 9.0.0-preview.2.24120.1 to 9.0.0-preview.2.24122.1 (parent: Microsoft.NET.Sdk)
  - Microsoft.DotNet.Wpf.ProjectTemplates: from 9.0.0-preview.2.24119.1 to 9.0.0-preview.2.24122.1 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.FSharp.Compiler: from 12.8.300-beta.24120.1 to 12.8.300-beta.24122.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.fsharp: from 8.0.300-beta.24120.1 to 8.0.300-beta.24122.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.Test.Sdk: from 17.10.0-preview-24119-01 to 17.10.0-preview-24120-01 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.vstest: from 17.10.0-preview-24119-01 to 17.10.0-preview-24120-01 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.ILLink.Tasks: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.Net.Compilers.Toolset: from 4.10.0-2.24120.7 to 4.10.0-2.24122.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.roslyn: from 4.10.0-2.24120.7 to 4.10.0-2.24122.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.Build: from 17.10.0-preview-24120-06 to 17.10.0-preview-24122-01 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.msbuild: from 17.10.0-preview-24120-06 to 17.10.0-preview-24122-01 (parent: Microsoft.NET.Sdk)
  - NuGet.Build.Tasks: from 6.10.0-preview.2.32 to 6.10.0-preview.2.41 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Runtime.win-x64: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport: from 9.0.0-preview.2.24114.5 to 9.0.0-preview.2.24121.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)
  - Microsoft.NETCore.App.Runtime.win-x64: from 9.0.0-preview.2.24120.11 to 9.0.0-preview.2.24122.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.emsdk: from 9.0.0-preview.2.24114.5 to 9.0.0-preview.2.24121.1 (parent: Microsoft.NETCore.App.Runtime.win-x64)

 - Rebase fsharp patch

 - Roslyn patch to fix NetRoslyn value
2024-02-23 17:13:59 +00:00
Michael Simons
3e38a7a77a
Update sync script reference in VMR readme (#18754) 2024-02-23 09:21:46 -06:00
Jeremy Koritzinsky
4b127e32d4
Add VMR support for Windows-x64 PGO Instrumented leg (#18672)
Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-23 15:18:09 +00:00
Viktor Hofer
c557d5b91f
Remove separate package-source-build project (#18750) 2024-02-23 15:04:42 +01:00
Jackson Schuster
8c32f67bad Don't autoredirect and check for correct aka.ms redirect code 2024-02-22 15:32:02 -08:00
Jackson Schuster
a3256e2d70
Update src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.SdkArchiveDiff/Microsoft.DotNet.SourceBuild.Tasks.SdkArchiveDiff.csproj
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-22 14:44:51 -08:00
Jackson Schuster
a336dd0f65
Update src/SourceBuild/content/eng/tools/tasks/Microsoft.DotNet.SourceBuild.Tasks.SdkArchiveDiff/Microsoft.DotNet.SourceBuild.Tasks.SdkArchiveDiff.csproj
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-22 14:44:46 -08:00
Matt Thalman
9dc1ce8ad0
Arcade patch to ignore std error warning format (#18751) 2024-02-22 21:15:25 +00:00
Jackson Schuster
2862e1f75c Report if there is no sdk produced in the build 2024-02-22 09:14:53 -08:00
Jackson Schuster
5cc5ee0532 Run the archive diff by default 2024-02-22 08:52:31 -08:00
Jackson Schuster
a4bee9104a Forgot to make the project a library after testing 2024-02-22 08:47:34 -08:00
Jackson Schuster
cd1b907f80 fix name 2024-02-22 08:38:05 -08:00
Jackson Schuster
e894991b5f Add SdkArchiveDiff task to verify the sdk archive has all the expected outputs 2024-02-22 08:30:29 -08:00
Matt Thalman
ed324e09c7
Isolate package flow between repos (#18557)
As a prerequisite to enabling parallel builds of the repos in the VMR, it's necessary to isolate the package flow between repos. This ensures that repo dependencies are defined correctly. Prior to these changes, the packages outputted by repos went to the same directory (Shipping or NonShipping) and those two directories were used as the package feed inputs to dependent repos. This would be dangerous in the context of running builds in parallel across repos because any ill-defined dependencies could lead to race conditions. For example, consider the msbuild repo's dependency on System.Text.Json from the runtime repo. If runtime was not defined as a dependency of msbuild, then there's no guarantee that System.Text.Json will exist when it restores it. Based on timing, it may exist in one build and then not exist in another build.

To solve this problem, the packages output from a repos build are placed in a repo-specific package location as a sub-directory of the package location (Shipping or NonShipping). Previously, all repos would output their packages to `artifacts/packages/Release/[NonShipping|Shipping]`. With these changes, they output to `artifacts/packages/Release/[NonShipping|Shipping]/<repo-name>`. This isolates all packages on a per-repo basis. The next step is to provide access to these packages based on dependencies. Going back to msbuild's dependency on runtime, this is accomplished by modifying msbuild's nuget.config file to include feeds specific to runtime:

```xml
<add key="source-built-runtime" value="/vmr/artifacts/packages/Release/Shipping/runtime/" />
<add key="source-built-transport-runtime" value="/vmr/artifacts/packages/Release/NonShipping/runtime/" />
```
2024-02-22 10:25:55 -06:00
Viktor Hofer
0a73f814e1
Don't append to but overwrite the log file (#18746) 2024-02-22 15:29:39 +01:00
Matt Mitchell
ff773a4b6d
Remove aspire exclusion (#18663)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-22 10:08:00 +01:00
Noah Gilson
8f62fd0b22
[automated] Merge branch 'release/8.0.3xx' => 'main' (#18709) 2024-02-20 14:09:49 -08:00
Tom Deseyn
4a54301016
Improve/fix cross-build support. (#18658) 2024-02-20 09:07:53 -08:00
Matt Thalman
b503b6ae70
Exclude format/watch from SDK diff (#18707) 2024-02-20 10:59:41 -06:00
Jason Zhai
9734654a0b Merge branch 'release/8.0.3xx' 2024-02-18 23:08:19 -08:00
Michal Strehovský
ca9ed190d4
Add linux-arm native AOT support (#18703)
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2024-02-16 17:01:19 +00:00
Michael Yanni
f51c01f891 Whitespace cleanup. 2024-02-15 17:05:23 -08:00
Marc Paine
044c324be7
Merge branch 'release/8.0.2xx' into merge/release/8.0.1xx-to-release/8.0.2xx 2024-02-15 13:30:43 -08:00
Chet Husk
6d74c21536 add SdkAnalysisLevel where it is easily computed, instead of in the SDK repo 2024-02-15 10:18:58 -06:00
NET Source-Build Bot
124c9f8435
.NET Source-Build 8.0.102 February 2024 Updates (#18655) 2024-02-15 14:45:17 +00:00
vseanreesermsft
c92f4231d3
Merging internal commits for release/8.0.1xx (#18650) 2024-02-15 07:39:04 -06:00
Matt Mitchell
a4860bb6bf
Remove SDK repo exclusion (#18667) 2024-02-15 07:40:19 +01:00
Jo Shields
1343db3344 Try wiring up all remaining Short Stack lanes 2024-02-14 11:14:01 -05:00
Matt Mitchell
cb23ae9ae2
Enable deployment tools (#18642)
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2024-02-14 15:05:17 +01:00
Matt Mitchell
19d3b3891b
Revert "Disables test-templates build again" (#18597)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-02-14 08:00:07 +01:00
dotnet-maestro[bot]
273f49c44f
[main] Update dependencies from dotnet/sdk (#18641)
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
  - Microsoft.WindowsDesktop.App.Ref: from 9.0.0-preview.2.24112.5 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.9.0: from 9.0.0-preview.2.24112.5 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.9.0: from 9.0.0-preview.2.24112.5 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.SharedFramework.x64.9.0: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Ref: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.TargetingPack.x64.9.0: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Host.win-x64: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.Platforms: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.runtime.linux-x64: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Ref: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Ref.Internal: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Runtime.win-x64: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.AspNetCore.SharedFramework.x64.9.0: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - dotnet-dev-certs: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - dotnet-user-jwts: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - dotnet-user-secrets: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.aspnetcore: from 9.0.0-preview.2.24112.25 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 9.0.0-preview.2.24112.5 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.Dotnet.WinForms.ProjectTemplates: from 9.0.0-preview.2.24112.2 to 9.0.0-preview.2.24112.7 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 9.0.0-preview.2.24112.5 to 9.0.0-preview.2.24113.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.DotNet.Wpf.ProjectTemplates: from 9.0.0-preview.2.24112.2 to 9.0.0-preview.2.24112.4 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.FSharp.Compiler: from 12.8.300-beta.24112.4 to 12.8.300-beta.24113.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.fsharp: from 8.0.300-beta.24112.4 to 8.0.300-beta.24113.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.Test.Sdk: from 17.10.0-preview-24107-02 to 17.10.0-preview-24112-02 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.vstest: from 17.10.0-preview-24107-02 to 17.10.0-preview-24112-02 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.ILLink.Tasks: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.Net.Compilers.Toolset: from 4.10.0-2.24112.4 to 4.10.0-2.24113.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.roslyn: from 4.10.0-2.24112.4 to 4.10.0-2.24113.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Runtime.win-x64: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Runtime.win-x64: from 9.0.0-preview.2.24112.33 to 9.0.0-preview.2.24113.5 (parent: Microsoft.NET.Sdk)

 - Delete obsolete format patch

 - Update WASI container to react to 1a9e0cdb3b

 - Update aspnetcore.proj
2024-02-14 01:56:14 +00:00