Comments (4)
Is this with Visual Studio on Windows? Just tried it on macOS with VS Code and compiled and ran just fine here!
from maui-samples.
Is this with Visual Studio on Windows? Just tried it on macOS with VS Code and compiled and ran just fine here!
Yes, Visual Studio 2022 [17.9.5] .. My first indication was the warning
C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\8.0.7\Sdk\BundledVersions.targets(85,5): warning MA002: Starting with .NET 8, setting <UseMaui>true</UseMaui> does not automatically include NuGet package references in your project. Update your project by including this item: <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.7" />. You can skip this warning by setting <SkipValidateMauiImplicitPackageReferences>true</SkipValidateMauiImplicitPackageReferences> in your project file.
This would (to me) indicate that the project files had not been updated....so I figured I would ask...
from maui-samples.
Yeah I think there is a PR for that but that didn't get merged yet. Regardless, it works fine for me without it, as it should.
The real error seems to be this one: 1>Pages\Handheld\SignaturePage.xaml(25,48): XamlC error XFC0000: Cannot resolve type "clr-namespace:PointOfSale:Main".
from maui-samples.
Yes, as I said it was an indicator... as to the can not resolve type... that may be to be related to:
CSC : warning CS9057: The analyzer assembly 'C:\Program Files\dotnet\sdk\8.0.203\Sdks\Microsoft.NET.Sdk.Razor\source-generators\Microsoft.CodeAnalysis.Razor.Compiler.SourceGenerators.dll' references version '4.9.0.0' of the compiler, which is newer than the currently running version '4.8.0.0'.
But not sure....
Also, note that this was done on a relatively clean machine that had not done any MAUI work previously. When opening the SLN in VS-2022 is indicated some additional components needed to be installed, and I let the VS ecosystem take care of that.
If you are using Vs-Code (this is 40% hypothesis, not use-case I actually do) that spawns off a bunch of dotnet command lines and there may be "workloads" involved that do not get set in the expected manner when the normal use case is via Visual Studio.....
from maui-samples.
Related Issues (20)
- In Control Gallery Sample, iOS Displaying Incorrect Text in TableView
- In Control Gallery, Windows Host Stops Navigating After One Click / Back Sequence HOT 4
- Dynamic change of `ControlTemplates` at runtime doesn't work.
- Install QUEST
- WordPuzzle sample
- Weathertwentyone app example GitHub action pipelines
- why are all sample codes not running because of packages? HOT 3
- BugSweeper
- WebAuthenticator in PlatformIntegrationDemo ends (crashes?) App HOT 1
- Native embedding sample
- NativeEmbeddingDemo doesn't work. HOT 2
- DatePicker crashes app HOT 3
- WEATHER APP DOES NOT RUN!! HOT 2
- Update quest.config
- Share.RequestAsync() doesn't work on .Net MAUI HOT 1
- Update OIDC keys for the OSPO API
- All of the CollectionView samples need to be updated so the CV is inside a Grid not a StackLayout
- MAUI and OpenXR HOT 1
- ISSUE on Windows for any official .NET MAUI examples in the repo that uses TableView
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maui-samples.