23,142 questions with .NET-related tags

Sort by: Updated
0 answers

Dynamically Adjusting WebView Height Based on Content in ListView Item

How can I dynamically adjust the height of a WebView within a ListView item based on the content it displays? I am working on a Microsoft Maui application that has a ListView containing WebView elements, and these WebViews display dynamic HTML content…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-03-01T15:53:14.3533333+00:00
Shahid Abbas 5 Reputation points
0 answers

Could not install iOS workload

I'm facing this issue when trying to pair between VS Windows and Mac to debug using the iOS device. I tried this approach, but it didn't work out.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-03-01T15:33:06.2+00:00
Huynh Than 20 Reputation points
0 answers

Maui && worker service ,mange token.

Hi. I have app consist of two parts: 1.Client - maui 2.Service- worker service. They both share token come from API that created on client in one of the screen and saved in DB per user. The service consume it and when the token not active any more it…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-02-29T08:00:44.9733333+00:00
דני שטרית 2,266 Reputation points
edited a comment 2024-03-01T15:31:11.5933333+00:00
דני שטרית 2,266 Reputation points
0 answers

Shell navigation key error

White navigating, and selecting pages back and forth, I get this error An item with the same key has already been added. Key: 0 I do not understand it, I cheek the stack and I found this. at…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-02-27T07:47:44.1533333+00:00
Eduardo Gomez 3,216 Reputation points
edited a comment 2024-03-01T14:33:31.8733333+00:00
Eduardo Gomez 3,216 Reputation points
0 answers

Login flow with shell

I have an App shell view model. public partial class AppShellViewModel(IAppService appService) : BaseViewModel { [ObservableProperty] User? user; [ObservableProperty] bool isCoordinator; [ObservableProperty] bool isStudent; …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-02-28T21:32:13.65+00:00
Eduardo Gomez 3,216 Reputation points
commented 2024-03-01T14:31:49.0733333+00:00
Eduardo Gomez 3,216 Reputation points
1 answer One of the answers was accepted by the question author.

Displaying a bitmap AND mouse cursor while dragging

Hi, In VB I can drag and drop an item between two lists without any problems but even after extensive searching I haven't found a convincing method to show the user what is being dragged. This could of course be me using less than optimal search terms…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,505 questions
asked 2024-02-12T14:26:10.22+00:00
Willy V 20 Reputation points
commented 2024-03-01T14:23:46.6466667+00:00
Willy V 20 Reputation points
0 answers

WPF: Could not load file or assembly error in the designer but application runs with no problems

To try to solve another issue with the designer I've deleted bin and obj directories. Since then I'm facing this error while being in the designer: "The error message "Could not load file or assembly 'DesktopClient, Version=1.0.0.0,…

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,635 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,435 questions
asked 2024-03-01T08:49:05.19+00:00
Kratochvíl Lukáš 0 Reputation points
commented 2024-03-01T14:17:42.61+00:00
Kratochvíl Lukáš 0 Reputation points
0 answers

Getting error 0x80073CF3 when trying to install an app from company portal

We have a msix app (.NET MAUI app for windows) deployed in company portal using Intune's. Installation from company portal is working fine in most of organization machines but in very few machines it is showing the error 0x80073CF3. I did clear the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
849 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,079 questions
asked 2024-03-01T13:55:26+00:00
Lohith K K 105 Reputation points
0 answers

Create QR code image of same size

Hi, I have qr code data of different size & qr code versions are also different respective of data size. Is it possible to print/create all QR code image of same size(height & width)? I tried setting height & width in encoding options but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 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.
9,976 questions
asked 2024-03-01T13:41:45.8566667+00:00
Yugank Narula 0 Reputation points
1 answer

how to use NavigationRailView in .net maui android?

how to use it in android?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-02-23T13:46:55.43+00:00
mc 3,481 Reputation points
commented 2024-03-01T13:32:41.95+00:00
mc 3,481 Reputation points
0 answers

Why does class view think everything is an inherited class

I recently did the reset of Visual Studio setting. For the last few days I have been restoring what it got rid of (it did fix the problems I was having with the debugger) and now I find something that I would like an explanation of. When I go to Class…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,435 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2024-02-23T20:24:46.2266667+00:00
Lloyd Sheen 1,331 Reputation points
commented 2024-03-01T13:28:47.1433333+00:00
Anna Xiu-MSFT 23,576 Reputation points Microsoft Vendor
1 answer

Visual Studio 2022 - Error loading Apple provisioning profiles

Hi! I'm developing my MAUI app and testing it on my iOS device via Visual Studio 2022 (Version 17.7.6). But suddenly I've lost my sync with my developer apple account. I've tried on other PC on the same network and It works properly, but on my device,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,261 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,435 questions
asked 2023-11-03T09:19:42.14+00:00
Aranda Simarro, Ivan 0 Reputation points
answered 2024-03-01T12:04:03.2466667+00:00
Aranda Simarro, Ivan 0 Reputation points
1 answer One of the answers was accepted by the question author.

Affected .net versions by CVE-2024-0057

Hello, I am concerned about CVE-2024-0057 and would like to know if .NET Core is affected. I have checked the security advisory here and can see that all supported versions of .NET (.NET 6 through .NET 8) are impacted. However, I am specifically…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 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.
9,976 questions
.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,101 questions
asked 2024-02-23T10:58:23.21+00:00
Matěj Prášek 20 Reputation points
accepted 2024-03-01T10:15:36.71+00:00
Matěj Prášek 20 Reputation points
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

I try to use below code to create folder in SharePoint DriveItem driveItem; var driveItemAdd = new DriveItem() { Name = folder.Name, Folder = new Microsoft.Graph.Models.Folder() { OdataType =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,007 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,202 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,562 questions
asked 2024-03-01T10:00:29.84+00:00
Jackie Dinh 0 Reputation points
0 answers

Can not create folder in SharePoint. (Upgrade MS Graph SDK 5.36.0 -> 5.44.0 version)

I try to use below code to create folder in SharePoint. DriveItem driveItem; var driveItemAdd = new DriveItem() { Name = folder.Name, Folder = new Microsoft.Graph.Models.Folder() { OdataType = "microsoft.graph.folder" } }; …

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,156 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,186 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,007 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,202 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,710 questions
asked 2024-03-01T09:55:11.3+00:00
Jackie Dinh 0 Reputation points
3 answers

Unable to update DOT NET Framework 4.7.2 from DOT NET Framework 4.6.2.

I am trying to update DOT net framework from DOT NET Framework 4.6.2. to 4.7.2 but I am unable to. I am getting the following error HRESULT 0x800f081e. This is on Windows server 2016. I need to install DOT NET Framework 4.7.2. In order to install SQL…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,745 questions
.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,101 questions
asked 2024-02-01T15:39:50.19+00:00
Evrard 0 Reputation points
commented 2024-03-01T09:42:25.8766667+00:00
Jiachen Li-MSFT 24,431 Reputation points Microsoft Vendor
0 answers

How to generate user defined PIN in a Miracast Receiver application in Windows 10 using Windows.Media.Miracast namespace ?

Hi All, I have created an application using the Miracast namespace that acts as a Miracast receiver. I have made it as per my requirements except for one thing and it's like this - Whenever any Miracast-supported Android device or Windows PC or Sender…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,802 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,218 questions
asked 2024-02-29T12:38:41.77+00:00
Himanshu Rohilla 0 Reputation points
edited the question 2024-03-01T09:41:08.91+00:00
Xiaopo Yang - MSFT 10,806 Reputation points Microsoft Vendor
2 answers

Pair to mac of .net maui causes an error.

environment Windows 10 Visual Studio 2022 latest version macOS Ventura Boot from external SSD Visual Studio 2022 for mac latest version XCode latest version When connecting with pair to mac, the following error finally occurs and connection is not…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,435 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 questions
asked 2023-04-14T01:05:18.18+00:00
TO 0 Reputation points
answered 2024-03-01T08:56:52.94+00:00
Peter Shu 0 Reputation points
0 answers

Visual Studio Update - Broken IL Stripping in Release Builld. NetMaui iOS

I have a Net Maui Blazor Hybrid app running Net7 compiled for both Android and iOS. This is a seasoned project that has always built and published with no issues. Its always been located in the same directory and none of the dependant libraries have…

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,323 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,435 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,610 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.
9,976 questions
asked 2024-02-29T19:06:34.31+00:00
Glenn Stretton 0 Reputation points
commented 2024-03-01T08:53:44.9233333+00:00
Glenn Stretton 0 Reputation points
1 answer

Import of type 'Color' from assembly or module 'System.Drawing.Primitives.dll' failed

I created a project with ASP.NET Visual Studio 2022 .NET Framework Version 4.8.1 I imported all .dll files from Framework version 4.8.1. Anything that has code referring to 'Color' generates the following error message. Error BC31091 Import of type…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,184 questions
asked 2024-02-29T17:21:07.35+00:00
Simon 226 Reputation points
answered 2024-03-01T08:46:38.6533333+00:00
Lan Huang-MSFT 23,306 Reputation points Microsoft Vendor