VS 2015 Xamarin:加载项目时遇到警告 IDE0006 错误 [英] VS 2015 Xamarin: Warning IDE0006 Error encountered while loading the project

查看:20
本文介绍了VS 2015 Xamarin:加载项目时遇到警告 IDE0006 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Xamarin 开发 Android 应用.

I am developing an Android app using Xamarin.

Visual Studio 显示此警告,我不知道这是什么意思.我已按照说明操作,但似乎找不到 temp\\file

Visual Studio shows this warning, and I don't know what it means. I've followed the instructions but I can't seem to find the 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 上获得.

The full source is available on github.

推荐答案

我只是按照说明操作,但并没有消除警告,虽然我忽略了它,但它现在没有出现.

I just followed the instructions but it did not eradicate the warning, although I ignored it, it does not appear now.

  1. 在重建项目时,我注意到它需要很长时间,因为它会在您的 %userprofile%/AppData/Local/Xamarin/zips/*
  2. 上下载一个 zip 文件
  1. When rebuilding the project, I noticed it takes a long time because it downloads a zipfile on your %userprofile%/AppData/Local/Xamarin/zips/*

-确保不要中断构建,因为它会停止下载并在以后导致无效的 zip,从而重现此问题?

-Make sure to not interrupt the build because it will stop downloading and will cause an invalid zip later on, thus reproducing this issue?

  1. 另一个假设是我包含了一个组件(引用了一个 dll),然后删除了它,然后重新添加了它.(因为我的智能感知有问题)

这篇关于VS 2015 Xamarin:加载项目时遇到警告 IDE0006 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆