Commit graph

6691 commits

Author SHA1 Message Date
Jackson Schuster
0ee472fc9e Use portable BuildRid instead of distro specific rid 2024-04-01 10:47:49 -07:00
Jackson Schuster
266aaabc46 Make test project self-contained to work around framework resolution issues 2024-04-01 10:30:53 -07:00
Ella Hathaway
9d560703b6
Delete Application-Insights patch (#19160) 2024-04-01 17:18:07 +00:00
Jackson Schuster
7ba27a5ea8 PR Feedback:
- Remove reference to Logging package
- Update FileGlobbing Version to 8.0
- Move Validation target to installer repo-projects project
- Set VSTestUseMSBuildOutput=true in test project file
2024-04-01 09:48:00 -07:00
Viktor Hofer
f75c8d7adb
Always build poison detection (#19245) 2024-03-31 23:20:00 +02:00
Nikola Milosavljevic
f57e4665bd
Package source mappings - follow up (#19223) 2024-03-30 10:07:03 +01:00
github-actions[bot]
8e988a54c3
[main] Rebootstrap with latest changes (#19145)
Co-authored-by: Nikola Milosavljevic <nikolam@microsoft.com>
2024-03-30 01:44:43 +00:00
Jackson Schuster
8daa5ab86d Hardcode path to project file 2024-03-29 16:10:38 -07:00
Jackson Schuster
803aacb656
Update src/SourceBuild/content/eng/unifiedBuildValidation.targets
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-29 16:08:45 -07:00
Jackson Schuster
71cc6ce6a6
Update src/SourceBuild/content/test/Microsoft.DotNet.UnifiedBuild.Tests/Microsoft.DotNet.UnifiedBuild.Tests.csproj
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2024-03-29 15:59:20 -07:00
Jackson Schuster
f993c46dde Merge branch 'TestProjectValidation' of https://github.com/jtschuster/installer into TestProjectValidation 2024-03-29 15:30:24 -07:00
Jackson Schuster
e15c0f1bd6 Use .xml test result extension 2024-03-29 15:29:57 -07:00
Jackson Schuster
860de57e78
Merge branch 'main' into TestProjectValidation 2024-03-29 15:28:58 -07:00
Jackson Schuster
474ab95b9a Set test results output dir, set ContinueOnError=true 2024-03-29 13:54:59 -07:00
Viktor Hofer
58c2544951
Enable roslyn for unified build (#18769)
Co-authored-by: Matt Mitchell (.NET) <mmitche@microsoft.com>
2024-03-29 16:36:33 +00:00
Jackson Schuster
a29048822e Set correct test loggers to log all messages from test, add msftsdkpath option for debugging 2024-03-28 18:10:44 -07:00
Jackson Schuster
8bc48d75f0 Add Readme, just warn on baseline mismatch, log test info 2024-03-28 14:44:46 -07:00
Jackson Schuster
8abbbd32e0 Don't fail build on failing test 2024-03-28 11:02:07 -07:00
Forgind
0c1a017349
[automated] Merge branch 'release/8.0.3xx' => 'main' (#19208) 2024-03-28 10:20:06 -07:00
Jackson Schuster
772ccf9ed3 Merge branch 'main' of https://github.com/dotnet/installer into TestProjectValidation 2024-03-28 07:42:59 -07:00
Oleksandr.Didyk
4f8590b0c9 add missing using statement 2024-03-28 15:26:42 +01:00
Marek Fišera
9d8de1c561
[wasm] Use current SDK pack for down level TFM (#19199) 2024-03-28 14:22:52 +01:00
Jackson Schuster
9cae2dc6ec Update linux baseline 2024-03-27 21:17:44 -07:00
Jackson Schuster
51572ba188 Hardcode path to test project in restore 2024-03-27 16:05:56 -07:00
Jackson Schuster
3981f8be75 Merge branch 'main' of https://github.com/dotnet/installer into TestProjectValidation 2024-03-27 15:41:33 -07:00
Ella Hathaway
afab34fd84
Cloak Non-OSS licensed vstest binary (#19219) 2024-03-27 20:01:43 +00:00
Ella Hathaway
ac65bb3e0c
Scan binaries for licenses (#19206) 2024-03-27 19:56:34 +00:00
Ella Hathaway
830e02f93c
Cloak Non-OSS licensed Winforms test (#19218) 2024-03-27 19:39:18 +00:00
Jackson Schuster
406c954d7c
Merge branch 'main' into TestProjectValidation 2024-03-27 11:38:55 -07:00
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