davidbritch / dotnet-maui-samples Goto Github PK
View Code? Open in Web Editor NEW.NET MAUI samples
License: MIT License
.NET MAUI samples
License: MIT License
Xaminals sample has numerous pages with ContentPage.Resources referencing TargetType="Grid" which does not exist on these pages.
To get these samples to run on the latest release (Version 17.3.0 Preview 1.0) ;
in csproj files Remove:
``
true
<ItemGroup Condition="$(TargetFramework.Contains('-windows'))">
<!-- Required - WinUI does not yet have buildTransitive for everything -->
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0" />
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30" />
</ItemGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
<OutputType>WinExe</OutputType>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
</PropertyGroup>
``
In App.xaml Remove : windows:Application.ImageDirectory="Assets"
In Package.appxmanifest : Remove
"Assets\" from all lines
Hello, I'm sorry to contact you in such a way, I saw that Microsoft's official documentation is your participation. I have a problem now. I can’t configure automatic update when I release MAUI to windows. I think you participated in this document. Can you tell me the specific way?
The doc publish-visual-studio-folder
Thanks a lot~
You should consider what these demos look like on a system with a dark theme. The text color is defaulted to Black which cannot be seen against a dark background. You should probably allow the user to select dark/light mode. I don't know if that can be reliably detected programmatically. Perhaps you can set the apps to Light theme for the demo.
I tried the demos on a Windows 11 pc
A number of the demos have references to Device.xxxx... which are obsolete
davidBritch\dotnet-maui-samples\Fundamentals\DataBindingDemos
Select "binding fallbacks"/"TargetNullValue and FallbackValue"
Information is displayed on the initial page. However as you scroll down new entries are missing information. No Refresh ???
davidBritch\dotnet-maui-samples\UserInterface\Views\ScrollViewDemos
Select "ScrollView as the root layout"
Error : {"A cycle occurred while laying out the GUI."}
Message = "Layout cycle detected. Layout could not complete."
Also BlackCatPage.cs , line 18 error "Device.GetNamedSize(NamedSize, Type)" is obsolete
davidBritch\dotnet-maui-samples\UserInterface\Views\RefreshViewDemo
Display doesnt scroll
davidBritch\dotnet-maui-samples\UserInterface\BrushesDemos
UpdateBrushDemoPage.xaml.cs : obsolete call -> UpdateBrushDemoPage line 15
LinearGradientBrushExplorerPage : line 55, error : Object reference not set to an instance of an object
Sorry about the update. I was playing with the Git Stash for the 1st time. I never thought there was any real concern about pushing to your repositor. I was wrong.
I have been playing with the samples. I found an error in the CarouselViewDemos app. I got Error "System.NullReferenceException" at line 25 in SpacingModifier.xaml.cs. It can be fixed by updating line 15 from a CollectionView with CarouselView.
Also in the BrushesDemos, LinearGradientBrushExplorerPage : line 55, error : Object reference not set to an instance of an object
Didnt look close enought to determine how to fix it. Layout layout is never initialized.
PlatformSpecifics sample is missing the these icons : Xamagon.png, net_small_purple.png, DotNetSource_small.png. These are referenced by the Windows version of the app in WindowsImageSearchDirectoryPage.xaml.
Replace all occurrances of the following broken link
"https://upload.wikimedia.org/wikipedia/en/9/9b/Manx_cat_by_Karen_Weaver.jpg"
with
"https://upload.wikimedia.org/wikipedia/commons/9/9b/Manx_cat_by_Karen_Weaver.jpg"
These are the following references:
1. davidBritch\dotnet-maui-samples\Fundamentals\Shell\Xaminals\Data\CatData.cs
2. davidBritch\dotnet-maui-samples\UserInterface\Views\CarouselViewDemos\CarouselViewDemos\ViewModels\AnimalsViewModel.cs
3. davidBritch\dotnet-maui-samples\UserInterface\Views\CollectionViewDemos\CollectionViewDemos\ViewModels\AnimalsViewModel.cs
4. davidBritch\dotnet-maui-samples\UserInterface\Views\CollectionViewDemos\CollectionViewDemos\ViewModels\GroupedAnimalsViewModel.cs
5. davidBritch\dotnet-maui-samples\UserInterface\Views\ListViewDemos\ListViewDemos\ViewModels\AnimalsViewModel.cs
Probably something simple but I've not been able to figure out how to reference ServiceHelper in the LocalizeExtension class. Google searches have turned up the Microsoft Enterprise Libraries but these seem quite old and on the path of deprecation leading me to believe there something I'm missing. I did check the project file with no luck. Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.