我正在使用Xamarin開發Android應用程序。VS 2015 Xamarin:警告IDE0006加載項目時遇到錯誤
Visual Studio顯示此警告,我不知道它是什麼意思。我跟着指示,但我似乎無法找到temp\\file
Severity Code Description Project File Line Suppression State Detail Description
Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled. daijoubu-app 1 Active To see what caused the issue, please try below.
1. Close Visual Studio
2. Open a Visual Studio Developer Command Prompt
3. Set environment variable 「TraceDesignTime」 to true (set TraceDesignTime=true)
4. Delete .vs directory/.suo file
5. Restart VS from the command prompt you set the environment varaible (devenv)
6. Open the solution
7. Check 'C:\Users\Noli\AppData\Local\Temp\\daijoubu-app_*.designtime.log' and look for the failed tasks (FAILED)
完整的源代碼可以用github。
你還記得你引用的dll名稱是什麼嗎?因爲親自(在我的兩臺電腦中)我在mono的'System.ObjectModel.dll'上遇到問題。不知何故VS2015無法識別它,並出現在droid項目參考下的黃色圖標。 – CodeArtist
@CodeArtist之後,您可以清除您的解決方案警告消失。你也可以從引用中刪除'System.ObjectModel'並再次添加它。清理並建立警告消失。 – luckyShubhra
在我的情況下,我更新了我的Xamarin表單到最新的穩定版本以擺脫警告。 – luckyShubhra