Why does MAUI iOS not build with "$placeholder$.scale" factors in the project file?

Marc George 171 Reputation points
2023-01-22T16:43:02.17+00:00

Since my last upgrade of VS, in the MAUI project file, if the second ItemGroup is present, the project will not build. It previously did. It will build for Android and Windows projects.

<ItemGroup>
  <None Remove="Resources\Splash\%24placeholder%24.scale-100.png" />
  <None Remove="Resources\Splash\%24placeholder%24.scale-125.png" />
  <None Remove="Resources\Splash\%24placeholder%24.scale-150.png" />
  <None Remove="Resources\Splash\%24placeholder%24.scale-200.png" />
  <None Remove="Resources\Splash\%24placeholder%24.scale-400.png" />
</ItemGroup>
<ItemGroup>
  <Content Include="Resources\Splash\$placeholder$.scale-100.png" />
  <Content Include="Resources\Splash\$placeholder$.scale-125.png" />
  <Content Include="Resources\Splash\$placeholder$.scale-150.png" />
  <Content Include="Resources\Splash\$placeholder$.scale-200.png" />
  <Content Include="Resources\Splash\$placeholder$.scale-400.png" />
</ItemGroup>

<ItemGroup>

Microsoft Visual Studio Enterprise 2022
Version 17.5.0 Preview 2.0
VisualStudio.17.Preview/17.5.0-pre.2.0+33209.295
Microsoft .NET Framework
Version 4.8.04161

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools   00476-80000-00000-AA610
Microsoft Architecture Diagrams and Analysis Tools

Visual C++ 2022   00476-80000-00000-AA610
Microsoft Visual C++ 2022

ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools

ASA Service Provider   1.0

ASP.NET and Web Tools   17.5.194.32986
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   17.5.194.32986
Azure App Service Tools v3.0.0

Azure Data Lake Tools for Visual Studio   2.6.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Azure Functions and Web Jobs Tools   17.5.194.32986
Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio   2.6.5000.0
Microsoft Azure Stream Analytics Tools for Visual Studio

C# Tools   4.5.0-2.22580.13+ea0b6351c129c7decd9bf76f4388239509e28e0d
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus   1.4.1 (main@2ee106a)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Microsoft Azure Hive Query Language Service   2.6.5000.0
Language service for Hive query

Microsoft Azure Stream Analytics Language Service   2.6.5000.0
Language service for Azure Stream Analytics

Microsoft Azure Tools for Visual Studio   2.9
Support for Azure Cloud Services projects

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Mono Debugging for Visual Studio   17.5.2 (d15e47f)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager   6.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core)   17.0.0.2255201+5530de5c8323cd1ecacb497bbab5637907d0fc02
Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools   17.2.31208.0
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript Tools   17.0.11130.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.5.0-2.22580.13+ea0b6351c129c7decd9bf76f4388239509e28e0d
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   17.5.0-beta.22607.4+f5794982b82d308590542bd1e101162dc4f45a13
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.

VisualStudio.DeviceLog   1.0
Information about my package

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

VSPackage Extension   1.0
VSPackage Visual Studio Extension Detailed Info

Xamarin   17.5.0.120 (main@4c08778)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   17.5.2.64 (remotes/origin/d17-5@627f860876)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates   17.5.3 (3c53880)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK   13.1.99.61 (main/2e10309)
Xamarin.Android Reference Assemblies and MSBuild support.
    Mono: 6dd9def
    Java.Interop: xamarin/java.interop/main@984711a3
    SQLite: xamarin/sqlite/3.40.0@fdc1e34
    Xamarin.Android Tools: xamarin/xamarin-android-tools/main@fa3711b


Xamarin.iOS and Xamarin.Mac SDK   16.1.1.27 (933c6c2c9)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,861 questions
0 comments No comments
{count} votes