我有一個針對Windows-10桌面平臺的C#應用程序。C#應用程序調用用C++編寫的本機組件。我的本機C++代碼具有Visual C++組件擴展(C++/CX)。
我試圖運行WACK測試我的應用程序&我看到這個錯誤:UWP:WACK測試在Windows運行時元數據驗證上失敗
Error Found: The general metadata correctness test detected the following errors: The overloaded method XXX in yyy.winmd have the same number of in parameters without one that has DefaultOverloadAttribute. Exactly one method overload must have DefaultOverloadAttribute
Impact if not fixed: Windows store doesnt allow apps that don't pass Windows Runtime Metadata Validation.
How to fix: Please ensure that the compiler you are using to generate your Windows Runtime types is up to date with the Windows Runtime specifications
過去,這很好地工作VS-2015更新2.我安裝了VS-2015更新-3今天&從那時我看到這個失敗。
奇怪的是,錯誤報告中提到的重載方法根本沒有超載。
我檢查了這個MSDN page,但無法找到任何解決方案。
我的VS詳情如下:
MS VS Professional 2015
Version 14.0.25425.01 Update 3
MS .NET Framework
Version 4.6.01038
我無法找到任何Windows運行時規格的任何地方。安裝VS Update-3後需要額外的東西嗎?
我們很樂意看看。您可以通過微軟公司的網址與我聯繫,通過repro項目,我們可以進行調查嗎? –