Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
ab9cd46
Fix Crash when ItemsSource is set to null in the SelectionChanged han…
bhavanesh2001 Jun 10, 2025
6cf632b
Update bug-report.yml (#29912)
PureWeen Jun 10, 2025
f6a5614
[ai] Improve the release prompt (#29867)
rmarinho Jun 11, 2025
66eaa44
Update Versions.props 9.0.90 SR9 versioning (#29909)
PureWeen Jun 11, 2025
ec72a10
[apis] Mark apis as shipped in the latest sr8 (#29928)
rmarinho Jun 12, 2025
a56dc9c
[create-pull-request] automated change (#29945)
github-actions[bot] Jun 12, 2025
acdb6f2
Add retries to all tests related to checking for weak references (#29…
PureWeen Jun 12, 2025
12be867
Changes in provisioning to fix fails installing Appium on Linux (#29105)
jsuarezruiz Jun 13, 2025
bc16a06
Update Test HostApp to not use TableView (#28830)
jsuarezruiz Jun 13, 2025
ec2f29a
Setup Copilot development environment for .NET MAUI (#29991)
Copilot Jun 16, 2025
8040465
Ping just David on breaking changes (#30030)
jfversluis Jun 17, 2025
2083350
[Testing] Recover the uitest-build task on Android cake (#28452)
jsuarezruiz Jun 17, 2025
af4b90c
[Testing] Updated FlakyTestAttribute to allow retries (#27772)
jsuarezruiz Jun 17, 2025
59ad299
Update copilot-setup-steps.yml to add the local dotnet to PATH (#30042)
mattleibow Jun 18, 2025
5030975
[create-pull-request] automated change (#29993)
github-actions[bot] Jun 18, 2025
8ac95e6
[Testing] Feature Matrix UITest Cases for CheckBox Control (#29739)
May 30, 2025
3e69fa8
Don’t call NSAttributedString with HTML from a background thread (#26…
kubaflo May 30, 2025
3437e46
[create-pull-request] automated change (#29760)
github-actions[bot] Jun 1, 2025
f7ac943
[Android] Fixed Button Shadow Color Transparency Not Applied Correctl…
NanthiniMahalingam Jun 2, 2025
5860fe6
ToolbarItem behavior with ImageSource iOS - fix (#28833)
kubaflo Jun 2, 2025
70b6932
Update the comment for the test properties (#27306)
mattleibow Jun 2, 2025
3690bcd
[create-pull-request] automated change (#29792)
github-actions[bot] Jun 3, 2025
26d4fe3
Perf : ButtonContentTypeConverter now using InvariantCulture to parse…
jonathanantoine Jun 5, 2025
c5351a9
Fixed ItemSpacing on CarouselView resizes items [Android] (#29796)
Dhivya-SF4094 Jun 6, 2025
f66aecf
Fix TapCoordinates method in Catalyst (#29775)
jsuarezruiz Jun 6, 2025
7be53bd
[Testing] Feature Matrix UITest Cases for Stepper (#29731)
nivetha-nagalingam Jun 6, 2025
879edfd
[Testing] Feature Matrix UITest Cases for CollectionView ItemsSource …
LogishaSelvarajSF4525 Jun 6, 2025
17de473
[Windows] Fix for Assigning null to the SelectedItem of the Collectio…
SyedAbdulAzeemSF4852 Jun 6, 2025
efba129
[iOS] Fix for Flyout title is not broken over multiple lines when you…
BagavathiPerumal Jun 6, 2025
b02b432
Templated indicator view - improvements (#25642)
kubaflo Jun 6, 2025
add7f71
[iOS] Fix AdaptiveTrigger not working as expected (#20987)
jsuarezruiz Jun 6, 2025
4d0efba
[create-pull-request] automated change (#29875)
github-actions[bot] Jun 7, 2025
1293cb5
[iOS] FormattedText with text color causes stack overflow - fix (#29874)
kubaflo Jun 9, 2025
e5fd074
[iOS] Fix SwipeView programmatic open when background color is set. (…
Shalini-Ashokan Jun 9, 2025
95f3b9a
[Testing] Feature Matrix UITest Cases for RadioButton (#29744)
TamilarasanSF4853 Jun 9, 2025
a37acc9
[Windows] Implemented the Resize and Downsize functions in the W2DIma…
HarishwaranVijayakumar Jun 9, 2025
35e8a01
Fixed Test case failure in PR 25642 - snapshots (#29881)
kubaflo Jun 16, 2025
25e0f80
Fixed Test case failure in PR 26153 - iOS (#29906)
kubaflo Jun 16, 2025
5e9310b
Update Issue25946.xaml (#30025)
Jun 17, 2025
e863130
[2025/06/16] Candidate - In Flight Branch (#29886)
PureWeen Jun 21, 2025
7e82b00
fix for flaky tests (#30088)
Jun 21, 2025
ff93c09
Clean up copilot workspace after setup steps (#30113)
Copilot Jun 22, 2025
7cc0f15
Update copilot-instructions.md with PR testing notes (#30138)
mattleibow Jun 23, 2025
7884b9a
Update TSA area path configuration for .NET MAUI (#30142)
Copilot Jun 23, 2025
3827c71
[ci] try do full build on dnceng (#27456)
rmarinho Jun 24, 2025
d3553b2
[create-pull-request] automated change (#30151)
github-actions[bot] Jun 24, 2025
36ec8c8
Add overrides to Help with Obsoleting Compatibility.Layout (#30058)
PureWeen Jun 24, 2025
99a3829
Clean up unreferenced API Docs XML files (#30141)
jfversluis Jun 24, 2025
6262d96
[Testing] Fix ADB Key Generation Failure on CI (#30092)
jsuarezruiz Jun 24, 2025
ee4c019
[create-pull-request] automated change (#30185)
github-actions[bot] Jun 25, 2025
9069d4c
[create-pull-request] automated change (#30183)
github-actions[bot] Jun 25, 2025
d423049
Update README.md with link to .NET MAUI for .NET 10 (#29578)
Copilot Jun 25, 2025
21f9356
Use the known working version of platform-tools (#30173)
mattleibow Jun 25, 2025
a1b0749
Update Issue8870.cs (#30200)
Jun 25, 2025
6222ba8
Fix update-cgmanifest.ps1 script to generate deterministic output (#3…
Copilot Jun 25, 2025
b6d3543
[ci] Add a way to open insiders to cake (#30211)
rmarinho Jun 25, 2025
8b6f960
Update dotnet-format-daily.yml (#30231)
mattleibow Jun 25, 2025
df3cb3c
Add code formatting instructions to GitHub Copilot development guidel…
Copilot Jun 25, 2025
3f26a59
[create-pull-request] automated change (#30234)
github-actions[bot] Jun 25, 2025
3d584fa
Build the project first before formatting (#30233)
mattleibow Jun 26, 2025
6997b3c
Update MicrosoftCodeAnalysisPublicApiAnalyzers and MicrosoftCodeAnaly…
Copilot Jun 27, 2025
c3f9dd2
[Testing] Re-Fix for flaky UITests RotatingCollectionViewWithHTMLShou…
Jun 27, 2025
872bb94
[iOS] CarouselView with CarouselViewHandler2 make app crash when Loop…
kubaflo Jun 9, 2025
22ed68e
Bump to 1.7.250606001 of WindowsAppSDK (#29915)
PureWeen Jun 11, 2025
736b1e6
Fixes Setting BackgroundColor to null does not actually changes Backg…
Jon2G Jun 13, 2025
706161e
Fixed the picker title's color (#23075)
kubaflo Jun 13, 2025
e268456
[android] Fallback to default icons in SearchHandler (#25067)
aheubusch Jun 13, 2025
3285c24
[Testing] Feature Matrix UITest Cases for Button (#29803)
TamilarasanSF4853 Jun 13, 2025
db77d5f
[Testing] Feature matrix UITest Cases for BoxView Control (#29808)
HarishKumarSF4517 Jun 13, 2025
0406752
Enabled-MultiTouch-iOS (#29895)
prakashKannanSf3972 Jun 13, 2025
733ac3f
[houekeeping] update namespaces in hostapp and shared tests projects …
bhavanesh2001 Jun 13, 2025
f89740e
Optimize converters for GridLength, ColumnDefinition, and RowDefiniti…
symbiogenesis Jun 13, 2025
5897ad7
Add defensive IsAlive check to Android ViewExtensions.OnUnloaded (#29…
jfversluis Jun 13, 2025
024371d
Update SetterSpecificity.cs Remove Extra Line From Bad Merge (#29987)
PureWeen Jun 13, 2025
885eeac
ScrollView's Background on iOS (#25541)
kubaflo Jun 16, 2025
f053c13
[Windows] Fixed runtime update issue for SearchBar PlaceholderColor a…
Tamilarasan-Paranthaman Jun 16, 2025
590bd5f
[Testing] Enable HandlerDoesNotLeak for Button and ProgressBar (#29896)
bhavanesh2001 Jun 16, 2025
88b7642
[create-pull-request] automated change (#30019)
github-actions[bot] Jun 17, 2025
9899329
Revert "Fixes Setting BackgroundColor to null does not actually chang…
mattleibow Jun 17, 2025
87f5001
Weak subscription to CanExecuteChange events (#29837)
PureWeen Jun 17, 2025
0c3a393
[create-pull-request] automated change (#30043)
github-actions[bot] Jun 18, 2025
a9f228f
[iOS, Mac] Fix for downsized image retaining original dimensions in G…
SyedAbdulAzeemSF4852 Jun 18, 2025
637e2e4
[Android] Prevent Picker from Gaining Focus on Touch (#29068)
bhavanesh2001 Jun 19, 2025
2d7a1e4
Revert - Fixed the Label not sized correctly on Android (#30023)
Ahamed-Ali Jun 19, 2025
731302d
[create-pull-request] automated change (#30078)
github-actions[bot] Jun 21, 2025
7d0888a
Fix CV1 GridItemsLayout centering single item AND Fix Empty view not …
albyrock87 Jun 21, 2025
eb4e2e2
Update Controls.TestCases.HostApp.csproj (#30124)
HarishKumarSF4517 Jun 23, 2025
e0723d7
[Testing] Fixed Test case failure in PR 30115 - [2025/06/23] Candidat…
HarishKumarSF4517 Jun 26, 2025
0175e3c
[Testing] Add Validation Test For Issue28051 On Android (#30026)
prakashKannanSf3972 Jun 26, 2025
f6e378b
[housekeeping] Dispatch MainPage reset to UI thread to prevent crash …
bhavanesh2001 Jun 27, 2025
fc85d76
Reinstate iOS13+ guards (#30268)
jfversluis Jun 27, 2025
4a654cb
[main] Revert "[Android, iOS] Dynamically setting SearchHandler Query…
PureWeen Jun 27, 2025
2729795
[2025/06/23] Candidate - In Flight Branch (#30115)
PureWeen Jun 28, 2025
4beb866
Merge branch 'main' into merge-net10
rmarinho Jun 28, 2025
4fb89b7
Fix merge
rmarinho Jun 30, 2025
ddab033
Update dotnet-tools.json
rmarinho Jun 30, 2025
01c0ed5
Update sdk
rmarinho Jun 30, 2025
2e71d32
[ci] Update xharness
rmarinho Jun 30, 2025
19c501c
[tests] Try fix resources with same name
rmarinho Jun 30, 2025
85e17c4
[net10.0] Merge main to net10.0 (#30299)
rmarinho Jul 1, 2025
53d8b21
Merge branch 'release/10.0.1xx-preview6' into merge-net10-preview6
rmarinho Jul 1, 2025
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"rollForward": false
},
"microsoft.dotnet.xharness.cli": {
"version": "10.0.0-prerelease.25214.3",
"version": "10.0.0-prerelease.25327.1",
"commands": [
"xharness"
],
Expand Down
29 changes: 28 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,20 @@ dotnet cake --target=dotnet-pack
- `src/Controls/tests/Core.UnitTests/Controls.Core.UnitTests.csproj`
- `src/Controls/tests/Xaml.UnitTests/Controls.Xaml.UnitTests.csproj`

### Code Formatting

Before committing any changes, format the codebase using the following command to ensure consistent code style:

```bash
dotnet format Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822
```

This command:
- Formats all code files according to the repository's `.editorconfig` settings
- Excludes the Templates/src directory from formatting
- Excludes the CA1822 diagnostic (member can be marked as static)
- Uses `--no-restore` for faster execution when dependencies are already restored

### Local Development with Branch-Specific .NET

For compatibility with specific branches:
Expand Down Expand Up @@ -160,6 +174,19 @@ Since coding agents function as both CI and pair programmers, they need to handl
- Follow existing code documentation patterns
- Update relevant docs in `docs/` folder when needed

### Opening PRs

All PRs are required to have this at the top of the description:

```
<!-- Please let the below note in for people that find this PR -->
> [!NOTE]
> Are you waiting for the changes in this PR to be merged?
> It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you!
```

Always put that at the top, without the block quotes. Without it, the users will NOT be able to try the PR and your work will have been in vain!

## Additional Resources

- [Development Guide](.github/DEVELOPMENT.md)
Expand All @@ -170,4 +197,4 @@ Since coding agents function as both CI and pair programmers, they need to handl

---

**Note for Future Updates:** This document should be expanded as new development patterns, tools, or workflows are discovered. Add sections for specific scenarios, debugging techniques, or tooling as they become relevant to the development process.
**Note for Future Updates:** This document should be expanded as new development patterns, tools, or workflows are discovered. Add sections for specific scenarios, debugging techniques, or tooling as they become relevant to the development process.
9 changes: 8 additions & 1 deletion .github/workflows/copilot-setup-steps.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: "Copilot Setup Steps"

on: workflow_dispatch
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml

jobs:
copilot-setup-steps:
Expand Down
39 changes: 34 additions & 5 deletions .github/workflows/dotnet-format-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
workflow_dispatch:
schedule:
- cron: 0 0 * * * # Every day at midnight (UTC)
pull_request:
paths:
- .github/workflows/dotnet-format-daily.yml

permissions:
pull-requests: write
Expand All @@ -21,12 +24,38 @@ jobs:
ref: ${{ matrix.branch }}

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3.2.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x
dotnet-version: 9.x

- name: Run a pre-work build
shell: pwsh
continue-on-error: true
run: .\build.ps1

- name: Add the local .NET to the envvars (PATH, DOTNET_ROOT)
shell: pwsh
run: |
Add-Content -Path $env:GITHUB_PATH -Value "$env:GITHUB_WORKSPACE/.dotnet"
Add-Content -Path $env:GITHUB_ENV -Value "DOTNET_ROOT=$env:GITHUB_WORKSPACE/.dotnet"
Add-Content -Path $env:GITHUB_ENV -Value "DOTNET_INSTALL_DIR=$env:GITHUB_WORKSPACE/.dotnet"

- name: Ensure we are using the correct .NET
shell: pwsh
run: |
dotnet --version
dotnet --info
dotnet workload --info

- name: Reset tracked files to clean workspace
shell: bash
run: |
git reset --hard HEAD

- name: Run dotnet format
run: dotnet format .\Microsoft.Maui.sln --no-restore --exclude Templates/src --exclude-diagnostics CA1822
run: |
dotnet restore Microsoft.Maui.sln
dotnet format Microsoft.Maui.sln --exclude Templates/src --exclude-diagnostics CA1822

- name: Create Pull Request
uses: dotnet/actions-create-pull-request@v4
Expand All @@ -39,7 +68,7 @@ jobs:
labels: |
t/housekeeping ♻︎
area-infrastructure
assignees: rmarinho, jsuarezruiz
reviewers: rmarinho, jsuarezruiz
assignees: rmarinho, jsuarezruiz, mattleibow
reviewers: rmarinho, jsuarezruiz, mattleibow
branch: housekeeping/fix-codeformatting/${{ matrix.branch }}
base: ${{ matrix.branch }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
![.NET MAUI Weather App on all platforms](Assets/maui-weather-hero-sm.png)

## Current News
* 2025 - [What's new in .NET MAUI for .NET 10](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-10)
* November 13, 2024 - [What's new in .NET MAUI for .NET 9](https://learn.microsoft.com/dotnet/maui/whats-new/dotnet-9)
* November 12, 2024 - [Announcing .NET 9](https://devblogs.microsoft.com/dotnet/announcing-dotnet-9/#.net-maui-–-enhancing-multi-platform-app-development)
* October 22, 2024 - [.NET MAUI Welcomes Syncfusion Open-source Contributions](https://devblogs.microsoft.com/dotnet/dotnet-maui-welcomes-syncfusion-open-source-contributions/)
Expand Down
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,17 @@
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>6b71c64e75168c7704e2e789c7920a3b681af364</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="10.0.0-prerelease.25214.3">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="10.0.0-prerelease.25327.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>3195dcce969c29fc109081c31d68622f5ce6de06</Sha>
<Sha>1ca2b4a2e528b631134501ab611e68cd24f0f7c0</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="10.0.0-prerelease.25214.3">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="10.0.0-prerelease.25327.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>3195dcce969c29fc109081c31d68622f5ce6de06</Sha>
<Sha>1ca2b4a2e528b631134501ab611e68cd24f0f7c0</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="10.0.0-prerelease.25214.3">
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="10.0.0-prerelease.25327.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>3195dcce969c29fc109081c31d68622f5ce6de06</Sha>
<Sha>1ca2b4a2e528b631134501ab611e68cd24f0f7c0</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
Expand Down
13 changes: 7 additions & 6 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<!-- Samsung/Tizen.NET -->
<SamsungTizenSdkPackageVersion>8.0.148</SamsungTizenSdkPackageVersion>
<!-- wasdk -->
<MicrosoftWindowsAppSDKPackageVersion>1.7.250513003</MicrosoftWindowsAppSDKPackageVersion>
<MicrosoftWindowsAppSDKPackageVersion>1.7.250606001</MicrosoftWindowsAppSDKPackageVersion>
<MicrosoftWindowsSDKBuildToolsPackageVersion>10.0.22621.756</MicrosoftWindowsSDKBuildToolsPackageVersion>
<MicrosoftGraphicsWin2DPackageVersion>1.3.2</MicrosoftGraphicsWin2DPackageVersion>
<MicrosoftWindowsWebView2PackageVersion>1.0.3179.45</MicrosoftWindowsWebView2PackageVersion>
Expand Down Expand Up @@ -97,8 +97,8 @@
<MicrosoftJSInteropPreviousPackageVersion>$(MicrosoftAspNetCorePackageVersion)</MicrosoftJSInteropPreviousPackageVersion>
<!-- Other packages -->
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview*</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>4.14.0</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>4.14.0</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
<MicrosoftIoRecyclableMemoryStreamVersion>3.0.1</MicrosoftIoRecyclableMemoryStreamVersion>
<SystemNumericsVectorsVersion>4.6.1</SystemNumericsVectorsVersion>
<SystemMemoryPackageVersion>4.5.5</SystemMemoryPackageVersion>
Expand Down Expand Up @@ -126,9 +126,9 @@
<_HarfBuzzSharpVersion>8.3.0.1</_HarfBuzzSharpVersion>
<_SkiaSharpNativeAssetsVersion>0.0.0-commit.e57e2a11dac4ccc72bea52939dede49816842005.1728</_SkiaSharpNativeAssetsVersion>
<MicrosoftTemplateEngineTasksVersion>7.0.120</MicrosoftTemplateEngineTasksVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>10.0.0-prerelease.25214.3</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>10.0.0-prerelease.25214.3</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>10.0.0-prerelease.25214.3</MicrosoftDotNetXHarnessCLIVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>10.0.0-prerelease.25327.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>10.0.0-prerelease.25327.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>10.0.0-prerelease.25327.1</MicrosoftDotNetXHarnessCLIVersion>
<TizenUIExtensionsVersion>0.9.2</TizenUIExtensionsVersion>
<SvgSkiaPackageVersion>2.0.0.4</SvgSkiaPackageVersion>
<FizzlerPackageVersion>1.3.0</FizzlerPackageVersion>
Expand Down Expand Up @@ -172,6 +172,7 @@
<JavaJdkVersion>17.0.12</JavaJdkVersion>
<!-- Android SDK package versions and info -->
<!-- Build Tools and CmdLine Tools versions -->
<AndroidSdkPlatformToolsVersion>35.0.2</AndroidSdkPlatformToolsVersion>
<AndroidSdkBuildToolsVersion>33.0.0</AndroidSdkBuildToolsVersion>
<AndroidSdkCmdLineToolsVersion>13.0</AndroidSdkCmdLineToolsVersion>
<!-- Device Type for creating AVD's -->
Expand Down
2 changes: 1 addition & 1 deletion eng/automation/guardian/tsaoptions-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"instanceUrl": "https://devdiv.visualstudio.com/",
"projectName": "DevDiv",
"areaPath": "DevDiv\\VS Client - Runtime SDKs\\MAUI",
"areaPath": "DevDiv\\.NET MAUI\\MAUI",
"iterationPath": "DevDiv",
"allTools": true
}
27 changes: 24 additions & 3 deletions eng/cake/dotnet.cake
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,26 @@ Task("VSCode")

UseLocalNuGetCacheFolder();

StartVisualStudioCodeForDotNet();
StartVisualStudioCodeForDotNet(false);
});

Task("Insiders")
.Description("Provisions .NET, and launches an instance of Visual Studio Code using it.")
.IsDependentOn("Clean")
.IsDependentOn("dotnet")
.IsDependentOn("dotnet-buildtasks")
.IsDependentOn("dotnet-pack") // Run conditionally
.Does(() =>
{
if (pendingException != null)
{
Error($"{pendingException}");
Error("!!!!BUILD TASKS FAILED: !!!!!");
}

UseLocalNuGetCacheFolder();

StartVisualStudioCodeForDotNet(true);
});

// Tasks for Local Development
Expand Down Expand Up @@ -632,7 +651,7 @@ void UseLocalNuGetCacheFolder(bool reset = false)
SetEnvironmentVariable("NUGET_PACKAGES", packages.FullPath);
}

void StartVisualStudioCodeForDotNet()
void StartVisualStudioCodeForDotNet(bool useInsiders)
{
if (IsCIBuild())
{
Expand All @@ -645,7 +664,9 @@ void StartVisualStudioCodeForDotNet()
SetDotNetEnvironmentVariables();
}

StartProcess("code", new ProcessSettings{ EnvironmentVariables = GetDotNetEnvironmentVariables() });
string codeProcessName = useInsiders ? "code-insiders" : "code";

StartProcess(codeProcessName, new ProcessSettings{ EnvironmentVariables = GetDotNetEnvironmentVariables() });
}

void StartVisualStudioForDotNet()
Expand Down
Loading
Loading