unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.78k stars 707 forks source link

Warning NETSDK1198 for Windows TFM when building using .net 8.0.400 sdk #18212

Open nickrandolph opened 4 days ago

nickrandolph commented 4 days ago

Current behavior

Create new application using wizard Rebuild all targets:

1>C:\Program Files\dotnet\sdk\8.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Publish.targets(204,5): warning NETSDK1198: A publish profile with the name 'win-AnyCPU.pubxml' was not found in the project. Set the PublishProfile property to a valid file name.

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

MartinZikmund commented 3 days ago

Probably related to recent changes to https://github.com/microsoft/WindowsAppSDK/issues/893. Indeed we do not have pubxml for AnyCPU in the template yet