Content
How to implement custom elements in blazor 7 (Practical guide) ?
Hi everyone As you know, one of the new features of blazor 7 is custom elements. But there is not enough references & guides which demonstrate how to implement this. for example, I want to create custom element in my blazor server app, then consume…


4.6.1 migrating to .Net Core 7 – How do I resolve error MC1000- cannot find type System.Management.Instrumentation.InstrumentedAttribute in Assembly ..path \.nuget\packages\system.management\7.0.0\lib\net6.0\SystemManagement.dll – Microsoft.WinFx.Targets
I am migrating a .netFramework 4.6.1 application to core. I have been able to get rid of all of the build errors except this one: Error MC1000 Unknown build error, 'Could not find type 'System.Management.Instrumentation.InstrumentedAttribute' in…


Aes.Create() crashing on Windows Server 2022
Has anyone encounter problems with Aes.Create() throwing an exception "Exception has been thrown by the target of an invocation". I just migrated to a new server with Windows Server 2022 on it and all of a sudden I am getting this error…
X509Certificate Client Authentication
Hello guys, I have the following code that was working perfectly fine for 3 years already. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 …


[MacOS] Console Application - Issue recognizing the file Path
Dear community, I have this issue: I deployed a console application (C# - Visual Studio - Unix Executable File). As you will see in the following screenshots, the issue is that running by double-click or using the full path doesn't allow the Terminal to…


Edmx codegenerator for legacy project
I have been assigned a task required to use VS 2012 edmx generator. Therefore, I have to get a license for VS 2012 although we bought and use VS 2022. I am looking for a way that I do not have to install VS 2012. But the code won’t generate like VS…


The current .NET security policy prohibits C:\Users\...\File.xlsx from loading custom macros.
I am working on a project in Visual Studio Community 2022. The project is an Excel VSTO Workbook using Visual Basic (Target framework is .NET Framework 4.8). Up until yesterday everything was working fine, I could run and debug my project whenever I…


SsdtHelper.DeployDacPacWithOptions() fails with System.MissingMethodException: Method not found: 'Void Microsoft.SqlServer.TransactSql'
I have a .NET Framework 4.6.1 (upgrading to 4.6.2 doesn't solve it) project that uses DacServices to deploy my database's SSDT on a Docker container. This eventually uses the following code: using (var fileStream = new FileStream(dacpacPath,…


Error at Add-Migration CreateIdentitySchema
Error: ...The type or namespace name 'Areas' does not exist in the namespace 'Authentication' (are you missing an assembly…


Using transparent PNG for game development?
I'm thinking of developing a game using transparent PNGs but I have a couple issues: I can only get things to animate while they are moving. The images cut into each other leaving empty spots.
Xamarin.Forms ListView: Infinite loop creating a single viewcell
I have this tiny demo that appears to show that ListView continually creates ViewCells, and binds them to one view model instance, until it runs out of memory. Here's the code... From MainPage.xaml: <?xml version="1.0"…


Getting lots of Task Canceled Exception while calling .net API from .net 6 WebApp
System.Threading.Tasks.TaskCanceledException: at System.Net.Http.HttpClient.HandleFailure (System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a) at…


How create a Xamarin Android distro than can be sideloaded?
I have done this before. I believe in Android Porject->Properties->Archive I used to be able to create an APK that could then be sideloaded from a shared Windows server onto an Android device. I am now on VS 2022 and it seems the only Archive…


asp.net setup doubts
Hello We Have developed one small web application which has aspx page and cs file c# as a code behind. We use database as sql express 2008 R2 Microsoft SQL Server Express Edition with Advanced Services ( sql server management studio …


Security Updates for Microsoft .NET Core (166054) - How do I uninstall older versions of .Net Core
Hi, I am getting multiple vulnerabilities show for machines having older versions of .Net Core installed. I have checked the machines and they do have the old versions in the folder C:\Program Files\dotnet\shared\Microsoft.NETCore.App\versionnumber. If I…


No funcionan los breakpoint .net 2005 en win11
Recientemente actualice mi computadora a win 11, y tengo instalado el .net 2005, y ahora no funcionan los breakpoint en ningún website que tengo, no me marca ningun error simplemente no los reconoce. Ya intente todas las soluciones que he encontrado…


How to show the last item selected when opening a Picker?
I have a Picker that shows items from an ObservableCollection. All is ok, I see all the values.... and I can select one of them. But when I clic again the picker, it show the list from the beginning. is any way to scroll to the last position…
How to access menu control reference from Master page - home_master.Master
Hello, I have a master page known as home_master.Master which has Menu Control. Now I want to handle Menu control dynamically through another aspx page (Non Master Page) which is located in Sub-folder i.e Admin. My intent is to create a Content…


'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.)
I want to receive and display push notifications on my iPhone/iPad but I get the following message in Visual Studio for Mac: 'UILocalNotification' is obsoleted on: 'ios' 10.0 and later (Use 'UserNotifications.UNNotificationRequest' instead.) I use .NET…


Issue upgrade from 3.1 to .net 6
I'm trying to upgrade from 3.1 to .net 6 getting below error. I've installed SDK 6.0.405 but no luck. Severity Code Description Project File Line Suppression State Error MSB3971 The reference assemblies for ".NETFramework,Version=v6.0" were not…

