Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
4bf1f04
Extended the section about extending builds
assarbad Jul 28, 2023
6b34c34
Question feedback changes.
yuehuang010 Aug 22, 2023
d9ad84e
Fix missing error message in GenerateResource task.
yuehuang010 Aug 22, 2023
ed09e36
.
yuehuang010 Aug 22, 2023
b47cc94
Add back as Obsolete
yuehuang010 Aug 29, 2023
7b36917
On windows there can be problems with Tools that do not support Unico…
hknielsen Sep 19, 2023
d5418df
Update src/Shared/TempFileUtilities.cs
hknielsen Sep 21, 2023
edf772b
Update Microsoft.BuildXL.Processes to 0.1.0-20230929.2
dfederm Sep 29, 2023
6e22fd2
Update dependencies from https://github.com/dotnet/roslyn build 20231…
dotnet-maestro[bot] Oct 2, 2023
0bce8bc
Update dependencies from https://github.com/nuget/nuget.client build …
dotnet-maestro[bot] Oct 2, 2023
eefbaad
Update how ClickOnce chooses to publish items from the None group and…
sujitnayak Oct 3, 2023
df858b4
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Oct 4, 2023
1aba44b
update XmlPeek and XmlPoke tasks (#9194)
jrdodds Oct 4, 2023
0df5d85
Merge pull request #9297 from dotnet/darc-main-e9bde7c9-54f3-4581-9d7…
YuliiaKovalova Oct 4, 2023
10d39e9
Merge pull request #9232 from hknielsen/dont-append-username
JanKrivanek Oct 5, 2023
01bf0f2
Reduce VS drop retention time for builds (#9305)
rainersigwald Oct 5, 2023
b553754
Merge branch 'main' of https://github.com/dotnet/msbuild into main_qu…
yuehuang010 Oct 6, 2023
3f83514
Fix CG alerts caused by RoslynTools.MSBuild 17.7.2 (#9310)
GangWang01 Oct 9, 2023
037f688
Fix policheck error (#9311)
JaynieBai Oct 10, 2023
51919c1
Mention unification in RAR found-conflicts message (#9226)
rainersigwald Oct 10, 2023
4ec8852
Correct success for /preprocess /targets builds (#8908)
Forgind Oct 10, 2023
02017ac
Enable Windows Disabled Drive Enumeration Tests (#9266)
JaynieBai Oct 10, 2023
41f76a0
Packages sourcing doc (#8475)
JanKrivanek Oct 10, 2023
f25816b
Catch the illegal argument exception in Net Framework! (#8839)
JaynieBai Oct 10, 2023
505676b
Remove stale .vsconfig components (#8862)
rainersigwald Oct 10, 2023
6f9ea05
Update dependencies from https://github.com/dotnet/roslyn build 20231…
dotnet-maestro[bot] Oct 11, 2023
f2bf4dd
Re-enable IdenticalSubmissionsShouldCompleteAndNotHangTheBuildOnMissi…
ladipro Oct 11, 2023
a934111
Delete ExcludeFromStyleCop (#9247)
ladipro Oct 11, 2023
70f0ac5
Make repo buildable with VS 17.8.0 Preview 3.0 (#9319)
ladipro Oct 12, 2023
c36a54e
Add a job for experimental Framework MSBuild insertion to a pipeline …
AR-May Oct 12, 2023
25fdeb3
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Oct 13, 2023
60258cb
Merge branches 'dfederm/bxl-bump' (#9292) and 'sujitnayak/main' (#929…
rainersigwald Oct 13, 2023
e493e7a
Update dependencies from https://github.com/dotnet/roslyn build 20231…
dotnet-maestro[bot] Oct 17, 2023
2016d60
Cleanup: Delete NGen of T (#9263)
ladipro Oct 17, 2023
4256aed
Populate unproxied targets to avoid dropping requested targets (#9130)
dfederm Oct 17, 2023
6f10465
Stop touching GenerateBindingRedirects output
rainersigwald Oct 17, 2023
f4fa6bd
Get Retail MSBuild Drop Path with Restful API (#9332)
JaynieBai Oct 18, 2023
867e260
AppDomain configuration is serialized without using BinFmt (#9320)
MichalPavlik Oct 18, 2023
c6f4fc1
Setup UnGAC: treat 259 as success (#9325)
rainersigwald Oct 18, 2023
1ee4a90
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Oct 19, 2023
c62c8f3
Update change wave md
rokonec Oct 19, 2023
da42396
Warn by default on windows
rokonec Oct 19, 2023
0350dfb
Lingo
rokonec Oct 19, 2023
8a77f46
[main] Update dependencies from dotnet/source-build-reference-package…
dotnet-maestro[bot] Oct 19, 2023
221fd2e
Ensure the built project is retained when restoring fixes #9339 (#9345)
Forgind Oct 19, 2023
6df92f3
Fix unit test
rokonec Oct 19, 2023
b052228
Make cache-add APIs experimental (#9330)
rainersigwald Oct 19, 2023
056b0c4
Merge branches 'exp/privatize-cache' (#9330) and 'exp/undo-Generating…
rainersigwald Oct 19, 2023
195e7f5
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Oct 19, 2023
08494c7
Use distinct signal to wait to cancel the submission (#9326)
GangWang01 Oct 23, 2023
43ffadf
Revert "Populate unproxied targets to avoid dropping requested target…
maridematte Oct 24, 2023
3a2f9ba
Update dependencies from dotnet/arcade (#9315)
dotnet-maestro[bot] Oct 25, 2023
04fde49
Merge vs17.8
rainersigwald Oct 25, 2023
ed404c0
Revert "Update dependencies from dotnet/arcade (#9315)" (#9360)
rainersigwald Oct 25, 2023
9a26a2f
Add deprecation notice and links (#9221)
ghogen Oct 26, 2023
6a27dad
Fix dotnet path for RoslynCodeTaskFactory (#9207)
GangWang01 Oct 26, 2023
8e5c853
Update CustomBuildEventArgs deprecation info
JanKrivanek Oct 26, 2023
4a626bc
Use AssemblyLoadContext Name instead of AppDomain (#9353)
bording Oct 26, 2023
4834c92
Update src/Framework/CustomBuildEventArgs.cs
JanKrivanek Oct 26, 2023
ec4d205
Use the doc markup
JanKrivanek Oct 26, 2023
1654528
Merge branch 'main' of https://github.com/dotnet/msbuild into main_qu…
yuehuang010 Oct 26, 2023
62a78ff
.
yuehuang010 Oct 26, 2023
755e0e9
.
yuehuang010 Oct 26, 2023
14f68e2
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Oct 27, 2023
efd0158
Cache Platform Negotiation in graph build (#9343)
rokonec Oct 27, 2023
d3fa669
Add ExtendedCriticalBuildMessageEventArgs and related tests (#9363)
rokonec Oct 27, 2023
f55e1a6
[main] Update dependencies from nuget/nuget.client dotnet/roslyn (#9356)
dotnet-maestro[bot] Oct 30, 2023
5348d60
Shouldly 4.2.1 (#8717)
rainersigwald Oct 30, 2023
3c71497
Merge pull request #9364 from dotnet/JanKrivanek-patch-4
JanKrivanek Oct 30, 2023
85b7177
Add performance branch official build trigger (#9349)
JaynieBai Oct 31, 2023
d5e157a
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Oct 31, 2023
41411e1
Stabilize BuildRequest Engine tests (#9215)
GangWang01 Nov 1, 2023
34ae4f3
Cache SDK resolver data process-wide (#9335)
ladipro Nov 1, 2023
31c4d33
Doc MSBUILDLOGALLENVIRONMENTVARIABLES (#9306)
rainersigwald Nov 1, 2023
a54016c
Add embedded content transfering and build events binary equality
JanKrivanek Sep 12, 2023
1ed8999
Added support for embedded files; fixing, cleaning
JanKrivanek Sep 15, 2023
699e5d4
Decrease scope where accidentally exposed
JanKrivanek Sep 18, 2023
2a75fb6
Sealing types
JanKrivanek Sep 19, 2023
2b83376
Adjust visibility, add comments
JanKrivanek Sep 20, 2023
b1c340e
Cache encoding
JanKrivanek Sep 21, 2023
cdca4e8
Fix code after merge
JanKrivanek Oct 2, 2023
c8bf570
Fix after merge
JanKrivanek Oct 4, 2023
b51f320
Add Binlog BuildEvents offsets for forward compatibility and event bu…
JanKrivanek Sep 22, 2023
5ae9bb1
Add tests and fixes for forward compatibility reading
JanKrivanek Oct 5, 2023
4726733
Bugfix failing tests
JanKrivanek Oct 6, 2023
d4e72f6
Adjust unit test to compare unpacked binlogs
JanKrivanek Oct 6, 2023
3d947b8
Add version description
JanKrivanek Oct 9, 2023
dd6b0ad
Reflecting PR comments
JanKrivanek Oct 10, 2023
0d2317e
Add support for minimum supported reader version
JanKrivanek Oct 10, 2023
651ab34
Support ProjectImports=ZipFile in Replay mode
JanKrivanek Oct 11, 2023
37f74fb
Add more granular error information about recoverable errors
JanKrivanek Oct 11, 2023
0741167
Fix tests
JanKrivanek Oct 11, 2023
d328c42
Localizing strings
JanKrivanek Oct 11, 2023
79339e1
Add tests and documentation for the forward compatibility reading
JanKrivanek Oct 20, 2023
9c2f863
Reflect review comments
JanKrivanek Oct 20, 2023
ab7ca51
Add/Improve tests
JanKrivanek Oct 23, 2023
2b57002
Fix test
JanKrivanek Oct 23, 2023
bb20a69
Improve test
JanKrivanek Oct 23, 2023
cfae1f7
Reflect code review comments
JanKrivanek Oct 24, 2023
4fa413a
Comment removal
JanKrivanek Oct 24, 2023
88c1113
Auto-apply suggestions from code review
JanKrivanek Oct 30, 2023
f3b2088
Apply code review suggestions
JanKrivanek Oct 30, 2023
d9eed77
Rework and simplify the ArchiveFile OM and event
JanKrivanek Oct 30, 2023
9b2cbc2
Clarified comment
JanKrivanek Oct 30, 2023
330f842
Improve documenting comments
JanKrivanek Oct 30, 2023
3b1e76b
Shouldly update adjust
JanKrivanek Nov 2, 2023
3e175ef
Reflect review comments
JanKrivanek Nov 3, 2023
cfe74c9
Update ETW Version for modified event
rainersigwald Nov 3, 2023
187da80
Never log a null string ETW arg
rainersigwald Nov 3, 2023
d8d0458
Avoid logging null ETW strings in SDK resolvers
rainersigwald Nov 3, 2023
9a0cef6
Remove trailing whitespace
rainersigwald Nov 3, 2023
a0bb46a
Verify in RoslynCodeTaskFactory tests
rainersigwald Nov 3, 2023
7a6b2dd
Exec: use C instead of en_US.UTF-8 to set the Exec locale. (#9391)
tmds Nov 6, 2023
50086fe
Fix the ui language override helper method for input language "en" (…
f-alizada Nov 6, 2023
09e6eec
Add .git-blame-ignore-revs
rainersigwald Nov 6, 2023
f52cd02
Fix TL failure on MSBUILDNOINPROCNODE env variable (#9388)
YuliiaKovalova Nov 6, 2023
315ee97
Merge remote-tracking branch 'upstream/main'
rainersigwald Nov 6, 2023
e640900
Merge pull request #9396 from rainersigwald/🔥trailing-whitespace🔥
rainersigwald Nov 6, 2023
5d15097
[main] Update dependencies from dotnet/roslyn nuget/nuget.client (#9398)
dotnet-maestro[bot] Nov 7, 2023
3b59113
Update dependencies from https://github.com/dotnet/source-build-refer…
dotnet-maestro[bot] Nov 8, 2023
e77aa19
Use named constant for default set of targets
rainersigwald Nov 10, 2023
8d47efd
Update dependencies from https://github.com/dotnet/roslyn build 20231…
dotnet-maestro[bot] Nov 14, 2023
bfd01e3
Revert "Exec: use C instead of en_US.UTF-8 to set the Exec locale. (#…
rainersigwald Nov 14, 2023
303460f
Merge branch 'main' into rokonec/BinFmt-disabled-by-default
JanKrivanek Nov 14, 2023
709cdac
Fix issues after integrating with redactor
JanKrivanek Nov 14, 2023
4e2af43
Apply suggestions from code review
JanKrivanek Nov 14, 2023
2a65f64
Merge branch 'proto/binlog-events-offsets' of https://github.com/JanK…
JanKrivanek Nov 14, 2023
d06997a
Fix language about binlog environment variable use (#9416)
baronfel Nov 14, 2023
986b2f2
Reflect PR comments
JanKrivanek Nov 14, 2023
8da5fc7
Merge pull request #9012 from assarbad/addition-to-tips-and-tricks
JanKrivanek Nov 14, 2023
c8b80b9
Add target _GetAssembliesMetadata for assembly attributes resolution …
YuliiaKovalova Nov 15, 2023
85d8422
TL: Fix logs appearance from nuget client/credential provider (#9407)
YuliiaKovalova Nov 15, 2023
8ae922b
Reflect PR feedback
JanKrivanek Nov 15, 2023
46b93b5
Merge branch 'main' of https://github.com/dotnet/msbuild into main_qu…
yuehuang010 Nov 15, 2023
720cf0e
Add BuildFinish Question message.
yuehuang010 Nov 16, 2023
899dd68
Merge branch 'main_question3' of https://github.com/yuehuang010/msbui…
yuehuang010 Nov 16, 2023
e79db8b
Upgrade Microsoft.VisualStudio.Setup.Configuration.Interop version (#…
f-alizada Nov 16, 2023
6f21e59
Log allowed environment vars case-insensitively (#9411)
rainersigwald Nov 16, 2023
0a0959f
Don't expose VisualStudio.Setup to NuGet (#9430)
rainersigwald Nov 16, 2023
dcd1427
Reword message.
yuehuang010 Nov 16, 2023
2b4b76c
.
yuehuang010 Nov 17, 2023
7595b3a
Merge pull request #9155 from yuehuang010/main_question3
JanKrivanek Nov 18, 2023
d711b53
[main] Update dependencies from dotnet/source-build-reference-package…
dotnet-maestro[bot] Nov 20, 2023
bf9d6d4
Upgrade packages Minor and Patches only (#9427)
f-alizada Nov 20, 2023
897da3f
Minor refactor src/Framework/Traits.cs
rokonec Nov 20, 2023
38bd5f4
[main] Update dependencies from dotnet/roslyn nuget/nuget.client (#9438)
dotnet-maestro[bot] Nov 21, 2023
959ee4e
Merge pull request #9318 from rokonec/rokonec/BinFmt-disabled-by-default
JanKrivanek Nov 21, 2023
f4b2350
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Nov 22, 2023
7655a08
Merge remote-tracking branch 'upstream/main' into proto/binlog-events…
JanKrivanek Nov 23, 2023
95cada7
Regenerate resources
JanKrivanek Nov 23, 2023
2e8df18
Add suppressions for extending the newly introduced interface
JanKrivanek Nov 23, 2023
f5c654b
Reflect PR commnets
JanKrivanek Nov 23, 2023
7b37a28
Fix solution-based graph builds when non 'well-known' project types a…
dfederm Nov 23, 2023
0c19bfd
Bugfixes
JanKrivanek Nov 23, 2023
31108ed
Mention preference of using Shouldly in tests (#9437)
f-alizada Nov 27, 2023
8e1af57
Fix restore handling in Terminal Logger (#9454)
AR-May Nov 27, 2023
b9d3539
Adds Test target (#9193)
novacole Nov 28, 2023
f7f0b19
Fix issue with SHA256 instantiation (#9429)
YuliiaKovalova Nov 28, 2023
5fcddc7
Fix missed errors appearance on restore (#9424)
YuliiaKovalova Nov 28, 2023
93b60a9
Pull NodesFrame to own file
rainersigwald Jul 14, 2023
b78c640
File for NodeStatus
rainersigwald Jul 14, 2023
566d823
Preserve NodeStatus in frame
rainersigwald Jul 14, 2023
e50041a
De-record NodeStatus
rainersigwald Jul 17, 2023
8f8dd68
Right justify output
rainersigwald Jul 14, 2023
c4aec6d
Shorten UTD marker file (#9387)
JanKrivanek Nov 30, 2023
e9565ce
Localized file check-in by OneLocBuild Task: Build definition ID 9434…
dotnet-bot Nov 30, 2023
e1652ea
[main] Update dependencies from dotnet/roslyn nuget/nuget.client (#9459)
dotnet-maestro[bot] Nov 30, 2023
fdb94c3
Remove workaround for MSBuild 15.5 (#9435)
rainersigwald Nov 30, 2023
d8283be
Merge pull request #9393 from rainersigwald/fix-sdk-resolver-events
rainersigwald Nov 30, 2023
67916dc
Suppress CredScan error from legitimate unit test PFX file with priva…
GangWang01 Dec 1, 2023
f5ae5c6
Always unquote target parameters (#9452)
f-alizada Dec 4, 2023
0e33df1
Update dependencies from https://github.com/dotnet/roslyn build 20231…
dotnet-maestro[bot] Dec 5, 2023
2f3d376
Update Microsoft.BuildXL.Processes (#9476)
dfederm Dec 5, 2023
af0e3d0
Exit the loop after finding the switch name in the map (#9493)
f-alizada Dec 5, 2023
1616515
Merge pull request #9498 from dotnet/main
rainersigwald Dec 5, 2023
f914c9b
Version 17.10 (#9499)
AR-May Dec 6, 2023
8d10036
Exec: stop setting a locale on Unix. (#9449)
tmds Dec 6, 2023
c70267d
Fixed /restore and /graph conjunction error on exit code (#9461)
maridematte Dec 8, 2023
7ec0e97
Update package validation baseline to 17.8 GA (#9481)
rainersigwald Dec 8, 2023
bb7696e
Fix log wording
JanKrivanek Dec 8, 2023
61e933d
Cleaning up the api (with single batch of breaking changes in the fea…
JanKrivanek Dec 8, 2023
9276c4e
Сhange ProperyReassignment logged message type (#9494)
YuliiaKovalova Dec 11, 2023
7a81dc1
Add Link metadata to Resources (#9464)
AR-May Dec 11, 2023
eb7933a
Preserve version on raw events replay
JanKrivanek Dec 11, 2023
84f7f98
Merge branch 'main' into merge/vs17.9-to-main
rokonec Dec 11, 2023
c8b2af2
Merge pull request #9509 from dotnet-maestro-bot/merge/vs17.9-to-main
rokonec Dec 11, 2023
23b938b
Merge pull request #9053 from rainersigwald/right-justify
rainersigwald Dec 11, 2023
46d6273
Remove Microsoft.SourceBuild.Intermediate from prebuilt baseline (#9511)
ellahathaway Dec 12, 2023
67d742f
Unset NUGET_PACKAGES in official build only (#9523)
rainersigwald Dec 12, 2023
5af9301
Revert "Shorten UTD marker file (#9387)" except Microsoft.Common.Curr…
JanKrivanek Dec 12, 2023
b2016b8
Add VersionOverride to XSD for PackageReference elements (#9473)
jeffkl Dec 12, 2023
f3ccb76
Merge pull request #9525 from dotnet-maestro-bot/merge/vs17.9-to-main
AR-May Dec 13, 2023
1ac1bff
Change Version switch output to finish with a newline (#9485)
jrdodds Dec 13, 2023
eea84ad
[vs17.9] Update dependencies from nuget/nuget.client dotnet/roslyn (#…
dotnet-maestro[bot] Dec 13, 2023
f97064d
Merge pull request #9529 from dotnet-maestro-bot/merge/vs17.9-to-main
AR-May Dec 13, 2023
7e78f87
Change Extended args api back to be compatible with 17.8 (#9522)
rokonec Dec 13, 2023
74e3f9f
Remove U2D marker dependency on ProjectGuid property (#9504)
JanKrivanek Dec 13, 2023
5df2181
Add CODEOWNERS file. (#9530)
AR-May Dec 13, 2023
6257b8e
Load Microsoft.DotNet.MSBuildSdkResolver into default load context (M…
ladipro Dec 13, 2023
16f6e5c
Merge pull request #9534 from rainersigwald/right-justify
rainersigwald Dec 13, 2023
fcff9b0
Revert "Unset NUGET_PACKAGES in official build only (#9523)" (#9533)
AR-May Dec 13, 2023
b0e2b79
[vs17.9] Update dependencies from dotnet/arcade (#9516)
dotnet-maestro[bot] Dec 14, 2023
909ca6b
Copy task SourceFolders (#8843)
jrdodds Dec 14, 2023
125647b
Delete checks for retired change waves (#9480)
ladipro Dec 14, 2023
caa5b7d
Merge pull request #9532 from dotnet-maestro-bot/merge/vs17.9-to-main
AR-May Dec 15, 2023
abc2f46
Added import of .user file for multi-targeted builds (#9444)
maridematte Dec 15, 2023
d1132b6
Load NuGet.Frameworks into secondary AppDomain (MSBuild.exe only) (#9…
ladipro Dec 19, 2023
5cf7858
Switch official builds to floating NuGet.exe (#9542)
rainersigwald Dec 19, 2023
0301224
Reflecting PR comments
JanKrivanek Dec 21, 2023
3c73e15
Merge remote-tracking branch 'upstream/main' into proto/binlog-events…
JanKrivanek Dec 21, 2023
fce1a77
Reintroduce suppressions for the binlog forward compatible reading API
JanKrivanek Dec 21, 2023
b97a080
Fix raw replay and redact perf
JanKrivanek Dec 27, 2023
ad4bf54
Forward compatible reading is off by default
JanKrivanek Jan 9, 2024
38f5791
Bugfix the reading of old version of logs
JanKrivanek Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -408,3 +408,4 @@ dotnet_diagnostic.IDE0290.severity = suggestion
# Collection initialization can be simplified
dotnet_diagnostic.IDE0300.severity = suggestion
dotnet_diagnostic.IDE0301.severity = suggestion
dotnet_diagnostic.IDE0305.severity = suggestion
271 changes: 182 additions & 89 deletions .exp-insertions.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
# Pipeline creates a dotnet with experimental msbuild dlls.
# Pipeline creates experimental msbuild insertions.

trigger: none # Prevents this pipeline from triggering on check-ins
pr: none # don't run this on PR as well

parameters:
# Dotnet installer channel from where to take the latest dotnet bits.
# Dotnet installer channel from which to take the latest dotnet bits.
- name: DotnetInstallerChannel
displayName: Dotnet installer channel
type: string
default: 'none'
# VS version for which to take the latest Retail MSBuild bits.
- name: VSVersionName
displayName: VS Version
type: string
default: 'none'
# Branch from the MSBuild Build CI pipeline. Default: main
# Top run for the branch would be used to create an experimental insertion.
# Top run for the branch would be used to create an experimental insertion.
- name: MSBuildBranch
displayName: MSBuild Branch
type: string
default: 'refs/heads/main'
# BuildID from the MSBuild Build CI pipeline. Overrides the choice of MSBuildBranch parameter
# BuildID from the MSBuild Build CI pipeline. Overrides the choice of MSBuildBranch parameter
- name: MSBuildBuildID
displayName: MSBuild CI Run Override
type: string
Expand All @@ -23,105 +29,192 @@ parameters:
variables:
- name: _MsBuildCiPipelineId
value: 9434
- name: _MSBuildConfigFilePathRequestURL
value: 'https://dev.azure.com/cloudbuild/CloudBuild/_apis/git/repositories/CloudBuildConfig/items?versionDescriptor.version=main&path=config/batmon/Q-Prod-Co3/Coordinator/ToolsReleaseConfig-GeneralPublic.json&api-version=5.0'
- name: VSVersion
value: ${{parameters.VSVersionName}}

pool:
vmImage: windows-latest

steps:
- powershell: |
mkdir '$(System.ArtifactsDirectory)/installer'

$dotnetChannel = '${{parameters.DotnetInstallerChannel}}'
$sdks = "dotnet-sdk-win-x64.zip", "dotnet-sdk-linux-x64.tar.gz"

foreach ($sdk in $sdks)
{
Write-Host "Downloading dotnet $sdk from channel $dotnetChannel"
Invoke-WebRequest `
-Uri "https://aka.ms/dotnet/$dotnetChannel/daily/$sdk" `
-OutFile "$(System.ArtifactsDirectory)/installer/$sdk"
}
mkdir '$(Pipeline.Workspace)/artifacts'

displayName: Download latest dotnet sdks

# Download latest build artifacts for a branch from MSBuild Build CI
- ${{ if eq(parameters.MSBuildBuildID, 'default') }}:
jobs:
- job: CreateExpDotnet
displayName: Create Experimental Dotnet
condition: ne('${{ parameters.DotnetInstallerChannel }}', 'none')
steps:
- powershell: |
mkdir '$(System.ArtifactsDirectory)/installer'

$dotnetChannel = '${{parameters.DotnetInstallerChannel}}'
$sdks = "dotnet-sdk-win-x64.zip", "dotnet-sdk-linux-x64.tar.gz"

foreach ($sdk in $sdks)
{
Write-Host "Downloading dotnet $sdk from channel $dotnetChannel"
Invoke-WebRequest `
-Uri "https://aka.ms/dotnet/$dotnetChannel/daily/$sdk" `
-OutFile "$(System.ArtifactsDirectory)/installer/$sdk"
}
mkdir '$(Pipeline.Workspace)/artifacts'
displayName: Download latest dotnet sdks

- task: DownloadBuildArtifacts@1
inputs:
buildType: specific
project: DevDiv
pipeline: $(_MsBuildCiPipelineId)
buildVersionToDownload: latestFromBranch
branchName: '${{parameters.MSBuildBranch}}'
pipeline: $(_MsBuildCiPipelineId)
${{ if eq(parameters.MSBuildBuildID, 'default') }}:
buildVersionToDownload: latestFromBranch
branchName: '${{parameters.MSBuildBranch}}'
${{ else }}:
buildVersionToDownload: specific
buildId: ${{parameters.MSBuildBuildID}}
artifactName: bin
itemPattern: 'MSBuild.Bootstrap/**'
downloadPath: '$(System.ArtifactsDirectory)/msbuild/artifacts/bin'
itemPattern: "MSBuild.Bootstrap/**"
displayName: Download latest msbuild from branch
displayName: Download msbuild artifacts

- powershell: |
$sdk = "dotnet-sdk-win-x64"

Write-Host "Extracting $(System.ArtifactsDirectory)/installer/$sdk.zip"
Expand-Archive "$(System.ArtifactsDirectory)/installer/$sdk.zip" -DestinationPath "$(Pipeline.Workspace)/exp-dotnet/$sdk"

$dotnetDirectory = Get-ChildItem -Directory -Path "$(Pipeline.Workspace)/exp-dotnet/$sdk/sdk"
$dotnetVersion = $dotnetDirectory.Name
Write-Host "Detected dotnet version: $dotnetVersion"

Write-Host "Updating MSBuild dlls."
$(Build.SourcesDirectory)/scripts/Deploy-MSBuild.ps1 `
-destination "$(Pipeline.Workspace)/exp-dotnet/$sdk/sdk/$dotnetVersion" `
-binDirectory "$(System.ArtifactsDirectory)/msbuild/artifacts/bin" `
-configuration Release `
-makeBackup $false

Write-Host "Compressing dotnet sdk files"
Get-ChildItem -Path "$(Pipeline.Workspace)/exp-dotnet/$sdk" | Compress-Archive -DestinationPath "$(Pipeline.Workspace)/artifacts/$sdk.zip"

displayName: Dogfood msbuild dlls to dotnet sdk win-x64

- powershell: |
$sdk = "dotnet-sdk-linux-x64"

mkdir "$(Pipeline.Workspace)/exp-dotnet/$sdk"

Write-Host "Extracting $(System.ArtifactsDirectory)/installer/$sdk.tar.gz"
tar -xzvf "$(System.ArtifactsDirectory)/installer/$sdk.tar.gz" -C "$(Pipeline.Workspace)/exp-dotnet/$sdk"

$dotnetDirectory = Get-ChildItem -Directory -Path $(Pipeline.Workspace)/exp-dotnet/$sdk/sdk
$dotnetVersion = $dotnetDirectory.Name
Write-Host "Detected dotnet version: $dotnetVersion"

Write-Host "Updating MSBuild dlls."
$(Build.SourcesDirectory)/scripts/Deploy-MSBuild.ps1 `
-destination "$(Pipeline.Workspace)/exp-dotnet/$sdk/sdk/$dotnetVersion" `
-binDirectory "$(System.ArtifactsDirectory)/msbuild/artifacts/bin" `
-configuration Release `
-makeBackup $false

Write-Host "Compressing dotnet sdk files"
tar -czvf "$(Pipeline.Workspace)/artifacts/$sdk.tar.gz" -C "$(Pipeline.Workspace)/exp-dotnet/$sdk" .
displayName: Dogfood msbuild dlls to dotnet sdk linux-x64

- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)/artifacts'
artifactName: ExperimentalDotnet
parallel: true
condition: always()
displayName: Publish crank assests artifacts


- job: CreateExpMSBuild
displayName: "Create Experimental MSBuild"
condition: ne('${{ parameters.VSVersionName }}', 'none')
steps:
- powershell: |
$token = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("PAT:$env:ACCESSTOKEN"))
$headers = @{ Authorization = "Basic $token" };
$response = Invoke-RestMethod -Uri "$(_MSBuildConfigFilePathRequestURL)" -Headers $headers -Method Get
$MSBuildDropPath = $response.Tools.MSBuild.Locations
Write-Host "##vso[task.setvariable variable=MSBuildDropPath]$MSBuildDropPath"
Write-Host "MSBuild Drop Path directory: $MSBuildDropPath"
displayName: Get Retail MSBuild Drop Path
env:
ACCESSTOKEN: $(cloudbuild-token)

- task: NuGetToolInstaller@1
displayName: 'Install NuGet.exe'

- task: NuGetCommand@2
displayName: Restore internal tools
inputs:
command: restore
feedsToUse: config
restoreSolution: '$(Build.SourcesDirectory)\eng\common\internal\Tools.csproj'
nugetConfigPath: '$(Build.SourcesDirectory)\NuGet.config'
restoreDirectory: '$(Build.SourcesDirectory)\.packages'

- powershell: |
mkdir "$(Pipeline.Workspace)/artifacts"

$dropAppDirectory = Get-ChildItem -Directory -Path "$(Build.SourcesDirectory)/.packages/drop.app"
$dropAppVersion = $dropAppDirectory.Name
Write-Host "Detected drop.exe version: $dropAppVersion"

$dropExePath = "$(Build.SourcesDirectory)/.packages/drop.app/$dropAppVersion/lib/net45/drop.exe"
Write-Host "Detected drop.exe path: $dropExePath"

Write-Host "Downloading VS msbuild"
& "$dropExePath" get --patAuthEnvVar 'cloudbuild-token' -u "$(MSBuildDropPath)\$(VSVersion)" -d "$(System.ArtifactsDirectory)/VSMSBuildDrop"
Write-Host "Download of VS msbuild finished"

Write-Host "Copying VS msbuild to $(Pipeline.Workspace)/VSMSBuild"
Copy-Item -Path "$(System.ArtifactsDirectory)/VSMSBuildDrop/*" -Destination "$(Pipeline.Workspace)/VSMSBuild" -Recurse
Write-Host "Copy of VS msbuild finished"
displayName: Download msbuild vs drop
env:
cloudbuild-token: $(cloudbuild-token)

# Download build artifacts for MSBuild Build CI specific build
- ${{ if ne(parameters.MSBuildBuildID, 'default') }}:
- task: DownloadBuildArtifacts@1
inputs:
buildType: specific
project: DevDiv
pipeline: $(_MsBuildCiPipelineId)
buildVersionToDownload: specific
buildId: ${{parameters.MSBuildBuildID}}
pipeline: $(_MsBuildCiPipelineId)
${{ if eq(parameters.MSBuildBuildID, 'default') }}:
buildVersionToDownload: latestFromBranch
branchName: '${{parameters.MSBuildBranch}}'
${{ else }}:
buildVersionToDownload: specific
buildId: ${{parameters.MSBuildBuildID}}
artifactName: bin
itemPattern: |
MSBuild.Bootstrap/*/net472/**
Microsoft.Build.Conversion/*/net472/Microsoft.Build.Conversion.Core.dll
Microsoft.Build.Engine/*/net472/Microsoft.Build.Engine.dll
MSBuildTaskHost/**/MSBuildTaskHost.exe
MSBuildTaskHost/**/MSBuildTaskHost.pdb
MSBuild/*/*/net472/MSBuild.exe*
downloadPath: '$(System.ArtifactsDirectory)/msbuild/artifacts/bin'
itemPattern: "MSBuild.Bootstrap/**"
displayName: Download specified msbuild build

- powershell: |
$sdk = "dotnet-sdk-win-x64"

Write-Host "Extracting $(System.ArtifactsDirectory)/installer/$sdk.zip"
Expand-Archive "$(System.ArtifactsDirectory)/installer/$sdk.zip" -DestinationPath "$(Pipeline.Workspace)/exp-dotnet/$sdk"

$dotnetDirectory = Get-ChildItem -Directory -Path "$(Pipeline.Workspace)/exp-dotnet/$sdk/sdk"
$dotnetVersion = $dotnetDirectory.Name
Write-Host "Detected dotnet version: $dotnetVersion"

Write-Host "Updating MSBuild dlls."
$(Build.SourcesDirectory)/scripts/Deploy-MSBuild.ps1 `
-destination "$(Pipeline.Workspace)/exp-dotnet/$sdk/sdk/$dotnetVersion" `
-bootstrapDirectory "$(System.ArtifactsDirectory)/msbuild/artifacts/bin/MSBuild.Bootstrap" `
-configuration Release `
-makeBackup $false

Write-Host "Compressing dotnet sdk files"
Get-ChildItem -Path "$(Pipeline.Workspace)/exp-dotnet/$sdk" | Compress-Archive -DestinationPath "$(Pipeline.Workspace)/artifacts/$sdk.zip"

displayName: Dogfood msbuild dlls to dotnet sdk win-x64

- powershell: |
$sdk = "dotnet-sdk-linux-x64"

mkdir "$(Pipeline.Workspace)/exp-dotnet/$sdk"

Write-Host "Extracting $(System.ArtifactsDirectory)/installer/$sdk.tar.gz"
tar -xzvf "$(System.ArtifactsDirectory)/installer/$sdk.tar.gz" -C "$(Pipeline.Workspace)/exp-dotnet/$sdk"

$dotnetDirectory = Get-ChildItem -Directory -Path $(Pipeline.Workspace)/exp-dotnet/$sdk/sdk
$dotnetVersion = $dotnetDirectory.Name
Write-Host "Detected dotnet version: $dotnetVersion"

Write-Host "Updating MSBuild dlls."
$(Build.SourcesDirectory)/scripts/Deploy-MSBuild.ps1 `
-destination "$(Pipeline.Workspace)/exp-dotnet/$sdk/sdk/$dotnetVersion" `
-bootstrapDirectory "$(System.ArtifactsDirectory)/msbuild/artifacts/bin/MSBuild.Bootstrap" `
-configuration Release `
-makeBackup $false

Write-Host "Compressing dotnet sdk files"
tar -czvf "$(Pipeline.Workspace)/artifacts/$sdk.tar.gz" -C "$(Pipeline.Workspace)/exp-dotnet/$sdk" .
displayName: Dogfood msbuild dlls to dotnet sdk linux-x64

- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)/artifacts'
artifactName: ExperimentalDotnet
parallel: true
condition: always()
displayName: Publish crank assests artifacts
displayName: Download msbuild artifacts

- powershell: |
Write-Host "Updating MSBuild dlls."
$(Build.SourcesDirectory)/scripts/Deploy-MSBuild.ps1 `
-destination "$(Pipeline.Workspace)/VSMSBuild/$(VSVersion)/MSBuild/Current/Bin" `
-binDirectory "$(System.ArtifactsDirectory)/msbuild/artifacts/bin" `
-configuration Release `
-makeBackup $false

ls "$(Pipeline.Workspace)/VSMSBuild/$(VSVersion)"
Write-Host "Compressing msbuild files"
Get-ChildItem -Path "$(Pipeline.Workspace)/VSMSBuild/$(VSVersion)" | Compress-Archive -DestinationPath "$(Pipeline.Workspace)/artifacts/MSBuild.zip"
displayName: Dogfood msbuild dlls

- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Pipeline.Workspace)/artifacts'
artifactName: ExperimentalMSBuild
parallel: true
condition: always()
displayName: Publish crank assests artifacts
5 changes: 5 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# .git-blame-ignore-revs
# Removed trailing whitespace from *.cs,*.props,*.targets
9a0cef6f75bf13ffbbde956b8f7d7ad7d6e0d996
# Remove trailing whitespace from many *.cs files
629447b151dc49cf4d9a57719beff12983cf1907
14 changes: 14 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths.
# See https://help.github.com/articles/about-code-owners/

/eng/SourceBuild* @dotnet/source-build-internal
/eng/ @dotnet/kitten
/.github/ @dotnet/kitten
/global.json @dotnet/kitten
/.exp-insertions.yml @dotnet/kitten
/.opt-prof.yml @dotnet/kitten
/.vsts-dotnet-ci.yml @dotnet/kitten
/.vsts-dotnet.yml @dotnet/kitten
/NuGet.config @dotnet/kitten
/Directory.Build* @dotnet/kitten
/.git* @dotnet/kitten
7 changes: 1 addition & 6 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"version": "1.0",
"components": [
"Microsoft.Net.Component.4.8.SDK",
"Microsoft.Net.Component.4.7.2.SDK",
"Microsoft.Net.Component.4.TargetingPack",
"Microsoft.Net.Component.4.7.2.TargetingPack",
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.Net.Component.3.5.DeveloperTools",
"Microsoft.VisualStudio.Workload.NetCoreTools"
"Microsoft.Net.Component.3.5.DeveloperTools"
]
}
8 changes: 5 additions & 3 deletions .vsts-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ trigger:
- main
- vs*
- exp/*
- perf/*

# If defined here, these values are not overrideable
# Once they exist, we should define these as "runtime parameters"
Expand Down Expand Up @@ -95,9 +96,8 @@ stages:
value: Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)

steps:
- task: NuGetToolInstaller@0
inputs:
versionSpec: '4.9.2'
- task: NuGetToolInstaller@1
displayName: 'Install NuGet.exe'

- task: NuGetCommand@2
displayName: Restore internal tools
Expand Down Expand Up @@ -217,6 +217,7 @@ stages:
inputs:
DropName: $(VisualStudio.DropName)
DropFolder: 'artifacts\VSSetup\$(BuildConfiguration)\Insertion'
DropRetentionDays: '30' # extended by insertion + VS release
AccessToken: '$(System.AccessToken)'
DropServiceUri: 'https://devdiv.artifacts.visualstudio.com'
VSDropServiceUri: 'https://vsdrop.corp.microsoft.com/file/v1'
Expand Down Expand Up @@ -309,4 +310,5 @@ stages:
-TsaRepositoryName "dotnet-msbuild"
-TsaCodebaseName "dotnet-msbuild"
-TsaPublish $True
-CrScanAdditionalRunConfigParams @("SuppressionsPath < $(Build.SourcesDirectory)\eng\CredScanSuppressions.json")
-PoliCheckAdditionalRunConfigParams @("UserExclusionPath < $(Build.SourcesDirectory)\eng\policheck_exclusions.xml")'
Loading