23,773 questions with .NET-related tags

Sort by: Updated
1 answer

PresentationFramework problem

I'm developing an app on VS2022 C# .NET4.5.2 WPF upgraded to .NET4.8 After the upgrade when running the .exe file on WIN11 I get the following error: "Not possible to load th efile or assembly 'PresentationFramework', Version 3.0.0.0,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
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,667 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
322 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,096 questions
asked 2024-04-18T10:00:35.6533333+00:00
silvano diliso 0 Reputation points
edited the question 2024-04-19T05:15:46.7433333+00:00
Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
0 answers

How to create a custom keyboard in Xamarin?

Hello, What is the process for designing a custom number pad in Xamarin forms to be displayed in certain fields, while others still use the native Android keyboard for input? I'd like to avoid using axml as I am not familiar with it, and the default…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 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,197 questions
asked 2024-04-19T04:40:16.8166667+00:00
Immanuel D 0 Reputation points
0 answers

Xamarin Forms: Portable: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE when creating a PendingIntent

I am facing below issue when I updated the target platform of the Android to 34. Java.Lang.IllegalArgumentException: 'com.companyname.appname: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
asked 2024-04-19T04:31:05.6933333+00:00
Sreejith Sreenivasan 691 Reputation points
edited the question 2024-04-19T04:35:59.5933333+00:00
Sreejith Sreenivasan 691 Reputation points
0 answers

Report Viewer (.rdlc) print dialog box save to pdf option download file with different name in Firefox.

Hi Team, using ASP.Net web application report viewer page,Report Viewer (.rdlc) print dialog box save to pdf option download file with different name in Firefox. Thanks, Shaik Masthan Babu.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,790 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,197 questions
asked 2024-04-18T08:23:45.3966667+00:00
Shaik Babu 0 Reputation points
commented 2024-04-19T03:22:04.13+00:00
Lan Huang-MSFT 25,386 Reputation points Microsoft Vendor
1 answer

How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"

I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 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,197 questions
asked 2024-04-16T07:51:34.15+00:00
晅晢 廖 0 Reputation points
commented 2024-04-19T03:17:55.14+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,021 Reputation points Microsoft Vendor
0 answers

[MAUI] How to set the icon of a new window in MAUI? Including Android and Windows platforms

I need to open a new window on my Android device and set its icon, similar to a WeChat mini program, but I haven't seen any API documentation related to it in the official documentation that allows me to set its icon, so I want to ask if this is possible…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T01:43:45.9833333+00:00
studio XFE 25 Reputation points
commented 2024-04-19T03:17:43.4033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
1 answer

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,837 questions
asked 2024-04-18T03:19:31.0133333+00:00
Eduardo Gomez Romero 185 Reputation points
answered 2024-04-19T02:51:43.2633333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,021 Reputation points Microsoft Vendor
1 answer

Community toolkit install is not working

I have had community toolkit installed on this project for quite a while and now it gives the following error when I am trying to update: Severity Code Description Project File Line Suppression State Error NU1605 Warning As Error: Detected package…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-17T13:38:10.5+00:00
Lloyd Sheen 1,351 Reputation points
commented 2024-04-19T02:47:37.51+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
1 answer

Should I install an older version of Visual Studio to work on an old ASP.NET app?

I prefer to use Visual Studio 2022, because I've been working with newer, .NET projects. However, I may be assigned to do some maintenance on an older, .NET Framework ASP.NET WebForms application. I've been familiarizing myself with the app this morning…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
asked 2024-04-18T17:00:47.3866667+00:00
Falanga, Rod, DOH 60 Reputation points
commented 2024-04-19T02:47:04.26+00:00
Lan Huang-MSFT 25,386 Reputation points Microsoft Vendor
1 answer

Como posso baixar software da Microsoft de forma segura e confiável?

Explore fontes confiáveis para downloads seguros de software e garanta uma experiência tranquila com nosso site, oferecendo opções de baixar sem complicações!

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
asked 2024-04-18T15:56:03.63+00:00
crackeialivre 0 Reputation points
commented 2024-04-19T01:33:12.3766667+00:00
Lan Huang-MSFT 25,386 Reputation points Microsoft Vendor
0 answers

Laptop stuck in a log in loop

I have a surface pro 9, and sometimes when I log into it (i use my face ID or my PIN) it takes me to the main screen, but suddenly it flips back to the login screen and I have to log in again. It doesn’t do this often, but last night it all of a sudden…

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
55 questions
.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.
89 questions
asked 2024-04-18T21:05:10.0666667+00:00
Gameela 0 Reputation points
edited the question 2024-04-19T01:21:41.1366667+00:00
Jiale Xue - MSFT 30,581 Reputation points Microsoft Vendor
1 answer

Recognize whether the user is logged in

In Windows 10 and Windows 11, apps that are started automatically at startup are already started before the user has logged in. In Windows 8.1, such automatically launched apps were only started after the user had logged in. At least this is the case on…

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,667 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,197 questions
asked 2024-04-18T15:03:37.3466667+00:00
Heiko 1,191 Reputation points
edited the question 2024-04-19T00:57:46.5833333+00:00
Roy Li - MSFT 31,551 Reputation points Microsoft Vendor
3 answers

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 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,573 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 40 Reputation points
commented 2024-04-19T00:40:40.87+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,016 Reputation points Microsoft Vendor
1 answer

Net6 C#, Linux vs Windows, different floating point calculations?

I am doing floating point calculation with doubles with C# under Net6 (runtime Net 6.0.2) on Windows (Windows Server 2019 Datacenter) and Linux (ubuntu 20.04), and I get different results. I did this : double a = 350668.75030235935; double b =…

.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,117 questions
asked 2022-11-21T09:11:23.04+00:00
Omar El Hassani 1 Reputation point
edited a comment 2024-04-18T22:30:22.9333333+00:00
Bruce (SqlWork.com) 54,866 Reputation points
2 answers

Appropreate message to initiate window move with the mouse button up

Unfortunately I was asking the wrong way. I know how to move the form by setting its Location property. I have a working solution without p/invoke on github although quite convoluted for my taste. My question is "can I avoid this convolution by…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,411 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,197 questions
asked 2022-12-17T11:19:29.73+00:00
adamstyl 1 Reputation point
edited an answer 2024-04-18T22:03:36.0866667+00:00
Gavin Landon 0 Reputation points
2 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,686 Reputation points
answered 2024-04-18T21:53:18.57+00:00
Bruce (SqlWork.com) 54,866 Reputation points
0 answers

@bind-Value:event="oninput" does not work for InputText blazor component?

I am new to Blazor and I am having trouble understanding why the oninput event does not work for the InputText Blazor component but works for the HTML input tag. I am also getting errors, which I do not understand. I am using .NET 8 Blazor Server app.…

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,374 questions
asked 2023-12-21T02:04:44.3066667+00:00
PrateekArora-1569 5 Reputation points
commented 2024-04-18T21:31:44.4433333+00:00
Bruce (SqlWork.com) 54,866 Reputation points
1 answer

Need help with a problem in my Blazor .NET 8 server application

I'm facing an issue and I'm not sure who to ask for help. Could you please provide me with some suggestions? I've been unable to find my mistake despite my research.I've implemented user authentication in a Blazor .NET 8 server application, where I'm…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,342 questions
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,374 questions
asked 2024-04-18T11:18:23.39+00:00
Esma 0 Reputation points
edited an answer 2024-04-18T21:22:02.3466667+00:00
Bruce (SqlWork.com) 54,866 Reputation points
2 answers

Trying to figure out why ocx file wont load form.

Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,820 questions
asked 2024-04-15T19:15:47.7333333+00:00
Zach M 0 Reputation points
commented 2024-04-18T20:11:38.12+00:00
RLWA32 40,021 Reputation points
1 answer

How to contribute to MAUI Development/Bug fixing

Hi everyone, I'm developing some apps with .NET MAUI. I'm facing some issues related for example with CollectionViews and Labels. I would really enjoy being able to see the root cause of this issues in MAUI source code and try to fix them and contribute…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,837 questions
asked 2024-04-18T10:15:15.3166667+00:00
Pereira, Bruno 0 Reputation points
answered 2024-04-18T17:03:20.94+00:00
Bruce (SqlWork.com) 54,866 Reputation points