这是详细信息:
我首先得到以下错误:
错误:DEP3321:要部署此应用程序,您的部署目标应运行Windows Universal Runtime版本10.0.10240.0或更高版本.您当前运行的是版本10.0.10166.0.请更新您的操作系统,或将部署目标更改为具有相应版本的设备.
现在我在这里找到了第一个错误的解决方案,所以我在App1.csproj文件中更改了以下内容:
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
Run Code Online (Sandbox Code Playgroud)
至
<TargetPlatformMinVersion>10.0.10166.0</TargetPlatformMinVersion>
Run Code Online (Sandbox Code Playgroud)
现在,当我尝试将应用程序部署到手机时,我收到以下错误,但我找不到解决方案:
Error : DEP0001 : Unexpected Error: Element not found. (Exception from HRESULT: 0x80070490)
Run Code Online (Sandbox Code Playgroud)
任何人都知道如何解决这个问题?我可以将应用程序部署到模拟器,而不是运行Windows 10的物理手机.
windows-phone windows-phone-8.1 visual-studio-2015 windows-10-mobile
有没有办法使用整数索引从枚举返回适当的值?例如,如果有枚举颜色{红色,绿色,蓝色)是否有一个函数,值0将返回红色,1将返回绿色,2将返回蓝色?
我正在构建一个Windows 10 UWP应用程序,并想知道它是否可以在Windows Phone 8.1和/或Windows 8.1桌面上运行.Windows 8.1仍然非常普遍,我希望能够通过我的应用程序与这些用户联系.
windows-phone windows-phone-8 win-universal-app windows-10 uwp