23,749 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Producing Word document with windows form, doesn't work for all PCs: System.Runtime.InteropServices.COMException (0x800A16CA)

Hello, I developed a windows form app to produce Word reports. At the beginning it worked fine on all the PCs producing well done documents, after I added the following chunk of code it stopped to produce the reports when executed on some PCs. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,819 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,117 questions
asked 2020-11-24T11:33:54.547+00:00
TRIACCA Marco 101 Reputation points
accepted 2020-11-25T11:20:29.077+00:00
TRIACCA Marco 101 Reputation points
1 answer

About image display in Xamarin forms

Does the processing time of the application change depending on whether the build action of the image file is used as an embedded resource or content? https://dotnetco.de/tips-on-performance-for-xamarin-forms-android-and-ios/ …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-25T07:48:57.337+00:00
TS44 81 Reputation points
answered 2020-11-25T11:07:58.883+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 67,781 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Expander and ForceUpdateSizeCommand

Could anyone please describe the ForceUpdateSizeCommand attribute for the Expander? I have this: <StackLayout BindableLayout.ItemsSource="{Binding VARIABLE, Mode=TwoWay}"> <Expander> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-24T15:54:38.577+00:00
jseffel 21 Reputation points
answered 2020-11-25T10:51:02.157+00:00
jseffel 21 Reputation points
0 answers

How to handle language specific dynamic delivery with Android App bundle?

I have some json files as embedded resources in my app. Those are like data_en.json, data_de.json, data_fr.json. When I publish my app as app bundle to google play store, is there a way to tell google those are languages specific for 4 languages that…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-20T02:56:25.953+00:00
Emil Alipiev 271 Reputation points
commented 2020-11-25T09:28:09.527+00:00
JarvanZhang 23,936 Reputation points
0 answers

StatusCode: 404, ReasonPhrase: Not Found', Version: 1.1

i need help i keep getting this error locally it works when posting an image through post man but from my xamarin forms app to the local iis server i get this error {StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 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,185 questions
asked 2020-11-24T07:34:04.987+00:00
Ahmad salim 1 Reputation point
commented 2020-11-25T08:54:51.43+00:00
Brando Zhang-MSFT 2,796 Reputation points Microsoft Vendor
0 answers

binding swift libraries giving error " module 'RealmSwift' not found"

Hi All, I am trying bind the native sdk framework to xamarin app. sdk is in swift language. i am following the link https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough for same. When i run the below code in terminal: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-23T14:21:00.26+00:00
sheetal naik 1 Reputation point
commented 2020-11-25T08:22:24.553+00:00
Nicole Lu-MSFT 96 Reputation points
1 answer One of the answers was accepted by the question author.

ToolBar Item Not Showing in Secondary (3 Dots) Xamarin.Forms UWP

Hello Everyone I Have Toolbar Items in my Xamarin.Forms Project its Working Good For Android , IOS. But in UWP Project the Toolbar items Not Showing in Secondary (3 Dots) its Showing As Buttons in Navigation Bar. and Toolbar Icon Not Working,But…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
Universal Windows Platform (UWP)
asked 2020-11-24T10:54:14.06+00:00
SimonGhost 256 Reputation points
commented 2020-11-25T06:55:51.087+00:00
Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
1 answer

List<T> to ObservableCollection<T>

Hi In my Xamarin app the page is bound to an ObservableCollection<T> but the remote Api is currently returning List<T>. What is the best way to handle this discrepancy? Should I change the backend Api to return…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-25T01:50:44.91+00:00
Y a h y a 416 Reputation points
commented 2020-11-25T06:12:27.74+00:00
LandLu-MSFT 21 Reputation points
1 answer One of the answers was accepted by the question author.

Is MCSD Certification is getting retired?

if MCSD ceritification is getting retired, what certification can i take up for getting certified in web development using .net,c#,html,css,javascript?

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
150 questions
asked 2020-11-24T04:25:33.217+00:00
Monika 21 Reputation points
accepted 2020-11-25T03:36:15.05+00:00
Monika 21 Reputation points
0 answers

Xamarin ios Location accuracy settings

I am using VS version 8.8.1 (build 37) for Xamarin iOS app development. I want to add iOS 14 location permissions - Privacy - Location Default Accuracy Reduced & Privacy - Location Temporary Usage Description Dictionary. However, I don't see them…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-23T23:46:06.317+00:00
MobileDev1600 1 Reputation point
commented 2020-11-25T01:30:26.587+00:00
JarvanZhang 23,936 Reputation points
3 answers One of the answers was accepted by the question author.

Permissions.ShouldShowRationale doesn't exist

In the document Xamarin.Essentials: Permissions https://learn.microsoft.com/en-us/xamarin/essentials/permissions?context=xamarin%2Fandroid&tabs=android The following line is included in a code snippet if…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-24T16:16:51.217+00:00
Don Glover 511 Reputation points
commented 2020-11-24T18:54:09.997+00:00
Don Glover 511 Reputation points
2 answers

How to access the displayCutout (safe Area) on Android in Xamarin Forms

Hey, we are developing a game based on skiasharp and Xamarin Forms. The SKCanvasView is in a Grid in and setup as fullscreen. To use the notch area we inplemented the following piece of code in the MainActivity of the Android project: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-23T19:58:07.22+00:00
Danilo 1 Reputation point
answered 2020-11-24T14:16:41.427+00:00
Danilo 1 Reputation point
1 answer One of the answers was accepted by the question author.

textbox like MS Word

is it possible to TextBox.Text to have differnt text style ? by text style i mean: diff font size, diff font style, diff font weight ... any help will be appreciated.

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
asked 2020-11-19T20:31:46.857+00:00
essamce 621 Reputation points
accepted 2020-11-24T14:10:32.603+00:00
essamce 621 Reputation points
0 answers

how to access app-scope resource dictionary by name

<Application x:Class="Soil.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" …

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
asked 2020-11-24T07:11:49.573+00:00
essamce 621 Reputation points
commented 2020-11-24T09:13:22.097+00:00
DaisyTian-1203 11,616 Reputation points
1 answer One of the answers was accepted by the question author.

C# WPF RegEx - only numbers and charactes in a range

Hello, string text = "[>[RS]06[GS]PTVK1281257[GS]21PR4A[GS]11D201632[GS]Q60[GS]18VLMDM5[GS]1TAFJH0010-1[GS]13E5a[GS]1PW12R789B[GS]4LCN[GS][RS][EOT]]"; const string regExprLPLayout = @"\b1P([A-Z0-9]{0,55})\b"; …

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
asked 2020-11-19T14:42:20.323+00:00
Markus Freitag 3,786 Reputation points
accepted 2020-11-24T07:32:34.11+00:00
Markus Freitag 3,786 Reputation points
1 answer

Unable to build solution using Visual Studio 2019 Xamarin

Hi, I am new Xamarin. I am facing a problem while build the solution. Following error is showing while building the project. Severity Code Description Project File Line Suppression State Error The "ResolveAssemblyReference" task failed…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-21T15:52:10.253+00:00
Ashish Dhar 61 Reputation points
answered 2020-11-24T05:22:42.417+00:00
Ashish Dhar 61 Reputation points
1 answer One of the answers was accepted by the question author.

error APT1000: Attribute "imageAspectRatioAdjust" already defined with incompatible format.

the following error comes out after changing the target platform from Android 8 to Android 9, 10 or 11. + updating dependencies + migration to AndroidX: \ obj \ Debug \ 110 \ lp \ 64 \ jl \ res \ values ​​\ values.xml (4): error APT1000: Found tag id…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-23T12:18:53.837+00:00
Александр Р 116 Reputation points
accepted 2020-11-23T23:58:16.113+00:00
Александр Р 116 Reputation points
1 answer One of the answers was accepted by the question author.

IIS compression intermittent

We have a conflict with our JavaScript minifier and IIS compression. The minifier recreates the file when the app pool resets and on other occasions. The zipped version of the file that was stored by IIS is occasionally not a complete file. We are…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,131 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,066 questions
asked 2020-11-19T18:30:38.573+00:00
Robert Crockett 21 Reputation points
accepted 2020-11-23T23:23:54.973+00:00
Robert Crockett 21 Reputation points
0 answers

Xamarin.ios app crashes on 14.2 when downloaded via MDM

When xamarin.ios app is downloaded via MDM it crashes immediatedly after startup. The app works fine when downloaded via apple store/testflight

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,288 questions
asked 2020-11-23T15:30:07.74+00:00
coder 1 Reputation point
commented 2020-11-23T21:56:52.9+00:00
Borisoprit 371 Reputation points
0 answers

Exponential forecast and Growth Ratio in ML.Net (ForecastBySsa)

I am using ML.Net for my machine learning project. My primary need is time series forecasting. For that, I am using ForecastBySsa method. This method works for a variety of data with different trends and seasonality, but in certain cases, it uses…

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
150 questions
asked 2020-11-23T18:38:53.863+00:00
sameer srivastava 6 Reputation points