Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin.PreBuilt.iOS[42280:31645665] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=7.0.0.0, Culture=zh-CN, PublicKeyToken=null. Details: Could not load file or assembly #17189

Closed
Jockeyvb opened this issue Sep 3, 2023 · 1 comment
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working

Comments

@Jockeyvb
Copy link

Jockeyvb commented Sep 3, 2023

Description

vs 2022 17.7.3 build to iphone 12 ios,version:15.3

build ok

runing error:
Thread started: #2
Thread started: .NET Timer #3
Thread started: #4
2023-09-03 20:12:32.341 Xamarin.PreBuilt.iOS[42484:31653467] App path /var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/CNDoctorAPP.dll

2023-09-03 20:12:32.340 Xamarin.PreBuilt.iOS[42484:31653467] Content folder: /var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content

Thread started: .NET ThreadPool Gate #5
Thread started: #6
2023-09-03 20:12:32.384 Xamarin.PreBuilt.iOS[42484:31653467] AppDelegate name: AppDelegate

Resolved pending breakpoint for 'CNDoctorAPP.Program.Main(System.String[])' to F:\Project\Program\CNDoctor\CNDoctorAPP\Platforms\iOS\Program.cs:10 [0x00000].
2023-09-03 20:12:32.917 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.

2023-09-03 20:12:32.923 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly Xamarin.HotReload.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/Xamarin.HotReload.Contracts.dll' or one of its dependencies.

Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:423 [0x00000].
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:418 [0x00000].
2023-09-03 20:12:33.052 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly Xamarin.HotReload.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/Xamarin.HotReload.Contracts.dll' or one of its dependencies.

2023-09-03 20:12:33.055 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.

Thread started: #7
Thread started: #8
Thread started: #9
[0:] An error occurred: 'Operation not permitted'. Callstack: ''
2023-09-03 20:12:33.216 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=7.0.0.0, Culture=zh, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/System.Private.DataContractSerialization.resources.dll' or one of its dependencies.

2023-09-03 20:12:33.214 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=7.0.0.0, Culture=zh-Hans, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/System.Private.DataContractSerialization.resources.dll' or one of its dependencies.

2023-09-03 20:12:33.213 Xamarin.PreBuilt.iOS[42484:31653467] Could not resolve assembly System.Private.DataContractSerialization.resources, Version=7.0.0.0, Culture=zh-CN, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/0F9B88A5-5356-4792-9914-A1266733CFE6/Documents/CNDoctorAPP.content/System.Private.DataContractSerialization.resources.dll' or one of its dependencies.

应用已终止。

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

7.0.92

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

ios 15.3 win11

Did you find any workaround?

No response

Relevant log output

No response

@Jockeyvb Jockeyvb added the t/bug Something isn't working label Sep 3, 2023
@samhouts samhouts added potential-regression This issue described a possible regression on a currently supported version., verification pending area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue labels Sep 5, 2023
@ghost
Copy link

ghost commented Sep 5, 2023

Thanks for the issue report @Jockeyvb! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/iOS 🍎 potential-regression This issue described a possible regression on a currently supported version., verification pending s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants