无法获得AWS弹性魔豆命令行工具,工作在Windows 8得到以下PowerShell的错误?命令行、弹性、魔豆、错误

2023-09-11 10:20:34 作者:哎呦小三您走好别摔倒

添加类型:不能以下面的异常增加,由于类型:编译器可执行文件 csc.exe的文件无法找到...验证Microsoft .NET的是3.5版 框架安装。在64位版本的Windows中,WOW64分量 也是必需的。 在C:\ Users \用户阿尔伯特\文件\ WindowsPowerShell \模块\ AWSDevTools \ AWSDevTools。 PS1:315字符:1 +添加型-language CSharpVersion3 -TypeDefinition $ awsSource + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~     + CategoryInfo:NotSpecified:(:) [添加型],InvalidOperationEx    ception     + FullyQualifiedErrorId信息:System.InvalidOperationException,Microsoft.P​​ower    Shell.Commands.AddTypeCommand 的

Add-Type : Cannot add type due to the following exception: Compiler executable file csc.exe cannot be found.. Verify that version 3.5 of the Microsoft .NET Framework is installed. On 64-bit versions of Windows, the WOW64 component is also required. At C:\Users\Albert\Documents\WindowsPowerShell\Modules\AWSDevTools\AWSDevTools. ps1:315 char:1 + Add-Type -Language CSharpVersion3 -TypeDefinition $awsSource + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-Type], InvalidOperationEx ception + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Power Shell.Commands.AddTypeCommand

路径设置为 %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\wamp\bin\php\php5.4.3;C:\Program文件\的Java \ jre7 \ BIN; C:\ Program Files文件(x86)的\ Git的\ BIN; C:\ Program Files文件(x86)的\ Git的\ CMD; C:\ PROGRAM Files\AWS-ElasticBeanstalk-CLI-2.4.0\eb\windows;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v4.0.30319

PATH set to %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\wamp\bin\php\php5.4.3;C:\Program Files\Java\jre7\bin;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\AWS-ElasticBeanstalk-CLI-2.4.0\eb\windows;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v4.0.30319

我下面本教程在线

I'm following this tutorial online

感谢

推荐答案

您需要,因为它不是默认安装的Windows 8的计算机上安装.NET 3.5。打开控制面板,选择程序,然后程序和功能。选择Windows功能打开或关闭链接在左边选择的.NET Framework 3.5和preSS确定。

You need to install .NET 3.5 on your Windows 8 machine as it isn't installed by default. Open up the Control Panel, select Programs then Program and Features. Select the "Turn Windows Features on or off" link on the left and select .NET Framework 3.5 and press OK.

 
精彩推荐
图片推荐