microsoft / WPF-Samples

Repository for WPF related samples
MIT License
5.01k stars 3.19k forks source link

Sample .csproj files #504

Open MRahilly opened 9 months ago

MRahilly commented 9 months ago

Is it not the case that ItemGroup's for source files in the root folder of a project can be removed from sample .csproj files for recent .NET releases?

anjali-wpf commented 6 months ago

@MRahilly

Yes, you're correct. With recent versions of the .NET SDK and Visual Studio, particularly starting from .NET Core and continuing with .NET 5 and later, there's a simplification in the way projects are structured and managed. This has led to the removal of the explicit inclusion of source files in the .csproj file for projects with source files located in the root folder.

I am working on making changes for the same.