1

我正在尝试使用本教程安装 DVNM(https://blogs.msdn.microsoft.com/sujitdmello/2015/04/23/step-by-step-installation-instructions-for-getting-dnx-on-your -windows 机器/)。

我在其他带有 Win10 的笔记本上做到了,我在这里嵌入了 8.1,第一个脚本让我出错:

The string is missing the terminator: ".
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordEx
   ception
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

'{$Branch' is not recognized as an internal or external command,
operable program or batch file.

谁能解决我的问题?无论我在哪里搜索都没有解决方案,我现在是堆栈...

4

1 回答 1

0

我解决了我的问题,但我会将这个线程留在堆栈上。Cmd 很烂,我确实是通过 powershell 安装的,只是使用推荐来解析:

&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
于 2016-09-10T16:53:16.270 回答