microsoft / devhome

The new Dev Home experience for Windows!
https://aka.ms/devhomedocs
MIT License
3.65k stars 327 forks source link

PublishProfiles need to be edited to remove PublishTrimmed and instead be set unconditionally in a csproj file #3946

Open MattHyman opened 1 month ago

MattHyman commented 1 month ago

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

PublishProfiles need to be eddied to remove PublishTrimmed and instead be set unconditionally in a csproj file.

This was identified with @eerhardt following dev home issues with JSON serialization behavior differing in debug and release configurations as documented here.

Expected result

Behavior should not drastically differ between debug and release builds.

Actual result

Json serialization can behave drastically different between release and debug builds as described here.

Included System Information

No response

Included Extensions Information

No response