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

NET8项目,在VS2022 v17.8中生成未实现美化效果 #63

Closed owencyc closed 5 months ago

owencyc commented 6 months ago

如题,看输出控制台信息,未发现任何 nbeauty 字样。

而后,直接通过CMD,执行编译命令dotnet build,可以发现最终有出现如下信息 running nbeauty... SCD Mode: No Use Patch: No ASP.NET Core: Yes Use WPF: No Enable Debugging: Yes Shared Runtime Mode: No releasing nbloader.dll nbeauty done. Enjoy it!

不知是不是 VS 的问题,下面附上nbeauty 的配置

<LangVersion>latest</LangVersion>
<OutputType>Exe</OutputType>
<BeautySharedRuntimeMode>False</BeautySharedRuntimeMode>
<BeautyLibsDir Condition="$(BeautySharedRuntimeMode) == 'True'">../Extends</BeautyLibsDir>
<BeautyLibsDir Condition="$(BeautySharedRuntimeMode) != 'True'">./Extends</BeautyLibsDir>
<DisableBeauty>False</DisableBeauty>
<BeautyOnPublishOnly>False</BeautyOnPublishOnly>
<BeautyNoRuntimeInfo>False</BeautyNoRuntimeInfo>
<BeautyEnableDebugging>True</BeautyEnableDebugging>
<BeautyUsePatch>True</BeautyUsePatch>
<BeautyLogLevel>Info</BeautyLogLevel>
liesauer commented 6 months ago

能做一个可以复现的demo项目发给我吗,VS相对于正常的build改动比较大,有可能确实没触发到。

liesauer commented 5 months ago

经过我的电脑测试,没重现问题,如有需要再重新开启issue