Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.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
Windows 8 如何使用运行Windows 8.1的PC上的项目在具有Windows 8的平板电脑上进行远程调试?_Windows 8_Visual Studio 2013_Windows 8.1 - Fatal编程技术网

Windows 8 如何使用运行Windows 8.1的PC上的项目在具有Windows 8的平板电脑上进行远程调试?

Windows 8 如何使用运行Windows 8.1的PC上的项目在具有Windows 8的平板电脑上进行远程调试?,windows-8,visual-studio-2013,windows-8.1,Windows 8,Visual Studio 2013,Windows 8.1,我想在安装了Windows 8和Visual Studio Remote Debugger 2013的平板电脑上远程调试Windows应用商店应用程序 Windows应用商店应用程序位于安装了Windows 8.1的我的电脑上,当我尝试调试时,出现以下错误: Error : DEP0700 : Registration of the app failed. error 0xC00CE014: App manifest validation error: The app

我想在安装了Windows 8和Visual Studio Remote Debugger 2013的平板电脑上远程调试Windows应用商店应用程序

Windows应用商店应用程序位于安装了Windows 8.1的我的电脑上,当我尝试调试时,出现以下错误:

Error : DEP0700 : Registration of the app failed. error 0xC00CE014:           App manifest     validation error: The app manifest must be valid as per schema: Line 25, Column    8, Reason: Element '{http://schemas.microsoft.com/appx/2013/manifest}VisualElements' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/2010/manifest}Application'.
Expecting: {http://schemas.microsoft.com/appx/2010/manifest}VisualElements.
 (0x80080204)   TabletDemo

如果不将我的平板电脑升级到Windows 8.1,有没有办法解决这个问题?

Visual Studio 2013的目标是Windows 8.1。您需要使用Visual Studio 2012以Windows 8为目标

但你也可以看看这篇文章:

通过手动修改.csproj文件,似乎可以使用2013实现8.0的目标。删除以下行:

<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
8.1
12

Visual Studio 2013以Windows 8.1为目标。您需要使用Visual Studio 2012以Windows 8为目标

但你也可以看看这篇文章:

通过手动修改.csproj文件,似乎可以使用2013实现8.0的目标。删除以下行:

<TargetPlatformVersion>8.1</TargetPlatformVersion>
<MinimumVisualStudioVersion>12</MinimumVisualStudioVersion>
8.1
12

我从前面的问题中找到了解决方案:

以下是步骤:

转到项目文件夹并编辑项目的.csproj文件:

  • 取消注释或删除元素:

    8.1

    12

  • 在Visual Studio中打开项目

  • 打开MainPage.xaml文件:

    更改ThemeResourceapplication pagebackgroundthemebrush}>

    StaticResourceApplicationPageBackgroundThemeBrush}>

    DeleteStyle=“{StaticResource NavigationBackButtonNormalStyle}”

    DeleteStyle=“{StaticResource HeaderTextBlockStyle}”

  • 打开Package.appxmanifest文件的代码定义并更改:

    <m2:视觉元素 DisplayName=“App2” Square150x150Logo=“Assets\Logo.png” Square30x30Logo=“Assets\SmallLogo.png” Description=“App2” ForegroundText=“灯光” BackgroundColor=“#4646”> m2:SplashScreen Image=“Assets\SplashScreen.png”/ m2:视觉元素>

    <视觉元素 DisplayName=“TabletDemo” Logo=“Assets\Logo.png” SmallLogo=“Assets\SmallLogo.png” Description=“TabletDemo” ForegroundText=“灯光” BackgroundColor=“#4646”>


我从前面的问题中找到了解决方案:

以下是步骤:

转到项目文件夹并编辑项目的.csproj文件:

  • 取消注释或删除元素:

    8.1

    12

  • 在Visual Studio中打开项目

  • 打开MainPage.xaml文件:

    更改ThemeResourceapplication pagebackgroundthemebrush}>

    StaticResourceApplicationPageBackgroundThemeBrush}>

    DeleteStyle=“{StaticResource NavigationBackButtonNormalStyle}”

    DeleteStyle=“{StaticResource HeaderTextBlockStyle}”

  • 打开Package.appxmanifest文件的代码定义并更改:

    <m2:视觉元素 DisplayName=“App2” Square150x150Logo=“Assets\Logo.png” Square30x30Logo=“Assets\SmallLogo.png” Description=“App2” ForegroundText=“灯光” BackgroundColor=“#4646”> m2:SplashScreen Image=“Assets\SplashScreen.png”/ m2:视觉元素>

    <视觉元素 DisplayName=“TabletDemo” Logo=“Assets\Logo.png” SmallLogo=“Assets\SmallLogo.png” Description=“TabletDemo” ForegroundText=“灯光” BackgroundColor=“#4646”>


您必须从.csproj文件中删除
标记


查看一下

您必须从.csproj文件中删除
标记

看一看

变了

8.1 到 项目的.csproj文件中的TargetPlatformVersion中的8.0

Package.appxmanifest文件中的

这两项更改修复了我的问题

8.1 到 项目的.csproj文件中的TargetPlatformVersion中的8.0