gpt4 book ai didi

visual-studio - 生成 list 时出现问题。安装 nuget Microsoft.Toolkit.Forms.UI.Controls.Webview 时无法加载程序集 Microsoft.Windows.SDK.Contracts

转载 作者:行者123 更新时间:2023-12-05 06:20:45 38 4
gpt4 key购买 nike

安装 nuget 包 Microsoft.Toolkit.Forms.UI.Controls.Webview 后出现以下错误:

Severity Code Description Project File Line Suppression State Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.MediaControlContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Activation.ActivationCameraSettingsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Perception.Automation.Core.PerceptionAutomationCoreContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Preview.Notes.PreviewNotesContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Web.Http.Diagnostics.HttpDiagnosticsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.DevicesLowLevelContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.Scanners.ScannerDeviceContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.Xaml.Hosting.HostingContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.AppRecording.AppRecordingContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Management.Deployment.Preview.DeploymentPreviewContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.Printers.Extensions.ExtensionsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Gaming.XboxLive.StorageApiContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract.WinMD' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Gaming.UI.GamingUIProviderContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Graphics.Printing3D.Printing3DContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.StartupTaskContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.Core.AnimationMetrics.AnimationMetricsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.SystemManagementContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Services.Maps.LocalSearchContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.ViewManagement.ViewManagementViewScalingContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Networking.Connectivity.WwanContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.AppBroadcasting.AppBroadcastingContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Services.Maps.GuidanceContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Security.ExchangeActiveSyncProvisioning.EasContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.Profile.SystemManufacturers.SystemManufacturersContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.WebUI.Core.WebUICommandBarContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Capture.CameraCaptureUIContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Phone.StartScreen.DualSimTileContract.WinMD' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Devices.CallControlContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Phone.PhoneContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Calls.LockScreenCallContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Gaming.Preview.GamesEnumerationContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.UserProfile.UserProfileLockScreenContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Calls.CallsVoipContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Calls.CallsPhoneContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Storage.Provider.CloudFilesContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Capture.AppCaptureMetadataContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Foundation.UniversalApiContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.Shell.SecurityAppManagerContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Wallet.WalletContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Gaming.UI.GameChatOverlayContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Capture.GameBarContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.AI.MachineLearning.MachineLearningContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.Profile.ProfileHardwareTokenContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.Sms.LegacySmsApiContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspaceContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Networking.XboxLive.XboxLiveSecureSocketsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.Custom.CustomDeviceContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.Core.CoreWindowDialogsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.Xaml.Core.Direct.XamlDirectContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.Profile.ProfileRetailInfoContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Embedded.DeviceLockdown.DeviceLockdownContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.UserProfile.UserProfileContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Capture.AppBroadcastContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.UI.ApplicationSettings.ApplicationsSettingsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.SmartCards.SmartCardEmulatorContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.FullTrustAppContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Search.Core.SearchCoreContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.WinMD' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.System.Profile.ProfileSharedModeContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Search.SearchContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Gaming.Input.GamingInputPreviewContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Protection.ProtectionRenewalContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Security.EnterpriseData.EnterpriseDataContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Calls.Background.CallsBackgroundContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Networking.Sockets.ControlChannelTriggerContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Activation.ActivatedEventsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.SocialInfo.SocialInfoContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Management.Workplace.WorkplaceSettingsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Resources.Management.ResourceIndexerContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.Portable.PortableDeviceContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Playlists.PlaylistsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Media.Capture.AppCaptureContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.ApplicationModel.Activation.ContactActivatedEventsContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Services.TargetedContent.TargetedContentContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Services.Store.StoreContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Devices.Printers.PrintersContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn
Error Problem generating manifest. Could not load file or assembly 'C:\Users\Vladimir.nuget\packages\microsoft.windows.sdk.contracts\10.0.18362.2005\ref\netstandard2.0\Windows.Foundation.FoundationContract.winmd' or one of its dependencies. An attempt was made to load a program with an incorrect format. OutlookAddIn

这是我所做的:

  1. 默认切换到 PackageReference。工具 -> 选项 -> Nuget 包管理器 -> 常规 -> 默认为 PackageReference。
  2. 已将 nuget 包迁移到 PackageReference。右键单击引用并选择迁移到包引用。
  3. 为 Microsoft Microsoft.Toolkit.Forms.UI.Controls.Webview 安装了 nuget。我最初收到有关 PackageReference 的错误,但前面的步骤修复了它。
  4. 我现在遇到上述错误,它们都与 Contracts nuget 相关。我已经安装和卸载了这个 nuget,但没有任何结果。

最佳答案

I'm now getting the errors above, and they're all related to the Contracts nuget. I've installed and uninstalled this nuget with no results.

根据您的描述,我创建了一个 wpf 框架 4.7.2 项目,该项目在 VS2019 中引用了 microsoft.windows.sdk.contractspackages.config 格式。之后,右键单击packages.config,迁移到packagereference,安装Microsoft.Toolkit.Forms.UI.Controls.Webview,没有任何错误。很奇怪。所以我建议您可以按照以下步骤来解决您的问题:

1) 也许您遇到了 32 位/64 位冲突。例如,一个 32bit 项目引用一个 x64 dll。请右键单击您的项目-->Build-->将Platform target设置为Any CPU。此外,取消选中 Prefer 32-bit

2)xxxx.csproj文件中添加这些代码

<PropertyGroup>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
</PropertyGroup>

3)Platform target设置为Any CPU然后点击Tools-->Nuget Package Manager--> Package Manager Console-->输入update-Package -reinstall

关于visual-studio - 生成 list 时出现问题。安装 nuget Microsoft.Toolkit.Forms.UI.Controls.Webview 时无法加载程序集 Microsoft.Windows.SDK.Contracts,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60274837/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com