Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 未能找到文件…App.g.i.cs_Visual Studio_Uwp_Uwp Xaml - Fatal编程技术网

Visual studio 未能找到文件…App.g.i.cs

Visual studio 未能找到文件…App.g.i.cs,visual-studio,uwp,uwp-xaml,Visual Studio,Uwp,Uwp Xaml,我想阻止此错误出现在Visual Studio输出窗口的Intellisense部分: [失败]找不到文件“C:\code\CatApp\obj\x86\Debug\App.g.i.cs”。 我已经清除了obj和bin文件夹,升级到Visual Studio 2017的最新版本,清除了所有nuget软件包,并再次从SVN签出了我的项目 如果我创建一个新的UWP项目,我会遇到同样的问题。(每次我创建一个新的UWP项目时,我都必须分别获得Nuget软件包Microsoft.NETCore.Unive

我想阻止此错误出现在Visual Studio输出窗口的Intellisense部分: [失败]找不到文件“C:\code\CatApp\obj\x86\Debug\App.g.i.cs”。

我已经清除了obj和bin文件夹,升级到Visual Studio 2017的最新版本,清除了所有nuget软件包,并再次从SVN签出了我的项目

如果我创建一个新的UWP项目,我会遇到同样的问题。(每次我创建一个新的UWP项目时,我都必须分别获得Nuget软件包Microsoft.NETCore.UniversalWindowsPlatform。我想知道这两个问题是否相关。)


我的目标和最小版本是16299。

?好吧,相关的,当Nuget无法自己检索包时,IntelliSense也将失败。您需要找到一个诊断,然后查看输出窗口并切换“ShowOutput from”到Package Manager以获取Nuget下载跟踪。请添加您正在使用的visual studio版本以及UniversalWindowsPlatform版本。如果我的univsersal windows平台未设置为5.2并使用visual studio 2015 Service pack 3,我会遇到类似的问题。我建议尝试修复整个visual studio平台演播室这种情况在空白应用程序中很少见。我运行的是15.5.7+27130.2036