Giter Site home page Giter Site logo

dotnet-maui-samples's People

Contributors

adegeo avatar davidbritch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnet-maui-samples's Issues

Getting the samples to work on the latest release

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

About publish maui to window

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

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 a few of the demos and here is what I found

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.

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.

Image link is incorrect : "https://upload.wikimedia.org/wikipedia/en/9/9b/Manx_cat_by_Karen_Weaver.jpg"

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

Cannot reference ServiceHelper

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.