2015-11-07 41 views
0

我用Visual Studio創建2015年UWP項目,並從一個時刻到另一個我得到的,當我打開我的項目這個錯誤:的Visual Studio 2015年UWP錯誤:Microsoft.VCLibs找不到

The SDK "SQLite.UAP.2015, Version=3.9.2" depends on the following SDK(s) "Microsoft.VCLibs, version=14.0", which have not been added to the project or were not found. Please ensure that you add these dependencies to your project or you may experience runtime issues. You can add dependencies to your project through the Reference Manager.

在我項目我用

我更新了所有可能的「工具 - >擴展和更新」

我不改變任何特殊的代碼只有一些按鈕和文字。

我沒有找到解決這個問題的方法。

+0

你解決了這個問題嗎?我面臨同樣的警告。 – alfah

+0

當我向下滾動時,我發現錯誤列表中的錯誤。 (請參閱下面的答案)。這是代碼中的錯誤。 – Laire

+1

@alfah我在添加對「Visual C++ 2015 Runtime ...」的引用時修復了此警告http://1drv.ms/1LlojMN –

回答

0

在這種情況下,錯誤出現在代碼中。我添加到頁面部門在XAML文件:

Loaded="Page_Loaded" 

卻忘了添加到.cs文件中了Methode:

private void Page_Loaded(object sender, RoutedEventArgs e) 
    { 

    } 
0

如果你在你的參考項目看,你應該看到在通用Windows >>擴展下選擇用於通用Windows 14.0的Visual C++ 2015運行時選項。

嘗試添加該參考到您的項目。

如果您沒有看到該選項,則需要使用Visual Studio菜單中的工具獲取工具和功能添加它。您可以選擇單個組件並找到您需要的缺少的SDK。