16,471 questions with .NET-related tags

Sort by: Updated
0 answers

Issues in release mode after upgrading to MAUI 9

After i upgrade from MAUI 8 to MAUI 9 , i face the following issues , I cannot have my target framework to net9.0-android35.0 but i could only use net9.0-android , i get the error as mentioned in the github link…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-25T11:41:25.44+00:00
Manickam, Suraj 320 Reputation points
edited the question 2025-03-26T00:47:01.79+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,021 Reputation points Microsoft External Staff
0 answers

.Net MAUI app fails to deploy only to remote iPhone

I have a .Net Maui app (9.0.14) built in vs2022 (updated to 17.13.4 today) on WIndows 11 Pro, which works fine on local dev machine, in ios simulator, android simulator and windows machine. I'm frustrated that I can't get the app icon to display if I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-25T14:54:13.4066667+00:00
Adrian Lewis 20 Reputation points
edited the question 2025-03-26T00:46:43.6166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,021 Reputation points Microsoft External Staff
0 answers

While releasing the build in iOS MAUI, app getting crash while opening the application

Exceptions occurs was Terminating app due to uncaught exception 'System.ArgumentNullException', reason: 'ArgumentNull_Generic Arg_ParamName_Name, provider (System.ArgumentNullException)    at System.ThrowHelper.Throw(String )    at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-24T05:47:13.2566667+00:00
Jeyamani Sekar 20 Reputation points
commented 2025-03-26T00:46:20.57+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
2 answers

Tracing "SQLite error 19 foreign key constraint" down to what actually causes it?

See screenshots. How do you find out which entity or which record produces this error? Haven't found info in the Internet. Default and test data is added using FluentApi in the configuration classes. The database is EnsureDeleted() first, then when it's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,806 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2023-12-12T10:37:23.18+00:00
MSCollege3000 185 Reputation points
edited an answer 2025-03-26T00:19:51.9833333+00:00
Bill Neal 0 Reputation points
2 answers

How to connect ESPnow to C#

ESPnow is a protocol to connect one Espressif device to another over WiFi , such as ESP32 or ESP8266, WEMOS etc. the advantage is that it is not relying on local WiFi network, so no need to select a WiFi Network and register to it with a password. I…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,342 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
36 questions
asked 2021-01-13T10:50:58.357+00:00
YigalB 1 Reputation point
answered 2025-03-25T23:52:22.3133333+00:00
José Simões 0 Reputation points MVP
2 answers

I get cswinrt.rsp exited with error code 1 when compiling for ios simulator

Building for local iOS iPhone is OK. Only fails when building for iOS simulator. Visual Studio is running on a PC and paired to a Mac. 1>EXEC : error : Path '18.2' is not a file or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-21T15:54:15.63+00:00
Steve Brooke 40 Reputation points
answered 2025-03-25T23:14:32.2933333+00:00
Manodasan Wignarajah 11 Reputation points Microsoft Employee
1 answer

GetClientAccessToken request from Outlook is resulting in "Token retrieval is not supported for this organization." response along with error code ErrorForbiddenClientAccessTokenRequest.

I have an outlook addin which has 2 buttons. On clicking the buttons, GetClientAccessToken request is made by Outlook which is resulting in "Token retrieval is not supported for this organization." response along with error code…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,104 questions
asked 2025-03-25T18:45:07.4633333+00:00
Karthikeya Cresqa 0 Reputation points
answered 2025-03-25T19:19:08.3933333+00:00
Vahid Ghafarpour 22,455 Reputation points
1 answer

Issue with Project Reference

I am using visual studio 2022 with net9. C# unable to reference a class library project in another class library project. \Program Files\dotnet\sdk\9.0.201\Microsoft.Common.CurrentVersion.targets(2189,5): warning MSB9008: The referenced project…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked 2025-03-25T10:31:42.77+00:00
Anil Babu Ravi 0 Reputation points
answered 2025-03-25T17:44:53.3433333+00:00
Anil Babu Ravi 0 Reputation points
0 answers

Maui app as exe - throw exception when installing on new machine

Hi, Maui app as exe - throw exception when installing on new machine. This the message I got: What do we miss ? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-24T08:37:27.1566667+00:00
Dani_S 4,296 Reputation points
edited a comment 2025-03-25T16:52:12.5966667+00:00
Dani_S 4,296 Reputation points
1 answer

SQLite Database Not Loading on iOS and Android with .NET MAUI but works with windows

Using Visual Studio 2022 preview with .NET 9 MAUI, there is an issue getting SQLite to work on iOS and Android. The code compiles for all maui platforms but does not load on the Android emulator or attached Iphone. It works on Windows without issues. I …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-24T10:19:17.6133333+00:00
martin schneeberger 0 Reputation points
commented 2025-03-25T15:55:28.7866667+00:00
Bruce (SqlWork.com) 73,101 Reputation points
1 answer

.NET Editor is not loading up in C# fundamentals course

.NET Editor is not loading up in C# fundamentals course. When i open c# certification from free codecamp one. xp and .net loader are not loading. please i need your help to fix it Link:…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked 2025-03-24T14:55:08.8066667+00:00
HARSHA VARDHAN NAKKA 5 Reputation points
edited a comment 2025-03-25T14:37:21.7666667+00:00
Kay47 0 Reputation points
1 answer

Win32 internal error "Access is denied" 0x5 occurred while reading the console output buffer. Contact Microsoft Customer Support Services.

Hi, I‘m getting the following error while executing the "Invoke-WebRequest" command over "ssh.exec()": Win32 internal error "Access is denied." 0x5 occurred while reading the console output buffer. Contact Microsoft Customer…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked 2025-03-25T06:31:29.8566667+00:00
Mohammed, Mohd Faizal 0 Reputation points
edited an answer 2025-03-25T12:26:26.4666667+00:00
Pradeep M 6,655 Reputation points Microsoft External Staff
2 answers

In Blazor Server App, getting 404 error on page refresh

I am working on a Blazor server app with ASP.NET Core MVC and MudBlazor for design. My panel pages are in a PanelProject. I face the following issues: Whenever I try to refresh a page, I get a 404 error. Sometimes, I get a 403 error without knowing…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,665 questions
asked 2024-03-11T06:57:18.34+00:00
Mrbanad 30 Reputation points
commented 2025-03-25T12:07:52.5266667+00:00
AgaveJoe 29,946 Reputation points
1 answer One of the answers was accepted by the question author.

WARNING MVVMTK0045

Both with net8.0 and net9.0, at times I have a warning MVVMTK0045. Following the instructions in the relevant documentation https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/errors/mvvmtk0045 does not clear the issue - on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-21T09:15:06.2+00:00
Giorgio Sfiligoi 366 Reputation points
accepted 2025-03-25T11:40:52.9366667+00:00
Giorgio Sfiligoi 366 Reputation points
1 answer

"Missing Info.plist value. The Info.plist key 'BGTaskSchedulerPermittedIdentifiers' must contain a list of identifiers used to submit and handle tasks when 'UIBackgroundModes' has a value of 'processing'

I am trying to upload my maui ios app on transporter and getting this error: what i have tried so far is <key>BGTaskSchedulerPermittedIdentifiers</key> <array> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-19T06:04:54.2266667+00:00
Aayush Rawat 0 Reputation points
commented 2025-03-25T09:47:32.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer

flipping card update

I have my card using CommunityToolkit.Mvvm.Messaging; using System.Diagnostics; namespace LiveTileControl.Controls { public partial class LiveTileControl : ContentView { private bool _isFlipping; private bool _isDataAvailable; //…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-12T23:15:05.47+00:00
Eduardo Gomez Romero 1,355 Reputation points
commented 2025-03-25T09:29:22.5766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

How to enable typing and search functionality inside a Picker in .NET MAUI?

How to enable typing and search functionality inside a Picker in .NET MAUI?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-02T07:27:56.81+00:00
Bhuwan 821 Reputation points
accepted 2025-03-25T08:58:49.46+00:00
Bhuwan 821 Reputation points
1 answer

MAUI Map is opening Apple Maps by default in IOS if Apple Maps installed else throwing error even though Google Maps is installed, How to display installed map supported application options like Google Maps, ola, uber etc?

await Map.OpenAsync(placeMark); is opening Apple Maps by default in iOS physical device. If Apple Maps is not there, it is showing an error message in iOS I would like to show all the installed maps supported application list from below like google…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-01T05:10:30.3133333+00:00
RaviKiran P 0 Reputation points
commented 2025-03-25T08:40:02.9933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,246 Reputation points Microsoft External Staff
3 answers

BlazorWebAppEntra .net9 sample app resets back to Home page

Download the BlazorWebAppEntra .net9 sample and create the app in Azure Entra with the other setup that you need to do in Azure. When you are able to login using Azure Entra into you Blazor Web App login click the Weather link in the Nav bar. You will…

Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
19 questions
asked 2025-03-23T10:41:07.2666667+00:00
Saeed Dudhia 0 Reputation points
commented 2025-03-25T08:36:11.3366667+00:00
Saeed Dudhia 0 Reputation points
1 answer One of the answers was accepted by the question author.

pick appropriate .json data in Tab (ShellContext)

As a senior+ hobby developer I'm stuck. I know - whoever helps - this is not what this GitHub forum is for and, I know, this is an imposition! Anyway, hopefully somebody has some time and is willing to help, thank you. my APP:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,035 questions
asked 2025-03-12T09:25:58.7233333+00:00
Eduard Kaufmann 311 Reputation points
accepted 2025-03-25T06:32:31.8433333+00:00
Eduard Kaufmann 311 Reputation points