问题描述
几天以来,我试图在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 (将#修改为@)