You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filip Navara — Today at 10:27 AM
88>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(546,3): error MSB4018: The "CompileAppManifest" task failed unexpectedly.
88>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(546,3): error MSB4018: System.MissingMethodException: Method not found: 'System.String Xamarin.Localization.MSBuild.MSBStrings.get_W7108()'.
88>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(546,3): error MSB4018: at Xamarin.MacDev.Tasks.CompileAppManifestTaskBase.Execute()
88>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(546,3): error MSB4018: at Xamarin.MacDev.Tasks.CompileAppManifest.Execute() in /Users/builder/azdo/_work/1/s/xamarin-macios/msbuild/Xamarin.MacDev.Tasks/Tasks/CompileAppManifest.cs:line 16
88>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(546,3): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
88>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets(546,3): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
does this ring any bells? .NET 8.0.200-preview.23624.5 SDK, VS 17.9.0 Preview 4.0
(I know it's a "missing file" error, not really asking about the underlying cause, just the localization bundling issue)
Rolf — Today at 10:31 AM
that's weird, W7108 is in the initial .NET 8 release
is this a .NET 7 project?
or are there .NET 7 projects in the solution?
Filip Navara — Today at 10:32 AM
It was .NET 7 project and I bumped it to .NET 8.
There are other .NET 7 projects in the solution, possibly even some iOS library projects
so yeah, it would make sense that it can collide within the same VS instance
Filip Navara — Today at 10:40 AM
yep, goes away if I retarget everything and restart VS
(in fact, even the build error goes away)
See also #9835, where a fix was attempted (but apparently not enough).
The text was updated successfully, but these errors were encountered:
rolfbjarne
added
bug
If an issue is a bug or a pull request a bug fix
msbuild
Issues affecting our msbuild tasks/targets
dotnet
An issue or pull request related to .NET (6)
labels
Feb 8, 2024
The "FindItemWithLogicalName" task failed unexpectedly.System.MissingMethodException: Method not found: 'System.String Xamarin.Localization.MSBuild.MSBStrings.get_M0149b()'. at Xamarin.MacDev.Tasks.FindItemWithLogicalName.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()
rolfbjarne
added a commit
to rolfbjarne/xamarin-macios
that referenced
this issue
May 21, 2024
…tnet#20062.
Version the Xamarin.Localization.MSBuild assembly correctly (instead of
hardcoding a 1.0.0 version - implicitly so because no version was set), so
that we can load multiple versions of the assembly into the same process.
Fixesdotnet#20062.
…0062. (#20623)
Version the Xamarin.Localization.MSBuild assembly correctly (instead of
hardcoding a 1.0.0 version - implicitly so because no version was set), so
that we can load multiple versions of the assembly into the same process.
Fixes#20062.
Ref: https://discord.com/channels/732297728826277939/732297808148824115/1205082594757054494
See also #9835, where a fix was attempted (but apparently not enough).
The text was updated successfully, but these errors were encountered: