小编war*_*dva的帖子

Windows应用商店部署错误

我刚下载并在我的计算机上安装了Visual Studio(Windows 8.1),开始构建Windows 8应用程序.问题是当我尝试运行任何应用程序时出现此错误消息(此错误消息中的应用程序称为Parcels.comStarter):

错误1错误:DEP0700:应用程序注册失败.程序包a783768f-d79c-495b-bf64-e59e4297fb42_1.0.0.0_neutral__1mfyfctfxa0tr上的部署注册操作来自:(d:\ Gebruikers\wardv_000\Downloads\Parcels.comStarter\Parcels.comStarter\Parcels.com\bin\Debug\AppX\AppxManifest. xml)失败,错误0x8E5E0530.有关诊断应用部署问题的帮助,请参阅 http://go.microsoft.com/fwlink/?LinkId=235160.(0x80073cf9)Parcels.com

我搜索了整个互联网,但我没有找到解决方案.我也重新安装了visual studio,但我仍然遇到了问题.

提前致谢

deployment visual-studio-2012 windows-store-apps windows-8.1

12
推荐指数
2
解决办法
3730
查看次数

如果语句在bash中具有算术比较行为

我正在学习bash,我注意到一些我不能(还)解释的奇怪.在学校,我了解到if语句将0评估​​为true,将1评估为false,因此它可以与其他命令的状态代码一起使用.现在是我的问题:为什么会发生这种情况:

echo $((5>2)) #prints 1
echo $((5<2)) #prints 0
if ((5>2)) ; then echo "yes" ; else echo "no" ; fi #prints yes
if ((5<2)) ; then echo "yes" ; else echo "no" ; fi #prints no
Run Code Online (Sandbox Code Playgroud)

这似乎不符合逻辑.bash如何知道我使用的是算术表达而不是其他命令?

bash

5
推荐指数
2
解决办法
89
查看次数

Bash while while循环意外停止

我正在分析两个脚本,其中包含一些我不理解的行为:

#/bin/bash
tijd=${1-60}
oud=`ls -l $MAIL`
while : ; do
   nieuw=`ls -l $MAIL`
   echo $oud $nieuw
   sleep $tijd
done | { read a b rest ; echo $a ; echo $b ; echo $rest ; }
Run Code Online (Sandbox Code Playgroud)

此脚本中的while循环在一次迭代后停止.

#/bin/bash
tijd=${1-60}
oud=`ls -l $MAIL`
while : ; do
   nieuw=`ls -l $MAIL`
   echo $oud $nieuw
   sleep $tijd
done | cat
Run Code Online (Sandbox Code Playgroud)

此脚本中的while循环是无限的.

有什么不同?我认为它与管道和括号有关,但我无法解释它.

linux bash while-loop

5
推荐指数
1
解决办法
1134
查看次数