Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the tab bar not hiding/showing if property changed #16653

Closed
wants to merge 122 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
daae750
Add swipe for uitests
sbanni Aug 4, 2023
bdde467
fix(tabbar): Fixed the tab bar not hiding/showing if property changed
Aug 9, 2023
fe9b2d5
Adjust whitespace
Aug 9, 2023
3faf8a0
Implement Additional PointerGestureRecognizer Platform Arguments (#16…
tj-devel709 Aug 9, 2023
55acb3a
[C] fix Specificity for VSM (#16404)
StephaneDelcroix Aug 9, 2023
e8e3b4f
Prevent Android timer from adding multiple callbacks; (#16078)
hartez Aug 10, 2023
68aa9e9
[Housekeeping] Remove checkboxes from bug template (#16650)
samhouts Aug 10, 2023
d257304
[Android] Fix SwipeView not swiping using Label as direct content (#1…
jsuarezruiz Aug 10, 2023
92cb037
Locate MAUI View for PlatformView (#16463)
PureWeen Aug 10, 2023
8d5b999
Bump the aspnetcore group with 7 updates (#16634)
dependabot[bot] Aug 10, 2023
c33e2f5
[create-pull-request] automated change (#16655)
github-actions[bot] Aug 10, 2023
be28ebe
[ios] fix memory leak in SwipeItem (#16614)
jonathanpeppers Aug 10, 2023
39c144b
[ios/catalyst] fix memory leak in DatePicker (#16589)
jonathanpeppers Aug 10, 2023
e5da563
[build] Bump XCode to 14.31 (#16374)
rmarinho Aug 10, 2023
b82609d
Add swipe gesture for uitests (#16560)
sbanni Aug 10, 2023
db01c83
Add doc comments for common types used in templates, maps, webview (#…
Eilon Aug 10, 2023
7e9e3e2
Update CODEOWNERS (#16682)
samhouts Aug 10, 2023
0977c0b
Fix the case where silent was requested (#16676)
mattleibow Aug 10, 2023
c582e4d
Use the correct WASDK property (#16683)
mattleibow Aug 11, 2023
412eb05
Re-land "[Windows] fixing window glitches while moving or resizing" …
mattleibow Aug 11, 2023
7b74d43
Update WebNavigationResult.cs doc comments (#16710)
Eilon Aug 13, 2023
a7e99ae
Enable default xcode path (#16708)
PureWeen Aug 14, 2023
ff02f57
[ios] fix memory leak in WindowOverlay (#16700)
jonathanpeppers Aug 14, 2023
e36d222
Make Android visual test screenshots more deterministic (#16591)
BretJohnson Aug 14, 2023
48e5caa
Obsolete VisualElement.FocusChangeRequested event (#16750)
jfversluis Aug 15, 2023
73271cc
[UITest] Add more logging and restart in setup (#16687)
sbanni Aug 15, 2023
844b019
[ios] fix memory leak in Picker (#16685)
jonathanpeppers Aug 15, 2023
f57cf31
[create-pull-request] automated change (#16690)
github-actions[bot] Aug 15, 2023
7f60836
[X] avoid AmibuousMatchException (#15873)
StephaneDelcroix Aug 15, 2023
7f921c7
Add reset to test teardown if the app is not running anymore (#16769)
sbanni Aug 15, 2023
6fd85a1
[tests] Enable TreatWarningsAsErrors=true (#16766)
pjcollins Aug 15, 2023
9b0aa90
Streamline SwipeView Children (#16753)
PureWeen Aug 16, 2023
e272bfc
[create-pull-request] automated change (#16771)
github-actions[bot] Aug 16, 2023
68782d8
Allow "duplicate" files to be processed (#16534)
mattleibow Aug 16, 2023
0ebb60b
[iOS/Catalyst] Fix issue loading images from Stream (#16162)
jsuarezruiz Aug 16, 2023
29a4bec
fix: MauiEmbedding extensions should use specified TApp type (#16758)
dansiegel Aug 16, 2023
4c3ee52
Fixed pin display mode not updating
Aug 16, 2023
8b5c996
Make ImageSourcePartExtensions public (#16633)
jsuarezruiz Aug 16, 2023
34b481d
Revert "Internalize MessagingCenter (#12582)" (#16798)
mattleibow Aug 17, 2023
fd74e8d
Add a UI test for tapping on a label span (#16222)
mattleibow Aug 17, 2023
9948640
[create-pull-request] automated change (#16801)
github-actions[bot] Aug 17, 2023
d22cb6a
[build] avoid NETSDK1195 error (#16795)
jonathanpeppers Aug 17, 2023
86b71e1
Document IElementHandler (#16706)
DianaSoltani Aug 17, 2023
22fab2d
Import Keyboard Extension APIs (#16572)
drasticactions Aug 17, 2023
2dd280a
Wire up MapMenuItems
Aug 17, 2023
097bbc6
Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 (#16822)
dependabot[bot] Aug 17, 2023
040f2f1
[windows] fix memory leak in ListView (#16762)
jonathanpeppers Aug 17, 2023
77d2fa7
Removed extra call to UpdateCurrentItem
Aug 17, 2023
ace9fe5
Document Brush & Colors (#16738)
jknaudt21 Aug 18, 2023
2287124
Don't force the RID to be x64 (#16678)
mattleibow Aug 18, 2023
f8382f3
[create-pull-request] automated change (#16844)
github-actions[bot] Aug 18, 2023
80a40e0
Make it a bit easier / more obvious how to use shell with sandbox (#1…
BretJohnson Aug 18, 2023
e6630ee
Add a "VSCode" target to open the "maui.code-workspace". (#16732)
dellis1972 Aug 18, 2023
9cec15b
[windows] Fix Picker PointerOver TextColor (#16751) (#16752)
molesmoke Aug 19, 2023
60c5a15
Add note about ClipsToBounds/IsClippedToBounds (#16833)
hartez Aug 19, 2023
a099520
Correct minor Barometer API docs mistake (#16853)
jfversluis Aug 19, 2023
5af60d3
[iOS] Fix ScrollTo method issues (#15984)
jsuarezruiz Aug 21, 2023
2b66f51
[Android] Fix issue setting CarouselView position on Ctor or Appearin…
jsuarezruiz Aug 21, 2023
440daec
[create-pull-request] automated change (#16872)
github-actions[bot] Aug 21, 2023
80a7199
Use the x86 emulator for API 27 (#16869)
mattleibow Aug 21, 2023
70022df
Bump Microsoft.Net.Compilers.Toolset from 4.6.0 to 4.7.0 (#16889)
dependabot[bot] Aug 21, 2023
0d162b3
[BuildTasks] Fix resolution for nested types (#16841)
pjcollins Aug 21, 2023
9fea1f5
[windows] improve memory usage of `CollectionView` (#16838)
jonathanpeppers Aug 21, 2023
2e65626
[ios] test MemoryAnalyzers package (#16346)
jonathanpeppers Aug 21, 2023
030fdc9
Update dependencies from https://github.com/dotnet/xharness build 202…
dotnet-maestro[bot] Aug 21, 2023
f6823ff
Revert "Make ImageSourcePartExtensions public (#16633)" (#16893)
mattleibow Aug 21, 2023
1364081
Set Mapper/Handler ctor to protected on migration handlers (#16882)
PureWeen Aug 21, 2023
e150748
Add flag for selected item sync
Aug 21, 2023
74b3c38
Fix support for VisualDiagnosticsOverlay/IWindowOverlay on Android Sh…
drasticactions Aug 22, 2023
a7d2c9d
Fail the build before it even starts (#16906)
mattleibow Aug 22, 2023
3f41775
[WinUI] Update shadow mask as part of shadow properties (#16895)
emaf Aug 22, 2023
8c76c27
[create-pull-request] automated change (#16907)
github-actions[bot] Aug 22, 2023
302474a
Tests: Add support for connected component analysis (#16770)
dotMorten Aug 22, 2023
ed2c958
Improve the control over resource generation (#16845)
mattleibow Aug 22, 2023
adfd933
Update VisualElement docs (#16754)
jfversluis Aug 22, 2023
99253e7
Add property for tapping on page to close soft input keyboard (#16530)
PureWeen Aug 22, 2023
0f1d834
Update VisualElement.cs (#16933)
jfversluis Aug 22, 2023
40ed78b
[create-pull-request] automated change (#16944)
github-actions[bot] Aug 23, 2023
6aaf343
[uitests] Bump versions and fix script (#16917)
rmarinho Aug 23, 2023
862fa07
[windows] Fixed CarouselView items rendering (#16842)
mauroa Aug 23, 2023
4d21500
[workload] Only install the WinUI pack on Windows (#16937)
pjcollins Aug 23, 2023
b0bba51
[core] use factory methods for registering services (#16741)
jonathanpeppers Aug 23, 2023
3129480
Add a timeout to the appium server startup (#16939)
sbanni Aug 23, 2023
69a166b
Handlers should not implement `IImageSourcePartSetter` directly (#16901)
mattleibow Aug 23, 2023
0683e56
[create-pull-request] automated change (#16968)
github-actions[bot] Aug 24, 2023
01fc5eb
[WinUI] Fix exception when adding items to a linear layout Collection…
emaf Aug 24, 2023
7c035c6
Add interface to expose out UIView methods (#16868)
PureWeen Aug 24, 2023
fa5d271
Revert "Remove TargetIdiom (#13090)" (#16982)
mattleibow Aug 24, 2023
108d1bc
Fix so updating FlyoutItemIsVisible hides/shows shell menu item (#16942)
BretJohnson Aug 24, 2023
05a1902
Ensure `MapMenuItems` updates tabbar visibility on item add and remove
Aug 24, 2023
4e269db
Present to UIWindow associated with passed in page (#16983)
PureWeen Aug 24, 2023
58498f8
[android] Fixed ListView visibility and opacity on Android (#16941)
mauroa Aug 25, 2023
136f21d
[android] fix DI registration for Frame, ListView, TableView (#16989)
jonathanpeppers Aug 25, 2023
2f666ab
[create-pull-request] automated change (#16993)
github-actions[bot] Aug 25, 2023
d85704d
[workload] Move default item updates to workload sdk (#16990)
pjcollins Aug 25, 2023
cdaa4e5
Use a fixed WinUI window size for Appium test app (#16956)
BretJohnson Aug 25, 2023
2ec2e0b
Default paths for Appium projects, to simplify run steps (#16763)
BretJohnson Aug 25, 2023
be144c7
Add Windows unpackaged DeviceTests in CI (#17001)
jfversluis Aug 25, 2023
5ac1e80
[Android] Fix Keyboard.Numeric issue (#16163)
jsuarezruiz Aug 25, 2023
d933b72
Invalidate shell tab title on Windows (#16593)
jsuarezruiz Aug 25, 2023
d77142a
Fix Flyout Crash (Windows) (#16800)
Foda Aug 25, 2023
79a44ff
[core] factory methods for registering services, part 2 (#17004)
jonathanpeppers Aug 26, 2023
43699ae
[create-pull-request] automated change (#17017)
github-actions[bot] Aug 27, 2023
c217838
Ignore failures from newly added UITests temporarily (#17003)
BretJohnson Aug 27, 2023
8f56077
Fix Android text alignment in migrated projects (#16986)
jknaudt21 Aug 27, 2023
1884430
Fix the order of logical modifications (#17020)
PureWeen Aug 27, 2023
a7a6485
[create-pull-request] automated change (#17025)
github-actions[bot] Aug 28, 2023
95c3fb7
Update dependencies from https://github.com/dotnet/xharness build 202…
dotnet-maestro[bot] Aug 28, 2023
70a6fd6
Bump Microsoft.CodeAnalysis.NetAnalyzers from 7.0.3 to 7.0.4 (#17032)
dependabot[bot] Aug 28, 2023
a3c248e
Add GetPosition method to DragStartingEventArgs, DragEventArgs, and D…
jsuarezruiz Aug 28, 2023
cce1a2a
[macOS] Implement IsEnabled property in MenuFlyoutItems (#14920)
jsuarezruiz Aug 28, 2023
60bdea7
Remove pinning to NET7 SDK (#17035)
PureWeen Aug 28, 2023
df1fb2d
[android] CollectionView logical children grows with Header/Footer (#…
jonathanpeppers Aug 28, 2023
311745e
fix(tabbar): Fixed the tab bar not hiding/showing if property changed
Aug 9, 2023
e57a8cf
Adjust whitespace
Aug 9, 2023
b4770be
Fixed pin display mode not updating
Aug 16, 2023
83e1d8c
Wire up MapMenuItems
Aug 17, 2023
7ebd562
Removed extra call to UpdateCurrentItem
Aug 17, 2023
01582a5
Add flag for selected item sync
Aug 21, 2023
0ff0881
Ensure `MapMenuItems` updates tabbar visibility on item add and remove
Aug 24, 2023
c25d684
Rebase onto main
Aug 28, 2023
c1a0e5a
Merge branch 'foda/TabBarVisibility' of https://github.com/dotnet/mau…
Aug 28, 2023
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 @@ -21,7 +21,7 @@
]
},
"microsoft.dotnet.xharness.cli": {
"version": "8.0.0-prerelease.23407.2",
"version": "8.0.0-prerelease.23421.1",
"commands": [
"xharness"
]
Expand Down
38 changes: 3 additions & 35 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,42 +1,10 @@
# Tizen
* @dotnet/dotnet-maui-reviewers

# Tizen (this probably doesn't work since these do not have write access
**/Tizen @rookiejava @myroot @shyunmin @sung-su @JoonghyunCho
*.tizen.cs @rookiejava @myroot @shyunmin @sung-su @JoonghyunCho
*.Tizen.cs @rookiejava @myroot @shyunmin @sung-su @JoonghyunCho

# GTK
/Xamarin.Forms.ControlGallery.GTK/ @jsuarezruiz
/Stubs/Xamarin.Forms.Platform.GTK/ @jsuarezruiz
/Xamarin.Forms.Platform.GTK/ @jsuarezruiz
/Xamarin.Forms.Maps.GTK/ @jsuarezruiz
/EmbeddingTestBeds/Embedding.GTK/ @jsuarezruiz
/PagesGallery/PagesGallery.GTK/ @jsuarezruiz
/Xamarin.Forms.Core/PlatformConfiguration/GTKSpecific @jsuarezruiz

# WPF
/Xamarin.Forms.ControlGallery.WPF/ @mohachouch
/Stubs/Xamarin.Forms.Platform.WPF/ @mohachouch
/Xamarin.Forms.Platform.WPF/ @mohachouch
/Xamarin.Forms.Maps.WPF/ @mohachouch
/EmbeddingTestBeds/Embedding.WPF/ @mohachouch
/PagesGallery/PagesGallery.WPF/ @mohachouch
/Xamarin.Forms.Core/PlatformConfiguration/WPFSpecific @mohachouch

# macOS
/Xamarin.Forms.ControlGallery.macOS/ @rmarinho
/Stubs/Xamarin.Forms.Platform.macOS/ @rmarinho
/Xamarin.Forms.Platform.macOS/ @rmarinho
/Xamarin.Forms.Maps.macOS/ @rmarinho
/EmbeddingTestBeds/Embedding.macOS/ @rmarinho
/PagesGallery/PagesGallery.macOS/ @rmarinho
/Xamarin.Forms.Core/PlatformConfiguration/macOSSpecific @rmarinho

# XAML
/Xamarin.Forms.Xaml/ @StephaneDelcroix
/Xamarin.Forms.Build.Tasks/ @StephaneDelcroix

# Core
/Xamarin.Forms.Core/ @StephaneDelcroix

# Blazor Desktop
/src/BlazorWebView/ @dotnet/dotnet-maui-blazor-eng
/src/Templates/src/templates/maui-blazor/ @dotnet/dotnet-maui-blazor-eng
14 changes: 14 additions & 0 deletions .github/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ Before opening the solution in Visual Studio you **MUST** build the build tasks.
dotnet build ./Microsoft.Maui.BuildTasks.slnf
```

- OR do this to build the tasks and open the Visual Studio Code codespace:

```dotnetcli
dotnet tool restore
dotnet cake --target=VSCode --workloads=global
```

## Available Solutions
- Microsoft.Maui.sln
- Kitchen sink solution. This includes all of the `Compatibility` projects and all of the platforms that we compile for. It is very unlikely you will need to use this solution for development.
Expand Down Expand Up @@ -205,6 +212,13 @@ dotnet tool restore
dotnet cake --target=VS
```

There is also a `VSCode` target for launching Visual Studio Code.

```dotnetcli
dotnet tool restore
dotnet cake --target=VSCode
```

#### Testing branch against your project
`--sln=<Path to SLN>`
- This will pack .NET and then open a VS instance using the local pack. This is useful if you want to check to see if the changes in a branch will address your particular issues. Pack only runs the first time so you will need to explicitly add the `--pack` flag if you make changes and need to repack.
Expand Down
37 changes: 21 additions & 16 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,43 @@ body:
label: Version with bug
description: In what version do you see this issue? Run `dotnet workload list` to find your version.
options:
- 7.0.92
- 7.0.86
- 7.0.81
- 7.0.59
- 7.0.49
- 7.0.52
- 7.0.58
- 7.0.59
- 7.0.81
- 7.0.86
- 7.0.92
- 8.0.0-preview.1.7762
- 8.0.0-preview.2.7871
- 8.0.0-preview.3.8149
- 8.0.0-preview.4.8333
- 8.0.0-preview.5.8529
- 8.0.0-preview.6.8686
- 8.0.0-preview.7.8842
- 8.0.0-preview.6.8686
- 8.0.0-preview.5.8529
- 8.0.0-preview.4.8333
- 8.0.0-preview.3.8149
- 8.0.0-preview.2.7871
- 8.0.0-preview.1.7762
- Unknown/Other
validations:
required: true
- type: checkboxes
- type: dropdown
id: is-regression
attributes:
label: Is this a regression from previous behavior? In other words, did this work before an update and now does not?
label: Is this a regression from previous behavior?
description: In other words, did this work before an update or migration and now does not?
multiple: true
options:
- label: Yes, this used to work
- label: No, this is something new
- label: Not sure, did not test other versions
- Yes, this used to work in .NET MAUI
- Yes, this used to work in Xamarin.Forms
- No, this is something new
- Not sure, did not test other versions
validations:
required: true
- type: dropdown
id: version-that-worked
attributes:
label: Last version that worked well
description: If you answered yes, there a version on which this _did_ work, which one? If no or unknown, please select `Unknown/Other`. Run `dotnet workload list` to find your version.
options:
- Unknown/Other
- 6.0
- 7.0.49
- 7.0.52
Expand All @@ -90,7 +96,6 @@ body:
- 8.0.0-preview.5.8529
- 8.0.0-preview.6.8686
- 8.0.0-preview.7.8842
- Unknown/Other
validations:
required: true
- type: dropdown
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
<Import Condition="'$(EnvironmentBuildPropsImported)' != 'True'" Project="$(MSBuildThisFileDirectory)eng\Environment.Build.props" />
<Import Condition="'$(SampleProject)' != 'True' and '$(CI)' == 'true'" Project="$(MSBuildThisFileDirectory)eng\SourceLink.Build.props" />
<ItemGroup Condition="'$(MSBuildVersion)' != '' AND '$(MSBuildVersion)' &lt; '16.7.0' ">
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.6.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="4.7.0" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<!-- We don't need to be warned that we are using a preview .NET -->
Expand Down
3 changes: 1 addition & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ PowerShell:
// ADDINS
//////////////////////////////////////////////////////////////////////
#addin "nuget:?package=Cake.Android.SdkManager&version=3.0.2"
#addin "nuget:?package=Cake.Boots&version=1.0.4.624"
#addin "nuget:?package=Cake.AppleSimulator&version=0.2.0"
#addin "nuget:?package=Cake.FileHelpers&version=3.2.1"
#load "eng/cake/dotnet.cake"
Expand All @@ -29,7 +28,7 @@ PowerShell:
// TOOLS
//////////////////////////////////////////////////////////////////////
#tool "nuget:?package=NUnit.ConsoleRunner&version=3.16.3"
#tool "nuget:?package=nuget.commandline&version=6.5.0"
#tool "nuget:?package=nuget.commandline&version=6.6.1"

//////////////////////////////////////////////////////////////////////
// ARGUMENTS
Expand Down
2 changes: 2 additions & 0 deletions docs/design/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ The ILayout interface is composed of a few other interfaces - it's an IView, an

It also provides the `ClipsToBounds` property, which determines whether its child views can be displayed outside of its boundaries, or are clipped at the edges.

> 📝 In MAUI.Controls, the value of `ClipsToBounds` is provided by the `IsClippedToBounds` property of Layout. For migration convenience from Xamarin.Forms, the `IsClippedToBounds` property defaults to `false`, so layouts in MAUI.Controls _do not clip_ by default.

The ILayout interface also provides the `CrossPlatformMeasure()` and `CrossPlatfromArrange()` methods; these methods are utilized by the platform backing controls (e.g. LayoutViewGroup) to handle the cross-platform layout work.

Technically speaking, it's possible to implement all of the cross-platform layout logic directly in an implementation of ILayout, and it's possible that some SDKs may choose to do so. But by convention, that work is instead delegated to an implementation of ILayoutManager.
Expand Down
24 changes: 23 additions & 1 deletion eng/BannedSymbols.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to create the service instead
M:Android.Content.Res.ColorStateList.#ctor(System.Int32[][],System.Int32[]);Use Microsoft.Maui.PlatformInterop.Get*ColorStateList() Java methods instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient`1(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient`2(Microsoft.Extensions.DependencyInjection.IServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions.AddService`2(Microsoft.Maui.Hosting.IImageSourceServiceCollection);Use a Factory method to register the service instead
M:Microsoft.Maui.Hosting.MauiHandlersCollectionExtensions.AddHandler(Microsoft.Maui.Hosting.IMauiHandlersCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Maui.Hosting.MauiHandlersCollectionExtensions.AddHandler`2(Microsoft.Maui.Hosting.IMauiHandlersCollection);Use a Factory method to register the service instead
M:Microsoft.Maui.Hosting.MauiHandlersCollectionExtensions.TryAddHandler(Microsoft.Maui.Hosting.IMauiHandlersCollection,System.Type,System.Type);Use a Factory method to register the service instead
M:Microsoft.Maui.Hosting.MauiHandlersCollectionExtensions.TryAddHandler`2(Microsoft.Maui.Hosting.IMauiHandlersCollection);Use a Factory method to register the service instead
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@
<Uri>https://github.com/dotnet/templating</Uri>
<Sha>3f4da9ced34942d83054e647f3b1d9d7dde281e8</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.23407.2">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.23421.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>480b9159eb7e69b182a87581d5a336e97e0b6dae</Sha>
<Sha>1c09ef5b669c11e1aeca92089d0c1e4408169582</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.23407.2">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.23421.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>480b9159eb7e69b182a87581d5a336e97e0b6dae</Sha>
<Sha>1c09ef5b669c11e1aeca92089d0c1e4408169582</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.23407.2">
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.23421.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>480b9159eb7e69b182a87581d5a336e97e0b6dae</Sha>
<Sha>1c09ef5b669c11e1aeca92089d0c1e4408169582</Sha>
</Dependency>
</ProductDependencies>
</Dependencies>
22 changes: 11 additions & 11 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@
<MicrosoftWindowsSDKBuildToolsPackageVersion>10.0.22621.756</MicrosoftWindowsSDKBuildToolsPackageVersion>
<MicrosoftGraphicsWin2DPackageVersion>1.0.5.1</MicrosoftGraphicsWin2DPackageVersion>
<!-- Everything else -->
<MicrosoftAspNetCoreAuthorizationPackageVersion>7.0.9</MicrosoftAspNetCoreAuthorizationPackageVersion>
<MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>7.0.9</MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>
<MicrosoftAspNetCoreAuthenticationGooglePackageVersion>7.0.9</MicrosoftAspNetCoreAuthenticationGooglePackageVersion>
<MicrosoftAspNetCoreAuthenticationMicrosoftAccountPackageVersion>7.0.9</MicrosoftAspNetCoreAuthenticationMicrosoftAccountPackageVersion>
<MicrosoftAspNetCoreAuthorizationPackageVersion>7.0.10</MicrosoftAspNetCoreAuthorizationPackageVersion>
<MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>7.0.10</MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>
<MicrosoftAspNetCoreAuthenticationGooglePackageVersion>7.0.10</MicrosoftAspNetCoreAuthenticationGooglePackageVersion>
<MicrosoftAspNetCoreAuthenticationMicrosoftAccountPackageVersion>7.0.10</MicrosoftAspNetCoreAuthenticationMicrosoftAccountPackageVersion>
<MicrosoftAspNetCoreComponentsAnalyzersPackageVersion>7.0.1</MicrosoftAspNetCoreComponentsAnalyzersPackageVersion>
<MicrosoftAspNetCoreComponentsFormsPackageVersion>7.0.1</MicrosoftAspNetCoreComponentsFormsPackageVersion>
<MicrosoftAspNetCoreComponentsPackageVersion>7.0.1</MicrosoftAspNetCoreComponentsPackageVersion>
<MicrosoftAspNetCoreComponentsWebPackageVersion>7.0.9</MicrosoftAspNetCoreComponentsWebPackageVersion>
<MicrosoftAspNetCoreComponentsWebViewPackageVersion>7.0.9</MicrosoftAspNetCoreComponentsWebViewPackageVersion>
<MicrosoftAspNetCoreComponentsWebPackageVersion>7.0.10</MicrosoftAspNetCoreComponentsWebPackageVersion>
<MicrosoftAspNetCoreComponentsWebViewPackageVersion>7.0.10</MicrosoftAspNetCoreComponentsWebViewPackageVersion>
<MicrosoftAspNetCoreMetadataPackageVersion>7.0.1</MicrosoftAspNetCoreMetadataPackageVersion>
<MicrosoftJSInteropPackageVersion>7.0.9</MicrosoftJSInteropPackageVersion>
<MicrosoftJSInteropPackageVersion>7.0.10</MicrosoftJSInteropPackageVersion>
<!-- Other packages -->
<MicrosoftCodeAnalysisNetAnalyzersVersion>7.0.3</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>7.0.4</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisPublicApiAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisPublicApiAnalyzersVersion>
<MicrosoftCodeAnalysisBannedApiAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisBannedApiAnalyzersVersion>
<SystemNumericsVectorsVersion>4.5.0</SystemNumericsVectorsVersion>
Expand Down Expand Up @@ -68,9 +68,9 @@
<_HarfBuzzSharpVersion>2.8.2.2</_HarfBuzzSharpVersion>
<_SkiaSharpNativeAssetsVersion>0.0.0-commit.193b587552cb0ed39372a049d7e6c692db98c267.483</_SkiaSharpNativeAssetsVersion>
<MicrosoftTemplateEngineTasksVersion>7.0.100-preview.5.22226.1</MicrosoftTemplateEngineTasksVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.23407.2</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.23407.2</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.23407.2</MicrosoftDotNetXHarnessCLIVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.23421.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.23421.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.23421.1</MicrosoftDotNetXHarnessCLIVersion>
<TizenUIExtensionsVersion>0.9.0</TizenUIExtensionsVersion>
<SvgSkiaPackageVersion>0.5.13</SvgSkiaPackageVersion>
<FizzlerPackageVersion>1.2.0</FizzlerPackageVersion>
Expand Down
36 changes: 36 additions & 0 deletions eng/cake/dotnet.cake
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,25 @@ Task("dotnet-diff")
}
});

Task("VSCode")
.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();
});

// Tasks for Local Development
Task("VS")
.Description("Provisions .NET, and launches an instance of Visual Studio using it.")
Expand Down Expand Up @@ -558,6 +577,23 @@ void UseLocalNuGetCacheFolder(bool reset = false)
SetEnvironmentVariable("NUGET_PACKAGES", packages.FullPath);
}

void StartVisualStudioCodeForDotNet()
{
string workspace = "./maui.code-workspace";
if (IsCIBuild())
{
Error("This target should not run on CI.");
return;
}

if(localDotnet)
{
SetDotNetEnvironmentVariables();
}

StartProcess("code", new ProcessSettings{ Arguments = workspace, EnvironmentVariables = GetDotNetEnvironmentVariables() });
}

void StartVisualStudioForDotNet()
{
string sln = Argument<string>("sln", null);
Expand Down
Loading
Loading