16,663 questions with .NET-related tags

Sort by: Updated
0 answers

Undefined symbol when calling AudioToolbox function in native C static library in iOS MAUI

Hi all, I'm integrating a native C static library (libmylib.a) into my .NET MAUI iOS project. The library exposes several C functions. One of them uses the VideoToolbox framework and works fine. Another function uses AudioToolbox, but causes a linker…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 28, 2025, 5:56 PM
Urs Ammann 0 Reputation points
0 answers

publish to server 2019 as exe crached

Hi, I used maui in net 9, and deployed it as exe using dotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,254 questions
asked May 28, 2025, 12:14 PM
Dani_S 4,481 Reputation points
0 answers

How to create a Keyboard shortcut for a particular page and listen it continuously until the page disappears in .NET MAUI

For example there is a Main Page. i need to activate a function when the user hit on "Ctrl+s"

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 28, 2025, 11:57 AM
Sowndarrajan Vijayaragavan 450 Reputation points
0 answers

unable to debug and connect to a real IOS device while running my MAUI app from windows

Hi, i had created a MAUI app on windows .netSDK 8.0 and using IOS xcode16 to debug and deploy that on to my real IOS mobile device, but unable to do that and getting a 'self signed root' error while im debuging the same. Tried changing the .netSDK to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 28, 2025, 4:35 AM
Shaik Nazeer 0 Reputation points
0 answers

Function app is not able to hit the breakpoint when an api is called and not even able to browse the api url

Function app is not able to hit the breakpoint when an api is called and not even able to browse the api url. Solution is running in the debug mode but still not hitting the api breakpoint. I tried to attach the debugger also but dotnet.exe for the…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,254 questions
asked May 27, 2025, 6:36 PM
Abhishek Kumar 20 Reputation points
commented May 28, 2025, 4:10 AM
Abhishek Kumar 20 Reputation points
4 answers

deps.json does not exist

Hello everyone!! I am a junior programmer trying to make a project in .NET MAUI, but when it comes to scaffolding my database, I get the following error: The specified deps.json…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked Mar 15, 2024, 11:59 AM
Agustín 0 Reputation points
commented May 27, 2025, 6:13 PM
Basani Bhavana 0 Reputation points
4 answers

deps.json does not exist

Hello everyone!! I am a junior programmer trying to make a project in .NET MAUI, but when it comes to scaffolding my database, I get the following error: The specified deps.json…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked Mar 15, 2024, 11:59 AM
Agustín 0 Reputation points
commented May 27, 2025, 6:13 PM
Basani Bhavana 0 Reputation points
3 answers

Unable to load the service index for source https://api.nuget.org/v3/index.json.

Visual Studio2022: Nuget package manager is giving error: Unable to load the service index for source https://api.nuget.org/v3/index.json. Windows 10 machine Cannot access https://api.nuget.org/v3/index.json. in the browser …

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,254 questions
asked May 11, 2025, 7:23 AM
Sajjad Afzal 51 Reputation points
commented May 27, 2025, 5:55 PM
gopi nath 0 Reputation points
1 answer One of the answers was accepted by the question author.

Getting error when build project

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3030: Could not copy the file…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 26, 2025, 8:08 AM
Bhuwan 861 Reputation points
accepted May 27, 2025, 3:24 PM
Bhuwan 861 Reputation points
1 answer

How can I host a shared Blazor Custom Elements app on a different Domain?

I tried to publish a Blazor app with custom elements on a Static Web App and reference it from another deployed app. Just added the necessary script tags pointing to the static web app. It does not work. Looking into the blazor.webassembly.js…

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,672 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,159 questions
asked Mar 27, 2023, 6:06 PM
László Tóth 0 Reputation points
commented May 27, 2025, 1:32 PM
Michael Aston 0 Reputation points
1 answer

Blazor Parameter Or CascadingParameter Set Property Calling many time

Hello , Please Check Below Image Here in CascadingParameter Set Call Multiple Times , Why? I also Try Parameter But same things Happened . How We stop this Continuous Calling Without Any Flag, Please Kindly Suggest

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.
34 questions
asked May 27, 2025, 12:20 PM
Kuldeep Singh 0 Reputation points
answered May 27, 2025, 12:53 PM
Pradeep M 9,045 Reputation points Microsoft External Staff Volunteer Moderator
1 answer

Forwarding debugger port 8872 , Detecting existing process

HI all, From last few days I'm getting an issue related to android build both Debug and release mode also not working. In debug mode even app also not installing, I'm getting Forwarding debugger port 8872 Detecting existing process am start -n…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Sep 17, 2021, 7:02 AM
Nagarjuna Gadikota 1 Reputation point
answered May 27, 2025, 12:01 PM
Sergey Abaev 0 Reputation points
0 answers

Problem building for Android: Resources\values\colors.xml : error APT2126

Hi, I've made a MAUI app using VS Code that works on Windows and now I want to run it in an Android emulator. Everything's setup, JDK, Android SDK, the emulator AVD, and I can do a Build from VS Code that produces output files in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 27, 2025, 9:53 AM
Hans Hurvig 0 Reputation points
0 answers

Maui project not build after added this plugin "Plugin.Firebase.Analytics"

Maui project not build after added this plugin "Plugin.Firebase.Analytics" Create New Project -> Update All Packages -> Add "Plugin.Firebase.Analytics" NuGet package -> After clean Project -> Rebuild the project and it'…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 27, 2025, 9:10 AM
Bhuwan 861 Reputation points
commented May 27, 2025, 9:11 AM
Bhuwan 861 Reputation points
1 answer

How Cast(Convert) Java.Lang.Object derived to C# object

Hi. I'm going to use Microsoft SignalR with Xamarin.Android. so I need to setup 3 projects; -Web Application(as Server) -Xamarin.Android( as Client) -Shared Project (containing Models) suppose we have a simple POCO C# class which is shared…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked May 24, 2022, 5:40 AM
hamid Darab 21 Reputation points
commented May 27, 2025, 7:25 AM
Dennis Fehr 0 Reputation points
1 answer

Implementing OIDC client in ASP.NET Framework 4.8 application

Hi, We have our ASP.NET web application which has been developed using .Net Framework 4.8. We have done the authentication using WS Feb (Auth0). It has been configured in Web.Config. I would like to change it to OIDC. Kindly suggest how it can be…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,254 questions
asked Apr 25, 2025, 8:01 AM
Banu 20 Reputation points
edited a comment May 26, 2025, 11:51 AM
Banu 20 Reputation points
2 answers One of the answers was accepted by the question author.

Images show up on other devices but not windows build

Hi, I am building a .net maui application my .png's show up on android and android emulators But I am unable to get the same image on windows build, or any image for that matter of fact Here is the code that use. var var image = new Image() { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked Apr 25, 2025, 6:25 PM
anandarus allen 20 Reputation points
accepted May 26, 2025, 7:34 AM
anandarus allen 20 Reputation points
2 answers

Getting CORS on Azure AD B2C with For a talent that configured under Microsoft Entra External ID

Hello Team, Getting CORS error when we configure Azure AD B2C in my angular app. The "Sign Up Sign In" user flow is not coming with MsalGuard. I added Redirect URLs properly in App Registration. Here I'm sharing my app-config and…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,254 questions
asked May 23, 2025, 12:29 PM
Sourav Karmakar 0 Reputation points
commented May 26, 2025, 6:41 AM
Sourav Karmakar 0 Reputation points
2 answers

Adding Blazor Identity to existing Blazer project fails with a 'null path' exception

Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…

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,672 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
asked Dec 18, 2024, 11:16 AM
kodo65 10 Reputation points
answered May 26, 2025, 4:55 AM
kodo65 10 Reputation points
0 answers

Strange behavior of .NET MAUI application on different versions of Android.

The application window styles have a background image added. The application uses a theme based on Theme.Material3.Light.NoActionBar. The application was tested on both emulators and physical devices on Android 9 and Android 15. Unlike on Android 9,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,126 questions
asked May 24, 2025, 9:03 PM
Roman Pristinsky 46 Reputation points
commented May 24, 2025, 9:05 PM
Roman Pristinsky 46 Reputation points