Невозможно создать приложение W10 UWP в выпуске при ссылке на несколько расширений API

В своем универсальном приложении для Windows 10 я указал как Windows Mobile Extensions for the UWP, так и Windows Desktop Extensions for the UWP. Все работает хорошо и компилируется в «Отладке», но при попытке скомпилировать в «Релизе» появляется указанная ниже ошибка. При ссылке только на одно расширение приложение также компилируется в «Выпуск».

Похоже, что текущий Win10 SDK 10240 имеет некоторые проблемы с выпуском - это означает, что .NET Native включен - сборка.


person tipa    schedule 06.08.2015    source источник


Ответы (1)


Эта ссылка может вам помочь. В моих случаях мне удалось сделать сборку релиза с обновленным файлом .target.

RTM Известная проблема: не удается создать конфигурацию выпуска использование пакетов SDK расширений для ПК и мобильных устройств в универсальном приложении для Windows

Отредактировано 6 октября 2015 г. - Похоже, проблема была устранена с помощью SDK 1.1.

Что нового для .NET и UWP в Win10 Tools 1.1

Fehler Der Befehl "" C: \ Program Files (x86) \ MSBuild \ Microsoft.NetNative \ x86 \ ilc \ ilc.exe "/ in:" C: \ Users \ myName \ PROJECTS \ myApp \ myApp \ obj \ x86 \ Release \ ilc \ in "/ out:" C: \ Users \ myName \ PROJECTS \ myApp \ myApp \ bin \ x86 \ Release \ ilc "/ intermediatepath:" C: \ Users \ myName \ PROJECTS \ myApp \ myApp \ obj \ x86 \ Release \ ilc \ intermediate "/ v: normal / keepintermediates: true / buildtype: ret /exename:"myApp.exe" / makepripath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ bin \ x64 \ MakePri .exe "/ appPriProjectRoot:" C: \ Users \ myName \ PROJECTS \ myApp \ myApp "/ rcpath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ bin \ x86 \ rc.exe "/ targetplatformsdklibpath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ lib \ 10.0.10240.0 \ um "/ targetplatformsdkmetadatapath:" C: \ Users \ myName \ PROJECTS \ myApp \ myApp \ obj \ x86 \ Release \ ilc \ in \ WinMetadata "/targetframeworkpath:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319" / externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Activation.ActivatedEventsCont ract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Activation.ActivationCameraSettingsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Activation.ContactActivatedEventsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract \ 1.0. 0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Calls.CallsPhoneContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Calls.CallsVoipContract \ 1.0.0.0 "/ externalReferencePath : "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.A pplicationModel.Calls.LockScreenCallContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Файлы (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Resources.Management.ResourceIndexerContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel. Search.Core.SearchCoreContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Search.SearchContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Файлы (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.SocialInfo.SocialInfoContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.ApplicationModel.Wallet. WalletContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.Custom.CustomDeviceContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.Portable.PortableDeviceContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.Printers.Extensions.ExtensionsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.Printers.PrintersContract \ 1.0.0.0 "/ externalRe ferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.Scanners.ScannerDeviceContract \ 1.0.0.0" / externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.SmartCards.SmartCardEmulatorContract \ 1.0.0.0 "/ externalReferencePath:" C : \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Devices.Sms.LegacySmsApiContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Embedded .DeviceLockdown.DeviceLockdownContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Gaming.Preview.GamesEnumerationContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract \ 1.0.0.0 "/ externalReferencePath:" C: \ P rogram Files (x86) \ Windows Kits \ 10 \ References \ Windows.Graphics.Printing3D.Printing3DContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Management.Deployment .Preview.DeploymentPreviewContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Management.Workplace.WorkplaceSettingsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Комплекты Windows \ 10 \ Ссылки \ Windows. Media.Capture.AppCaptureContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Media.Capture.CameraCaptureUIContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Файлы (x86) \ Windows Kits \ 10 \ References \ Windows.Media.Devices.CallControlContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Media.MediaControlContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Media.Playlists.PlaylistsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Media.Protection.ProtectionRenewalContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract \ 1.0.0.0 " / externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract \ 1.0.0.0" / externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Networking.Sockets.ControlChannelTriggerContract \ 1.0.0.0" / externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ Ссылки \ Windows.Phone.PhoneContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Phone.StartScreen.DualSimTileContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Security.EnterpriseData.EnterpriseDataContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Security. ExchangeActiveSyncProvisioning.EasContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Services.Maps.GuidanceContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files ( x86) \ Windows Kits \ 10 \ References \ Windows.Services.Maps.LocalSearchContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.System.Profile.ProfileHardwareTokenContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.System.Profile.ProfileRetailInfoContract \ 1.0.0.0 "/ externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.System.Profile.SystemManufacturers.SystemManufacturersContract \ 1.0.0.0" / externalReferencePath: "C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.System.UserProfile. UserProfileContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.System.UserProfile.UserProfileLockScreenContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.UI.ApplicationSettings.ApplicationsSettingsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.UI.Core.AnimationMetrics.AnimationMetricsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.UI.Core.CoreWindowDialogsContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.UI.WebUI.Core.WebUICommandBarContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.UI.Xaml.Hosting.HostingContract \ 1.0.0.0 "/ externalReferencePath:" C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ Windows.Web.Http.Diagnostics.HttpDiagnosticsContract \ 1.0.0.0 "/ RdX mlPath: "C: \ Program Files (x86) \ MSBuild \ Microsoft.NetNative \ LibraryXML" / suppressPDBWarnings: true / AllowNoManagedCode / UseCustomFramework "/ logger: CsvLogger; 4288; 2796" "было определено с кодом 1004.

person Mamoru Satoh    schedule 07.08.2015