How to prebuild C# generics before runtime
Hi, Currently, C# generics are built at runtime. First time, generics execution is very slow because runtime compilation. How to avoid runtime compilation...how to get target x64 or x86 binaries where generics are already compiled to native binary. …
Visual Studio
.NET CLI
C#
.NET Runtime
Not Monitored
Skiasharp - Detected Selected Touch Point
Hi In this example there are four touch points TouchPoints[0], touchPoints1, touchPoints[2] and touchPoints[3] …
Xamarin
ZIndex Changes Unexpectedly
I have a DataTemplate containing several basic elements (a Grid containing Label(s) and Button(s)). Some of the Label(s) are on top of the Button(s) (they have the same Grid.Column & Grid.Row). However, at certain points when I click the Button the…
Xamarin
CollectionView: change selected Label textcolor
CollectionView Selected Item Highlight Colour In this example is it possible to change the Grid background color when the items is selected. I would like to change the grid background color AND the Label TextColor Is it possibile with…
Xamarin


How can I use IDisposable in a class derived from a class that's implementing IDisposable already?
I'm trying to understand how Finalizers and IDisposable are supposed relate to each other in a class hierarchy. Given I have a class that's deriving from a base class, both classes have unmanaged resources. How would I implement Finalizers and…
C#
.NET Runtime
Crashes on Testflight launch
Xamarin project on windows visual studio. Trying to use testflight and eventually apple store. The crash occurred on my 8th Gen Ipad The app crashes upon launch on testflight. No pages just immediately crashes and generates log. I assume this is a…
Xamarin
What should be binding in WCF Client for calling SOAP web service with OAuth Authentication
Hello, I am having WCF client which consumes SOAP based web service which has OAuth authentication. My WCF service gets consumed by some other service but my issue is about authentication when it consumes web service. My WCF client, consumes web…
.NET
Use variable from Library in Azure DevOps for DOCKERFILE
I have a pipeline on Azure DevOps and this is the YAML file. trigger: - main resources: - repo: self variables: # Container registry service connection established during pipeline creation dockerRegistryServiceConnection: 'xxx' imageRepository:…
.NET


ListView cannot display text ,ItemsSource from another class.
i make 3 class --values from following class public class SearchList { public string Code { get; set; } public string Unit { get; set; } public override string ToString() { return Code; } …
Xamarin

Alert Dialogs Show in White Text and White Background Color in Light Mode Xamarin.Forms Android
Hello Everyone :) i have issue in My Xamarin.Forms Android App When i Change My Phone to Dark Mode the Dialogs its showing perfect but when i use Light Mode The Dialogs will show as white text also buttons and background color so how to fix this also i…
Xamarin


Problem with logging in and rebuilding in Xamarin (Connect to Internet to proceed)
Hi everyone. Today I tried to build my app and sadly I was not able to log in into my Xamarin account because of this problem: I checked my internet connection and It was fine. As you can see I have turned off firewall so I think the problem is…
Xamarin
Visual Studio
The result of a query cannot be enumerated more than once. even I user ToList.
I get following error on EF6 when trying to go over list for different output. I have read that we have to use ToList to solve this. But in my case, even if I user new variable at each stage, I am getting same error. below is sample code for the same …
.NET
X.PagedList.Mvc.Core -Version 7.6.0
X.PageList.Mvc.Core is not installing and giving error as Install-Package : Could not install package 'X.PagedList.Mvc.Core 7.6.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does…
.NET
How to play audio/video in WebView from MemoryStream on Android?
Hi, I'm building a Xamarin.Forms app and want to play video and audio files from MemoryStream in a WebView (background: all content will actually be stored encrypted on the device in FileSystem.CacheDirectory). On UWP this works fine using an…
Xamarin
Where does it put my text file in on android?
Here's my MainPage.xaml: <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:VM="clr-namespace:Emon" …
Xamarin

.net tableadapter.update does not return all rows from db.
Using tableadapter on multiuser system Example: user1 adapter.fill - fills table user 2 adds new row to table - adapter.update user1 changes a row in table - adapter.update user1 does not see the row, user2 has added What to do ? mvh ravnø
.NET

How do I resolve this Xamarin iOS Build Error in Visual Studio 2015, "Xamarin.Messaging.Exceptions.ClientDisconnectedException"?
After moving to a new Windows laptop, I am no longer able to build Xamarin iOS projects in Visual Studio 2015. With the same MacBook, I was able to build Xamarin iOS projects in Visual Studio 2015 on my old Windows laptop. Due to customer requirements,…
Xamarin
SQlite Xamarin forms Visual Studio 2019 Local Database
Hiiiiiiiiiii I designed an app that I published in the google play store The app uses aLocal database (SQlite) to enable the user to register once and use the app for a limited period of 1 year only. But... the problem is that when a user…
Xamarin
SQL Server
C#
Enable NFC programmatically on Android device
Hi, I'm trying to work with the NFC device and I got to the step where I have to enable the NFC programmatically. I've made a lot of research but I couldn't find anything that works. For example, if you want to enable the Bluetooth device on android…
Xamarin
Commands' canExecute isn't evaluated
In my MainPage.xaml I've these: <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:VM="clr-namespace:Emon" …