Content
Suddenly throwing The name 'nameof' does not exist in the current context
Hi, Why my app suddenly throwing the below error: /Users/jassim/Projects/MyApp/MyApp/Microsoft.Maui.Controls.SourceGen/Microsoft.Maui.Controls.SourceGen.CodeBehindGenerator/Mobile_MemberDetails.xaml.sg.cs(67,67): Error CS0103: The name 'nameof' does not…
Why can't I use reference a TableAdaptor that I've created.
I am trying to write a simple ASP.NET application to send out a newsletter, using data from a SQL Server database. To access the database I created a tableadaptor in object Group.xss. This .xss (data designer) window looks as I would expect. I have…
How to debug Xamarin app on my phone
I used to be able to do this but now my debugging choices are Pixel 5 Pie. I can no longer debug on my device. Why?
.NET MAUI Chips
Hi, How can i have chips or tags for my app? I tried below using ChatGPT but it does not work. <?xml version="1.0" encoding="utf-8"?> <NavigationView xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …
Upload file to users onedrive under same domain
we want to develop a web app from which we can upload files to student's one driver under our Azure domain ( Iwht out student credentials). for this we need a list of all students, then we upload particular files to each student depending upon their…
Why is Microsoft.CSharp.dll not signed using VS Mac?
If building a solution targeting an iPhone directly on a Mac or remotely via the Mac from a PC, the following errors are encountered. However, building the same code directly to the iPhone, it succeeds. Both VS's are latest versions with latest updates.…
Use ML.net to recognize patterns (as trained into model with multivariate time series CSV) on a testing CSV (same format as training model)
I have train'g & test'g CSVs with a simple stock market format: DateTime,Open,Close,Up,Down,Mov_Avg, ... ,RecognizablePattern. Using all of the attributes as features and the RecognizablePattern (manually entered "1" for patterns to be…
How to draw an outline of a region in graphics in .net core?
How to draw an outline around a Region that made by union and intersection between shapes like Rectangle and Ellipse. Note I wanna draw only the outline not fill the entire region with color. public class ShapeVM { public List<Point>…
porting xamarin forms renderer to .net mai handlers
Hi, I am working on migrating xamarin forms projcect to .net maui. i have followed below steps to migrate xamarin forms project changed forms, ios, droid csproj to .net SDK style. replaced xamarin.forms namespaces to .net maui Did all the steps…
ICollection Errors Re: Navigation Properties
Environment: Net Core 6, Visual Studio Community 2022 (64 bit), WIndows 11 ======== Build: 0 succeeded, 0 failed, 1 up-to-date, 0 skipped ======== Browser Error: InvalidOperationException: The property 'Course.Enrollments' is of an interface type…
Converting from Android.Media.Image to Android.Graphics.Bitmap
I am creating an ImageAnalysis.IAnalyzer and implementing the Analyze method. On Android's documentation…
defining two different databases in startup.cs/appsettings.json file that resides on different servers
I have two separate databases- Database1 and database2. Database1 is on a seperate server and databse2 is on a different server. I need to insert the data from database1 to Datbase2 in my C# coding. This is how my startup file looks like : public void…
When building my MAUI app for Android i get MSB3073 error
Hi, when i try to build my MAUI application for .net7-android i get the following warning: Description MSB3073: The command ""C:\Program Files (x86)\Android\android-sdk\platform-tools\adb" -s ZY22BL2K84 uninstall -k…
NuGet Package restore failed...The underlying connection was closed.., error in VisualStudio ultimate 2012
Hi, Below is machine and VS details: Windows 7 Visual studio Ultimate 2012 Version 11.0.61219.00 Update 5 Microsoft .NET framework version 4.5.50709 Project: MVC 4 project - C# Everything was working fine till today; But my…
How to convert Aspx pages to Razor Pages and also how to convert .Net framework 4.8 to Dot Net Core.
I am trying to migrate .aspx pages to Razor pages from .Net Framework 4.8 to Dot Net. Is any tool available to convert those pages. I had lot of user control and Web Forms, so please let me give some suggestions how to target the applications in…
How to connect LD Player with .NET MAUI for Android Development?
I can't connect LD Player to Visual Studio. I didn't have this problem in Xamarin Forms and I was simply connecting. I can't use Android Device Manager because I can't download the required files, maybe it's because of the sanctions imposed on my…
Using Kestrel with .NET 7: Why can't I access ASP.NET Core app from another computer on the same network without IIS.
Greetings everyone! Using .NET 7, I created a simple ASP NET CORE app. I am attempting to use only Kestrel without IIS to run this app. in appsettings.json: { "Kestrel": { "Endpoints": { "Http": { …
Visual Studio Community edition vs .NET 7.0
Hi All I installed the .NET 7.0 SDK. and Runtime. I Checked id with dotnet --info, I saw what I expected. I installed VS Community version, began to create a new console application for multi platform, but I just saw the .NET version 6.0 in the drop down…
How do I migrate a V1 Azure Function App on .NET Framework 4.8 that uses Entity Framework 6 to the Azure Function V4 Isolated Runtime?
I'm working on updating a function app running in .NET Framework from the V1 to the V4 isolated runtime. My issue is that it uses a Code First Database model with Entity Framework 6. The Function App project makes data queries though code libraries in…