23,759 questions with .NET-related tags

Sort by: Updated
0 answers

CoreMessagingXP.dll crash

Hello, I am maintaining a .NET application with a WinUI3 UI which sometime crashes. In the event viewer I see that the crash is caused by CoreMessagingXP.dll but I have no idea about the real cause of the problem since I see the application crashing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,338 questions
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.
10,191 questions
asked 2024-04-18T06:49:47.9733333+00:00
Mario Raffin 0 Reputation points
edited the question 2024-04-18T06:52:31.7833333+00:00
Mario Raffin 0 Reputation points
0 answers

Xamarin.Android specific: Error Code 53000, but device is compliant.

Prerequisites: Android phone with V12 Setup Microsoft Intune company portal Register your device with InTune successfully Microsoft credentials or account to log in Expected Result: I want a user to log in with a Microsoft account and fetch a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,294 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,362 questions
asked 2022-03-29T18:28:51.943+00:00
MVS 21 Reputation points
edited a comment 2024-04-18T06:47:12.6+00:00
SHEETAL RODRIGUES 20 Reputation points
0 answers

Maui packaged as iOS 17 system failed to send message using udpClient No Route to Host

I have implemented the following code in C#: IPEndPoint remoteEP = new IPEndPoint(IPAddress.Parse(udpServerIp), udpPort); udpClient.Send(requestBytes, requestBytes.Length, remoteEP); However, Packaging it as Android can send UDP messages, when using…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
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.
10,191 questions
asked 2024-04-17T02:53:26.8433333+00:00
于晏 彭 0 Reputation points
commented 2024-04-18T06:27:45.6433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,766 Reputation points Microsoft Vendor
0 answers

how to save in other storage folder in android?

I am using .net MAUI and want to save the sqlite db to other folder. I know I can get the FileSystem.AppDataDirectory and save the db but it will be deleted when I remove the APP. how to keep the db when I remove the APP and when I reinstall it I can use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-14T15:56:15.6833333+00:00
mc 3,641 Reputation points
commented 2024-04-18T06:15:29.9566667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
1 answer

ContentView as CollectionView's ItemTemplate with custom Command

Hi, I have a CollectionView that have as ItemTemplate a ContentView. I need to pass at the XAML of the ContentView a custom Command, so I have created a BindableProperty but it remains always null. public ICommand ApriCommand { get { return…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-15T14:45:48.2866667+00:00
Matteo Pozzato 96 Reputation points
commented 2024-04-18T06:15:00.08+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
0 answers

Versioned Artifacts for .NET Framework and .NET Core application(s)

Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 questions
asked 2024-04-17T17:41:02.4466667+00:00
Arjun Goel 0 Reputation points
commented 2024-04-18T06:11:26.22+00:00
Ping Ni-MSFT 2,085 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Entry UnFocused Event not trigger after change value

After changing the value of an entry, the 'Entry Unfocused' event does not trigger, nor does it trigger when clicking on any other page after changing the entry value. please provide me any solution or any patch to fix this issue.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-15T06:10:45.9+00:00
Bhuwan 596 Reputation points
accepted 2024-04-18T06:02:10.7433333+00:00
Bhuwan 596 Reputation points
1 answer

Xamarin iOS unable to debug over local device iOS 17.1.1

I have two real devices: iPhone 15 Pro Max iOS 17.1.1 iPhone 7 iOS 15.7.8 I'm trying to debug my Xamarin application over a real device. Using my iPhone 7 works as expected. But it has been impossible for me to do the same using my iPhone 15 Pro…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2024-04-11T07:21:13.1733333+00:00
Alex 0 Reputation points
answered 2024-04-18T06:00:03.8433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,766 Reputation points Microsoft Vendor
1 answer

Round in the navigation of flylou

Hi, In https://github.com/dotnet/maui/issues/21576 there is attached sample. Why there is round in the navigation of flylout ( See attched picture) and how is can be fixed ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-17T11:50:03.91+00:00
דני שטרית 2,686 Reputation points
answered 2024-04-18T05:35:29.09+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,841 Reputation points Microsoft Vendor
0 answers

Is control.TrayLocation in resource file is really required?

whenever I add a non visual control(tooltip, dataset etc) to windows form, an entry control.TrayLocation gets added in the resource file. is it really required? is it okay to delete this entry before checking-in into source control?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-18T05:31:12.0666667+00:00
Prash 21 Reputation points
1 answer

On Click of hyperlink Teams chat opening

Hello Team I am working on a requirement which on a click of hyperlink. I am using Microsoft Razor Microsoft Teams should open and a particular person chat should open, message should contain a message along with a div ready to be delivered(Waiting for…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,022 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
asked 2024-04-17T08:00:52.94+00:00
Sridhar, Arun (Cognizant) 0 Reputation points
answered 2024-04-18T05:21:07.0666667+00:00
LiweiTian-MSFT 13,675 Reputation points Microsoft Vendor
2 answers

How to upload file and view those file in modal popup using gridview

I need help in gridview. i am using normal add, edit and delete functionalities in gridview. This is working fine. Initially i am saving the records using textbox controls and save button. This contains including file upload also. After saving the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,240 questions
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.
10,191 questions
asked 2024-04-17T14:56:04.6833333+00:00
Gani_tpt 1,506 Reputation points
answered 2024-04-18T05:15:48.4233333+00:00
Lan Huang-MSFT 25,386 Reputation points Microsoft Vendor
2 answers

How to update entire MAUI workload to latest? (8.0.20)

How do I update my entire .NET MAUI workload to the latest stable version 8.0.20? The latest version can be found here: https://github.com/dotnet/maui/releases/tag/8.0.20 When i run sudo dotnet workload update then it doesn't update to the latest version…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-16T09:48:41.18+00:00
Mikkel Bech 0 Reputation points
edited an answer 2024-04-18T03:45:44.73+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,766 Reputation points Microsoft Vendor
1 answer

Is it possible to create and set styles and/or template for combobox in c# only?

Hi, I'm trying to setup a app frontend in C# only. I'm more practiced with c# then XAML, but also have the feeling that I can make the app windows/pages more parametric in this way. Thus far I'm succeeding in this, however when I tried setting up…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,665 questions
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.
10,191 questions
asked 2024-04-12T14:03:37.46+00:00
Reinder Weenink 0 Reputation points
commented 2024-04-18T03:27:20.57+00:00
Hui Liu-MSFT 37,946 Reputation points Microsoft Vendor
2 answers

How to reference/consumme assembly manifest based on CPU in WPF C# Application project?

I want to reference an older Win32 assembly from a Wpf C# application. I do have both x86 or x64 versions of the Win32 assembly but I don't see how to reference based on selection target CPU.I can only specify either one. The Visual Studio C# project…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,665 questions
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.
10,191 questions
asked 2024-04-16T12:44:11.6233333+00:00
Nicolas Montmarquette 0 Reputation points
commented 2024-04-18T03:25:53.2766667+00:00
Hui Liu-MSFT 37,946 Reputation points Microsoft Vendor
0 answers

Mac question

I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 185 Reputation points
0 answers

How to debug and fix 'Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)' error on MAUI Android app

I have an Android app published in 'open testing' in Play store. And I am seeing 2% crash rate with this error. I have got the logcat file for 2 crashes, but not able to figure out any source/reason for crash. I am really looking for some help to make…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,338 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-16T17:45:30.3666667+00:00
ac-lap 71 Reputation points
commented 2024-04-18T03:06:24.8866667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 34,841 Reputation points Microsoft Vendor
2 answers

How to create a alert in MAUI - Platform specific - Android.

Hello Team, I want to reuse the existing alert which is created in Xamarin-Android, When I'm trying to access that. Facing this exception. Please find the below code: Device.BeginInvokeOnMainThread(() => { AlertDialog.Builder dialog = new…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-17T11:42:25.1566667+00:00
Vaibhav Methuku 0 Reputation points
answered 2024-04-18T03:03:58.06+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
2 answers

A weired error about HTTP 500 !

I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
commented 2024-04-18T02:40:29.7533333+00:00
JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
1 answer

Unable to publish App to Apple store

Hi, I'm new to Mobile App Development. I have developed a login page App and trying to deploy the App to Apple store and got this error when running the deploy command. Will you please review the errors and guide me in resolving the issue. dotnet…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,834 questions
asked 2024-04-09T01:17:12.25+00:00
Sandeep Reddy Pinniti 1 Reputation point
commented 2024-04-18T02:19:25.22+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,766 Reputation points Microsoft Vendor