.NET

1256 readers
11 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 2 years ago
MODERATORS
76
77
78
 
 

This is not to be confused with the Avalonia UI framework which remains free and open source.

XPF is a new project by the same team that allows existing WPF apps to be cross-platform (so enterprises can take their existing Windows-only apps and run them on MacOS, Linux and maybe WebAssembly). It's in early stages so I don't know how well it works.

79
 
 
  • Reauthentication flows are now working as expected when using the "Windows authentication broker" as the default authentication mechanism.
  • Linux C++ Cross Platform with cmake - No Caching of realpath command
  • Error Running Test Case using MS Fakes on arm64(UnitTestIsolationException)
  • Error while using Visual Studio 2022 Schema Compare while comparing an Azure SQL DB schema with a VS Database Project
80
81
 
 

"A Visual Studio extension that checks and notifies about available updates for the installed NuGet packages for the open solution."

This time no fancy new features, but a complete refactor of the project structure which will keep the extension easy to maintain.

Thanks goes to @tomenglert

82
83
 
 

Summary of What's New in this Release of Visual Studio 2022 version 17.7 Preview 4

  • Fixes "Waiting for debugger" message on emulator when trying to debug .NET MAUI Android apps.
  • Fixing an issue with symbol loading when debugging MAUI projects.

Developer Community Highlights

  • TestExplorer unable to run GoogleTest tests since the "support" of namespaces in VS 17.6 preview 3
  • Blank Solution project template missing
  • Pylance language server isn't starting in VS due to a "Node.js was not found" error.
  • diagsession fails to load with Specified part does not exist in the package. (0x80131509)
  • Not running compatible code on the thread in Android MAUI
  • Xamarin.android not working, debug mode
  • .NET MAUI Android app: "Waiting for Debugger"
  • Unable to deploy Azure Functions app
  • MAUI Android .NET 8 Crash
84
85
 
 

Starting with Visual Studio 17.7 Preview 3, you can now enable a preview of our modernized Extension Manager that highlights extension details and helps you more easily discover the extensions you’ll love.

86
 
 

While implementing AutoMapper in some existing code, I came across the need to map to a nullable property. Other business logic relied on this particular long being null instead of 0. The DTO has a property that contains a (long)Id, but the Entity contains the virtual property as well as a nullable long? of the Id. Anyway after fumbling through a few tries, I finally came upon the solution and wanted to share it here.

In the MapperProfile for the direction of DTO to Entity you have to do a null check, but the trick for me was having to explicitly cast to (long?)null.

CreateMap<ExampleDto, ExampleEntity>().ForMember(ee => ee.ExampleId, options => options.MapFrom(ed => ed.ExampleProperty != null ? ed.ExampleProperty.ExampleId : (long?)null)).NoVirtualMap();

Hope someone else finds this helpful, and finds it here.

87
88
 
 

We’re delighted to let you know about the latest features and improvements coming with .NET 8 Preview 6! This release is a continuation of the Preview 5 release, and we’re committed to bringing you more enhancements with each monthly release.

Today we have an exciting release incorporated with plenty of library updates, a new WASM mode, more source generators, constant performance improvements, and NativeAOT support on iOS. We hope you enjoy these new features and improvements. Stay tuned for more updates as we continue our journey of making .NET better, together!

89
 
 

I just personally love them and I am looking to get a deeper understanding of them and how to implement them.

Do you chaps have any good resources? (Articles, nuget packages, etc.)

90
 
 

A Visual Studio extension that checks and notifies about available updates for the installed NuGet packages for the open solution.

Bug Fixes Remove infobar when closing a solution to prevent duplicates