nulastudio / NetBeauty2

Move a .NET Framework/.NET Core app runtime components and dependencies into a sub-directory and make it beauty.
MIT License
419 stars 21 forks source link

ASP.NET Core project doesn't trigger NetBeauty in VS2022 17.9.6 #68

Open howing0345 opened 5 months ago

howing0345 commented 5 months ago

As the title mentioned, when build the ASP.NET Core project inside the VS2022 17.9.6, it doesn't trigger NetBeauty. But it will work when you run the "dotnet build" command manually. It also triggered in VS2022 if change the *.csproj project setting from <Project Sdk="Microsoft.NET.Sdk.Web"> to <Project Sdk="Microsoft.NET.Sdk">

I just use the WebAppTest project can reproducible the problem.