ただの雑記

アラサーエンジニアが適当に書き散らかしてます。

Windows7でASP.NET MVC6を使おうとするとエラーになる?

やっと家のPCにVisual Studio 2015を入れて触ってみている所なのですが、 さくっとWeb APIで機能を試してみようと、プレビューのテンプレートを元にソリューションをつくると次の画像のようなエラーが。

f:id:beli:20150919004611p:plain

インストール出来ないのに使用するとか意味が分からない。

ついでにしたのような感じでエラーメッセージが出ていた。

Invoke-Command : The term 'x86' is not recognized as the name of a cmdlet, func tion, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. �����ꏊ C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:1451 ����:27 + Invoke-Command <<<< ([ScriptBlock]::Create("dnvm-$cmd $cmdargs") ) + CategoryInfo : ObjectNotFound: (x86:String) [Invoke-Command]�ACo mmandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Co mmands.InvokeCommandCommand

Invoke-Command : The term 'x86' is not recognized as the name of a cmdlet, func tion, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. �����ꏊ C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:1451 ����:27 + Invoke-Command <<<< ([ScriptBlock]::Create("dnvm-$cmd $cmdargs") ) + CategoryInfo : ObjectNotFound: (x86:String) [Invoke-Command]�ACo mmandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Co mmands.InvokeCommandCommand

Invoke-Command : The term 'x86' is not recognized as the name of a cmdlet, func tion, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. �����ꏊ C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:1451 ����:27 + Invoke-Command <<<< ([ScriptBlock]::Create("dnvm-$cmd $cmdargs") ) + CategoryInfo : ObjectNotFound: (x86:String) [Invoke-Command]�ACo mmandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Co mmands.InvokeCommandCommand

Invoke-Command : The term 'x86' is not recognized as the name of a cmdlet, func tion, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. �����ꏊ C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:1451 ����:27 + Invoke-Command <<<< ([ScriptBlock]::Create("dnvm-$cmd $cmdargs") ) + CategoryInfo : ObjectNotFound: (x86:String) [Invoke-Command]�ACo mmandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Co mmands.InvokeCommandCommand

さくっとググると皆大好きStackOverflowで質問と回答を発見。

stackoverflow.com

英語とか読めないけれども要はPowerShel3以降が必要っぽいと言うことで、取りあえず4を入れてみたところ、エラー無く起動しました。

今日は取りあえずここまで。