24,641 questions with .NET-related tags

Sort by: Updated
0 answers

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 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,793 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,604 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
334 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
commented 2024-06-25T12:58:08.3033333+00:00
R M 0 Reputation points
0 answers

No compatible code running on the thread

I know what is causing this, but the solution evades me, because many of the answers are "I upgraded to the next VS version", which is not helpful. What is causing this: I have a class (record) that overrides the AutomationId property of a UI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T14:09:08.9533333+00:00
Russell Hires 0 Reputation points
commented 2024-06-25T12:09:00.42+00:00
Russell Hires 0 Reputation points
1 answer One of the answers was accepted by the question author.

Connecting to databricks using .Net

Hello Team, Is it possible to connect to Databricks and perform CRUD operations on catalog schema tables and Delta tables using .NET? If so, what approach is needed to connect to Databricks using JDBC or ODBC? Are there any specific libraries in Visual…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,034 questions
asked 2024-06-21T15:59:05.22+00:00
Nagesh CL 621 Reputation points
commented 2024-06-25T11:45:56.2666667+00:00
Nagesh CL 621 Reputation points
2 answers

ocelot gateway deployment in .net core

I have created microservice based architecture with Ocelot api gateway, it's working in local environment but i am facing issue in deployed on IIS window server. Application is not starting on iis

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,312 questions
asked 2024-06-24T09:53:25.1666667+00:00
Kelath, Deepak IDAP1X 0 Reputation points
commented 2024-06-25T11:14:33.12+00:00
Kelath, Deepak IDAP1X 0 Reputation points
0 answers

Domain user getting: The sign-in method you’re trying to use isn’t allowed

Domain user getting: The sign-in method you’re trying to use isn’t allowed I'm troubleshooting a problem with a domain user who when trying to log in to his domain account gets the message "The login method you are trying to use is not…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,106 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,217 questions
Microsoft Configuration Manager
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365 Development
Microsoft Copilot for Microsoft 365: Microsoft 365 Copilot refers collectively to Copilot experiences within Microsoft 365 applications.Development: The process of researching, productizing, and refining new or existing technologies.
83 questions
asked 2024-06-25T10:51:43.5766667+00:00
FALAK MOHAMED ALI 0 Reputation points
2 answers

How Can I track the Last DPI which is sent by WM_DPICHANGED in WPF?

I want to scale my WPF application according to available screen DPI. I know there Per Monitor DPI aware available but that are completely different what I want to achieve. I want to disable scaling for my WPF application even if windows has some scale…

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,700 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,488 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,534 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,604 questions
asked 2024-06-23T21:10:17.6933333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-06-25T10:34:19+00:00
MERUN KUMAR MAITY 531 Reputation points
1 answer

Problem with rewrite the Backgrounding event

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/1690214/register-close-button-in-mac All my work in pages stop working. Working with http + tasks. it fire the close button event and close the app. Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-18T06:41:00.6+00:00
Dani_S 3,126 Reputation points
edited a comment 2024-06-25T10:32:42.0566667+00:00
Dani_S 3,126 Reputation points
0 answers

Sharpie Binding Error.

Hai, I'm trying to bind an objective C/Swift ios static library with maui binding project. I'm getting the following error when i use the command line to generate the binding for me. It is not very clear as to what is causing is error. Kindly guide me…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
asked 2024-06-06T05:55:04.53+00:00
Joel Leo 0 Reputation points
commented 2024-06-25T10:21:11.65+00:00
Joel Leo 0 Reputation points
0 answers

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.

I was running VS 2017 and today I installed VS2019 and after dotnet version changed from 2.1 into 5.0.301. Currently this machine has 2017 and 2019 version. Also I have had created a project in 3.1 . When I run the project in VS 2019 , it brings…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,312 questions
asked 2021-06-25T15:49:15.2+00:00
Polachan Paily 221 Reputation points
commented 2024-06-25T09:56:22.71+00:00
AmirKorom 0 Reputation points
2 answers

view and print pdf in .net maui

Hello, I would need to be able to view and print a pdf that is hosted on a server. The url of the pdf will be sent to the app. To view it I am using a Webview with the following prefix as Source: pdfview.Source =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-14T05:38:19.0766667+00:00
shadeveloper 20 Reputation points
answered 2024-06-25T09:46:15.3933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor
0 answers

How to find where .pkg file store the installed app

I Use the following command to create a .pkg: .NET CLICopy dotnet Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the bin/Release/net8.0-maccatalyst/publish/ folder. If you publish the app…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-25T09:23:23.6533333+00:00
Dani_S 3,126 Reputation points
0 answers

Azure Data Factory SFTP Linked Service: Failed to read binary packet data! (ProtocolError)

Hi everyone, I'm facing a problem with a SFTP server, where some restrictions are applied to avoid the usage of RSA Keys with SHA1 signature. I can connect without any problem to the SFTP server using WinSCP. There are no network restrictions so I can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,948 questions
asked 2024-06-17T09:23:48.5933333+00:00
Paul Hernandez 631 Reputation points Microsoft Employee
commented 2024-06-25T09:17:10.3933333+00:00
phemanth 7,595 Reputation points Microsoft Vendor
0 answers

How to run background tasks in .net Maui Windows App

Greetings, I am trying to run a back ground task in my .net Maui windows applicaion. I tried using IBackgroundTask interface. The task is registerd successfully, but it does not run when triggred. I've tried the same exact code with UWP (Blank UWP for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-25T09:10:41.27+00:00
Iyad Alomar 0 Reputation points
edited the question 2024-06-25T09:16:56.19+00:00
Iyad Alomar 0 Reputation points
1 answer

Issues in running the MAUI app in Macbook

We created a MAUI app using version .Net8.0. We are trying to debug/run the app by connecting Visual Studio to Mac, but we are encountering issues debugging the app. The pipeline is functioning as expected. Specifically, we're facing an issue with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-25T05:57:13.5833333+00:00
Srilekha Chowdary 40 Reputation points
commented 2024-06-25T09:15:32.01+00:00
Patil, Sunil 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to refresh the database connection in WPF application.

I have a Oracle19c database is connected to 4 machines having WPF applications with MVVM pattern and follows entity frame work. So from this following query SELECT MACHINE FROM v$session WHERE USERNAME = 'C##SAN' AND STATUS = 'ACTIVE'; and also using…

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,700 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,793 questions
asked 2024-06-19T04:59:41.0466667+00:00
Santhosh Badam 20 Reputation points
accepted 2024-06-25T09:15:25.8666667+00:00
Santhosh Badam 20 Reputation points
1 answer

publish app in mac

Hi, How do i publish my app in mac ? In windows i did: dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-05-29T07:47:18.4366667+00:00
Dani_S 3,126 Reputation points
commented 2024-06-25T08:53:22.6066667+00:00
Dani_S 3,126 Reputation points
1 answer

How to inherit form in .net design time (there is no inheritance picker)?

How can I correctly inherit from some template form at design time in VS, on .net? In .net framework there was Inheritance Picker but I do not find it in .net 8.0. When I create simple inheritance from another form, like this: public partial class…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 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,534 questions
asked 2024-06-23T12:50:32.3366667+00:00
Slobodan Krejaković 36 Reputation points
commented 2024-06-25T08:33:31.68+00:00
KOZ6.0 6,300 Reputation points
1 answer

How can I use the native iOS AVPlayer to play videos?

I want to use the native iOS AVPlayer to play videos in full screen when the user taps on a button in my game. In addition, I want to sometimes display a video when the user reaches a certain point in my game. Currently, the video is displayed in full…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T08:48:36.4966667+00:00
Kim Strasser 751 Reputation points
edited an answer 2024-06-25T08:31:18.0033333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,071 Reputation points Microsoft Vendor
0 answers

Regarding APP ICON

I have a icon which is square in shape, I want it to fit without showing background. In the below screenshot, My icon looks like webview app icon, I want it to show like maps app icon irrespective of icon outline. I have a square shaped outline in which…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,093 questions
asked 2024-06-21T04:52:31.8233333+00:00
Keerthana Krishna 60 Reputation points
edited a comment 2024-06-25T08:30:07.53+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,051 Reputation points Microsoft Vendor
1 answer

How do you use the 26100 SDK with .NET?

Using the latest visual studio, all current updates, build system is OS version 22621, deploying to OS version 26100. 26100 SDK is installed from Visual Studio installer. Create a blank "WPF Application" project from Visual Studio Target…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,548 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,700 questions
asked 2024-06-21T20:42:25.8866667+00:00
yoyodyne01 46 Reputation points
commented 2024-06-25T07:55:22.8833333+00:00
Hongrui Yu-MSFT 770 Reputation points Microsoft Vendor