如何解决Visual Studio被困在“还原解决方案的程序包”中
几天以来,我试图在Visual Studio for Mac中打开一个Xamarin Forms项目,但是它卡在了“为解决方案还原软件包”中,我无法通过,不能在该项目上工作。
我还尝试将项目导入Windows机器,在Visual Studio中,我遇到的情况相同,加载资源时卡住了。
我试图清除缓存,卸载Visual Studio,清除temp文件夹,但是没有运气...
它被卡在“ printf
”上。即使这样,我也可以单击android上的deploy按钮,在Macos上我没有输出,并且永远都在加载...而在Windows上,它卡在了“ #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
typedef struct { void * p; } obj;
int main() {
obj * o = calloc(sizeof(obj),1);
assert(o); // assume successful allocation
printf("%s\n",o->p ? "true" : "false"); // 1st: Could print "true"? Is o->p UB?
o->p = NULL;
printf("%s\n",o->p ? "true" : "false"); // 2nd: always prints "false"
return 0;
}
”上
在这种情况下,您能帮我吗?还有其他人遇到这个问题吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。