24,960 questions with .NET-related tags

Sort by: Updated
0 answers

ClickOnce won't run

I am trying to publish a Windows desktop application via ClickOnce (something I have done in VS2017 and 2019 many times). The publish step completes and the package is built without issue but when I try and run the setup.exe it fails and the log…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
asked 2024-07-19T08:23:57.7066667+00:00
Gegg-8342 1 Reputation point
edited the question 2024-07-19T10:44:59.8833333+00:00
Anna Xiu-MSFT 27,811 Reputation points Microsoft Vendor
1 answer

How can I use the Android Exoplayer to play videos?

Currently I use the Xamarin MediaManager to play videos: https://github.com/Baseflow/XamarinMediaManager Is it possible to use the Android Exoplayer instead to play videos? I want to find out if the black screen that appears before a video is played will…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-17T12:28:29.27+00:00
Kim Strasser 836 Reputation points
commented 2024-07-19T09:46:04.1633333+00:00
Kim Strasser 836 Reputation points
1 answer

Media file picker features in .NET MAUI like in Xamarin Forms

Hi, Is there any way to compress the image and remove the metadata option for the media picker in MAUI like it had in the below package? https://github.com/jamesmontemagno/MediaPlugin

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-15T08:47:32.7+00:00
Chinmay Dole 120 Reputation points
commented 2024-07-19T09:45:45.0766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
0 answers

How to Host the Firestore Identity File Securely?

I am working on a WPF project with C#, and I am using Firebase Firestore for which I need to host the identity JSON file on disk. However, I want to ensure that users cannot access this file or the Firestore services using the information inside it. What…

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,710 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,629 questions
asked 2024-07-19T09:13:39.21+00:00
fatih uyanık 80 Reputation points
edited the question 2024-07-19T09:44:37.4366667+00:00
Jiachen Li-MSFT 29,026 Reputation points Microsoft Vendor
1 answer

MAUI .NET 8 - Xamarin Migrated project

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In my project, I used RelativeLayout for UI design on all the pages, now this RelativeLayout is outdated in MAUI. I used the Compatability namespace to use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-19T05:31:32.3766667+00:00
Aneetha 45 Reputation points
commented 2024-07-19T09:32:28.02+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,936 Reputation points Microsoft Vendor
1 answer

MT1007 failed to launch the application

I use .net ios(NOT xamarin and NOT MAUI). xcode 14(my mac do not support the newst version). net ios 7.0 I first create samle bundle project and install in in my physical device and I can tap on it to run it. but I can not do it in VS2022. the target is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-16T09:36:53.2+00:00
mc 4,111 Reputation points
commented 2024-07-19T09:19:29.0266667+00:00
mc 4,111 Reputation points
2 answers One of the answers was accepted by the question author.

How can I rotate the iOS simulator?

Only the screen of the simulator rotates instead the entire simulator when I click on the rotate buttons: Is it possible to rotate the entire simulator?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,873 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-17T11:55:26.3633333+00:00
Kim Strasser 836 Reputation points
accepted 2024-07-19T09:17:48.6766667+00:00
Kim Strasser 836 Reputation points
1 answer One of the answers was accepted by the question author.

Can not apply style written in c#

Hello, i have created style in C# code and tried to apply this style to the frame, named ControlsGroupMainFrame4 (written in XAML). Tried both WinUI and Android apps. Both apps do not throw any error and start fine, but the style is not applied. Style…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-17T18:34:26.77+00:00
AAA BBB 41 Reputation points
commented 2024-07-19T09:02:16.1966667+00:00
AAA BBB 41 Reputation points
1 answer

MAUI App Compatibility Issues on Oppo and Vivo Y28 Devices

I have developed a MAUI application that includes pages: Signup, Login, and Reset Password. These pages function correctly on various devices, but we are encountering specific issues on Oppo and Vivo Y28 devices. On the Oppo and Vivo Y28 devices, the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-08T14:34:00.9266667+00:00
Sakshi Poojary 95 Reputation points
edited an answer 2024-07-19T08:44:33.97+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,936 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Exporting and Importing PowerApp Forms for SharePoint Lists Using C# .NET Core

Hi Team, I have a custom PowerApp form for one SharePoint site list. I need to create a new PowerApp form similar to the previous one for a new site list. How can I export the previous list PowerApp and import it to the new list using a C# .NET Core…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,253 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,629 questions
asked 2024-07-12T06:55:39.31+00:00
ArunKumar Arumugam 40 Reputation points
accepted 2024-07-19T08:42:09.78+00:00
ArunKumar Arumugam 40 Reputation points
3 answers

Connection to SQL Server from .NET Core on Ubuntu fails with SSL/TLS handshake error

I have a .NET Core console application that connects to a SQL Server database. The application works fine on Windows, but I'm encountering an SSL/TLS handshake failure when running it on an Ubuntu 22.04 LTS VM  class Program { static void Main() …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,328 questions
asked 2024-07-18T15:56:42.1666667+00:00
Ansh 0 Reputation points
commented 2024-07-19T08:37:43.9566667+00:00
Hongrui Yu-MSFT 945 Reputation points Microsoft Vendor
1 answer

MAUI .NET 8 iOS - Span TapGestureRecognizer not working

I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. In iOS, the span text TapGestureRecognizer is not working. gesture_Tapped event is not triggered. var sp2 = new Span { Text = "Click here"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-19T05:10:43.3166667+00:00
Aneetha 45 Reputation points
edited an answer 2024-07-19T08:37:16.0533333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
1 answer

How to archive and publish in Visual Studio Mac and MAUI

Hi, I have a MAUI app that i am migrating from Xamarin. Am using Visual Studio Mac for this for now until I can find a suitable replacement. I am ready to release to app store and google play, previously I would do Build > Archive for Publishing and…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,873 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-12T08:17:42.0233333+00:00
SSB 111 Reputation points
commented 2024-07-19T08:27:46.0766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
1 answer

How to use "resx" in a .NET MAUI library?

Hello, I migrated my shared Xamarin project to .NET MAUI Library. I need to use translations that are stored there. They need to be accessible from this library and from the MAUI app project that references this library. How can I configure my csproj to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-18T20:16:35.32+00:00
Wojciech Kulik 20 Reputation points
commented 2024-07-19T08:02:52.42+00:00
Wojciech Kulik 20 Reputation points
1 answer

What is the tentative End of Support date for .NET Framework 4.8 and 4.8.1 ?

Can you please share the tentative end-of-support dates for the .NET framework 4.8 and 4.8.1

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
asked 2024-07-19T06:29:19.35+00:00
Suneel Kumar Nadavati 0 Reputation points
edited an answer 2024-07-19T07:49:15.4566667+00:00
Hui Liu-MSFT 47,336 Reputation points Microsoft Vendor
1 answer

UWP App support Windows Notifications for Sideload or Non-Store Apps

We built two packages for the UWP app , one is a sideload and another a windows store package. Windows store app support windows notification because its used same publisher id which has configured in App store. But side load app does not receive windows…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
Universal Windows Platform (UWP)
asked 2024-07-17T18:34:06.3+00:00
Saravanan Rajaram 0 Reputation points
commented 2024-07-19T07:32:30.24+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 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,629 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 5 Reputation points
commented 2024-07-19T07:15:09.6133333+00:00
Ravi Khandale 5 Reputation points
1 answer

The display of my Android device gets black for a short time before the video gets displayed

The display of my Android device gets black for a short time before the video gets displayed. I use this code to play a video and I don´t know why the display gets completely black for 1-2 seconds before the video gets played. It´s not bad that the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,873 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-16T13:07:13.0066667+00:00
Kim Strasser 836 Reputation points
commented 2024-07-19T06:54:58.6833333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,911 Reputation points Microsoft Vendor
0 answers

Remote connection to Mac installs CorePackage.pkg and MobileDevices.pkg every time.

Every time I launch Visual Studio (17.10.4) and try to connect to my Mac machine remotely to deploy and debug iOS applications using MAUI, it re-installs CorePackages.pkg and MobileDevices.pkg files, which take around 8-9 minutes to finish. It's pretty…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-18T09:17:36.1966667+00:00
Burak Kose 0 Reputation points
commented 2024-07-19T06:30:32.23+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
1 answer

MAUI MediaElement: How to Include Access Token in Subsequent Video Requests?

I'm using MAUI's MediaElement to stream a video from a server. The video is being served as a static resource, and it's protected, so I need to send an access token when requesting the video. I have the initial URL to fetch the .m3u8 file as…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-18T01:59:48.6966667+00:00
Manjunath Vadigeri 0 Reputation points
answered 2024-07-19T05:42:04.0466667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,911 Reputation points Microsoft Vendor