24,773 questions with .NET-related tags

Sort by: Updated
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,319 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,341 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,511 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,319 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.
154 questions
asked 2020-11-23T18:38:53.863+00:00
sameer srivastava 6 Reputation points
2 answers One of the answers was accepted by the question author.

Creating buttons in a for loop

Hi all, I'm new to Xamarin, so sorry if the question is a repeat or explained badly. What I'm aiming to do is to create and display a number of buttons for each keyphrase found in a phrase and then have the selected keyword spoken back out of the device…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-23T11:11:57.863+00:00
lhtyex123 21 Reputation points
commented 2020-11-23T18:15:29.307+00:00
Ahmad 81 Reputation points
1 answer One of the answers was accepted by the question author.

Multiplatform .NetStandard library with native binding

I'm trying to create a multiplatform .NetStandard library from a Xamarin.Forms application i have made. In the Xamarin.Forms application i used dependency injection, which i'm assuming from what i've read is not available for .NetStandard libraries so…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-23T15:10:23.163+00:00
noobsoftware 251 Reputation points
accepted 2020-11-23T16:56:44.31+00:00
noobsoftware 251 Reputation points
1 answer One of the answers was accepted by the question author.

Winform: Two different datagridview rows getting selected when one should be selected

I am working with winform project. i have two datagridview which has same number of columns and same structure. frist column is checkbox column. here is code to bind two datagrid with same kind of data. List<AllGroupNames> grpDtl =…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
asked 2020-11-23T13:18:58.047+00:00
Sudip Bhatt 2,271 Reputation points
accepted 2020-11-23T15:54:14.41+00:00
Sudip Bhatt 2,271 Reputation points
0 answers

How to communicate with devices using bluetooth without pairing from same Xamarin app

I am new to Xamarin development. I wanted to know is it possible to read data using bluetooth among devices without pairing? I will install Xamarin app on multiple devices. This app will store some data like, user name, email, phone number etc. I want…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-23T10:41:03.987+00:00
Mihir Yelamanchili 21 Reputation points
2 answers

Can't animate Color property of SolidColorBrush

Hello, Is there a way to animate Color property of SolidColorBrush from color1 to color2? Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-19T19:34:38.587+00:00
Polat Pınar 26 Reputation points
commented 2020-11-23T10:31:37.087+00:00
JarvanZhang 23,951 Reputation points
1 answer One of the answers was accepted by the question author.

How to force Treeview scrollbar thumb scroll up/down when dragging any node

My treeview has huge node. i made possible to drag and drop the node. when i am on last node and try to drag that node to upward then treeview scrollbar not going up. so guide me how could i force treeview scroll bar go up when i will drag bottom nodes…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 questions
asked 2020-11-22T19:22:04.863+00:00
Sudip Bhatt 2,271 Reputation points
commented 2020-11-23T09:05:58.053+00:00
Sudip Bhatt 2,271 Reputation points
1 answer

Using validation rules to disable a button for multiple textboxes

Hi : I have multiple textboxes that implement Validation Rules which will verify if entries are less than 99.9 and must not be charactrers. I know i have to tie it with "CanExecute" with the Button (Save Button for…

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,706 questions
asked 2020-11-23T03:06:57.667+00:00
Simon Ong 21 Reputation points
answered 2020-11-23T08:12:09.997+00:00
DaisyTian-1203 11,621 Reputation points
1 answer

dynamic tabbar in xamarin.forms shell?

<ShellContent Title="title" Icon="icon.png" Route="IndexPage" ContentTemplate={DataTemplate local:IndexPage} /> can it be changed dynamiclly? the title icon route and contentTemplate?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-23T02:18:59.647+00:00
mc 4,006 Reputation points
answered 2020-11-23T08:10:44.953+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
0 answers

Change field text color(red) on Main Entity and Subgrid using Javascript (Unified Interface)

I am currently using Dynamic 365 Unified Interface whereby on the javascript web resource which is using XMLHttpRequest(Retrieve data) to change some text field color on certain tabs and subgrid entity. May I know what will be the correct syntax on…

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,569 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,136 questions
asked 2020-11-20T02:59:23.587+00:00
Kweh Hong Yang 1 Reputation point
commented 2020-11-23T08:06:52.07+00:00
Timon Yang-MSFT 9,576 Reputation points
1 answer

Calling async function from unmanaged code in the main thread

Hi there, I have an unmanaged application (not written with Visual Studio) that needs to call WCF Services from within the main thread. Additionally, this app also acts as a COM server with all COM objects in the STA, where the main thread of the app…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
asked 2020-11-19T18:38:20.427+00:00
D Sanchen 1 Reputation point
answered 2020-11-23T07:55:42.373+00:00
D Sanchen 1 Reputation point
1 answer

Got a "System.AppDomainUnloadedException: The application domain in which the thread was running has been unloaded" error

We're working with EF 6 (I think it's EF 6.1.3, but not sure), in a WPF app using .NET Framework 4.5.2. We use .EDMX files for specifying our EF models. Yesterday we added three new tables to the database, so I got into the EDMX file designer, to try…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,571 questions
asked 2020-11-20T18:32:58.677+00:00
Rod At Work 866 Reputation points
answered 2020-11-23T06:21:28.413+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer

Find Parent Row and Change the Height

Hi, I have this XAML: <Grid Margin="15"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-20T20:17:48.723+00:00
jrahma 111 Reputation points
answered 2020-11-23T06:09:32.95+00:00
JarvanZhang 23,951 Reputation points
2 answers One of the answers was accepted by the question author.

How To Add Reveal Highlight in UWP Xamarin.Forms

Hello Guys I Want to Add Reveal Highlight in Frame Control in UWP Project im Using Custom Render in Xamarin.Forms

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-22T15:07:23.443+00:00
SimonGhost 256 Reputation points
commented 2020-11-22T19:36:24.17+00:00
SimonGhost 256 Reputation points
5 answers One of the answers was accepted by the question author.

Xamarin Forms | Master-Detail Page | Menu items do appear in preview but not in app

Hi everyone, I´m having a little trouble with the Master-Detail Page in XF. I started to use the example given from the following resource: https://learn.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/navigation-masterdetailpage/ …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,319 questions
asked 2020-11-21T02:16:28.683+00:00
Christian Hose 21 Reputation points
answered 2020-11-22T15:06:29.203+00:00
Lance 296 Reputation points MVP
1 answer One of the answers was accepted by the question author.

define style in code

< Canvas.Resources > < Style TargetType = "{x:Type Path}" BasedOn="{StaticResource "{x:Type Path}> < Setter Property = "Stroke" Value = "Black" /> < Setter Property…

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,706 questions
asked 2020-11-21T14:40:31.383+00:00
essamce 621 Reputation points
accepted 2020-11-22T11:08:27.837+00:00
essamce 621 Reputation points
1 answer One of the answers was accepted by the question author.

Why does ToolStripMenuItem OnPaint draws only the first item?

Hello, I'm trying to add white space within the item's text in a ContextMenu for that the string after the space is always left aligned and always stands under each other in each item. What I'm trying to do in the following code: I add the items to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 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,569 questions
asked 2020-11-21T18:22:40.6+00:00
chris harper 96 Reputation points
accepted 2020-11-21T22:43:07.78+00:00
chris harper 96 Reputation points