igorseabra4 / HeroesPowerPlant

Level editor for Sonic Heroes (PC, GameCube, XBOX, PS2) and Shadow the Hedgehog (GameCube, XBOX, PS2). Integrates editors for various file types with a 3D view of the stage.
27 stars 14 forks source link

[dotnet-sdk-9.0.100-rc.2.24470.13] HeroesPowerPlant App build with error: Property 'XXX' does not configure the code serialization for its property content #61

Open CancanTang opened 3 weeks ago

CancanTang commented 3 weeks ago

We are doing Application compatibility testing with this application against the latest .NET 9 SDK. When retarget the application to net9.0 and build with the latest .NET 9 SDK, it failed with error: Property 'xxx' does not configure the code serialization for its property content

After the investigation, it is related to a .NET 9 breaking change https://github.com/dotnet/docs/issues/42724

You can fix the CodeDOM Serialization configuration for properties if you want

Steps to Reproduce (for bugs)

  1. Retarget Targetframwork to net9.0-windows in HeroesPowerPlant\HeroesPowerPlant.csproj
  2. Run command dotnet build

Expected Result: build successfully without error Actual Result: build failed with Property 'xxx' does not configure the code serialization for its property content

Please refer to more information from https://github.com/dotnet/winforms/issues/12220

Sewer56 commented 3 weeks ago

Very helpful, if real. Thanks to whoever wrote the repo scanner for this.