簡體   English   中英

$ Branch不被識別為內部或外部命令

[英]$Branch is not recognized as an internal or external command

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

我在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.

任何人都可以解決我的問題嗎? 無論我在哪里搜索都沒有解決方案,我現在正在堆疊......

我解決了我的問題,但我會把這個帖子留在堆棧上。 Cmd糟透了,我確實通過powershell安裝,只需使用commend來解析:

&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM