16,658 questions with .NET-related tags

Sort by: Updated
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,123 questions
asked May 26, 2025, 8:08 AM
Bhuwan 841 Reputation points
accepted May 27, 2025, 3:24 PM
Bhuwan 841 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 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
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 MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,123 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,123 questions
asked Mar 15, 2024, 11:59 AM
Agustín 0 Reputation points
answered May 27, 2025, 10:01 AM
Leon Jiang 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 MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,123 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,123 questions
asked Mar 15, 2024, 11:59 AM
Agustín 0 Reputation points
answered May 27, 2025, 10:01 AM
Leon Jiang 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,123 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,123 questions
asked May 27, 2025, 9:10 AM
Bhuwan 841 Reputation points
commented May 27, 2025, 9:11 AM
Bhuwan 841 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,252 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,123 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,252 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,123 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
1 answer

issue with my microsfot account

issue with my microsfot account issue with my microsfot account issue with my microsfot account issue with my microsfot account issue with my microsfot account

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
133 questions
asked May 24, 2025, 4:27 PM
Puli, Kiran(Contractor) 0 Reputation points
answered May 24, 2025, 4:34 PM
Puli, Kiran(Contractor) 0 Reputation points
0 answers

Exception thrown: 'System.NotImplementedException' in Plugin.BLE.dll Exception thrown: 'System.NotImplementedException' in Plugin.BLE.dll An exception of type 'System.NotImplementedException' occurred in Plugin.BLE.dll but was not handled in user code

I am migrating my project from Xamarin forms to Maui.In my project we have Bluetooth functionality implemented using Plugin.BLE. We didn't used Plugin.BLE nuget package instead we used plugin.Ble source code like projects . We are adding those projects…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,123 questions
asked May 23, 2025, 3:10 PM
Sk 61 Reputation points
1 answer

Could not load file or assembly at Run time

our .net application has been running on 6.0 for months now. All of the sudden it threw out various exceptions on assembly could not be loaded. Do you have any insights? Thanks The config: …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,816 questions
asked Dec 22, 2023, 4:37 PM
Tang, Charles 0 Reputation points
commented May 23, 2025, 12:15 PM
Michal Penkala 0 Reputation points
0 answers

Push Notification Icon Color Issue in .NET MAUI Local Notifications

I have implemented push notifications using LocalPushNotification in my .NET MAUI app. I'm setting the small icon using: .SetSmallIcon(Resource.Drawable.ic_push_notification_solid) The issue is that the icon is displayed in gray instead of its…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,123 questions
asked May 19, 2025, 6:33 PM
Omkar Pawar 230 Reputation points
commented May 23, 2025, 9:19 AM
Omkar Pawar 230 Reputation points
1 answer

Experiencing Http timeouts when Http calls are made from two .Net frameworks together (.Net Framework 4.8 and .Net Standerd 2.0)

I have an ASP.Net Web API built on .Net Framework 4.8 and we are using a self created nuget library which is built on .Net Standerd 2.0. this nuget library makes Http calls to 3rd party service. To make Http calls we are using single HttpClient object…

.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,252 questions
asked May 21, 2025, 11:13 AM
Gaurav Awasthi 0 Reputation points
edited an answer May 22, 2025, 4:14 PM
Bruce (SqlWork.com) 76,361 Reputation points Moderator
0 answers

.NET MAUI doesn't fullfill entire screen on iOS 18, but is fine on Windows/Android/IOS 16

Hello .NET MAUI doesn't fill entire screen on iOS 18 (see picture of real mobile behaviour) you can recognize MAUI rectange area (background color of Webkit webview controll is full filled on the screen, but all XAMLs like AbsoluteLayout StackLayouts...…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,123 questions
asked May 22, 2025, 8:57 AM
Wheelstring 190 Reputation points
edited a comment May 22, 2025, 9:06 AM
Wheelstring 190 Reputation points