Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
929 views
in Technique[技术] by (71.8m points)

asp.net - Can't get AWS Elastic Beanstalk Command Line Tool to work on Windows 8. Get the following PowerShell error?

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:UsersAlbertDocumentsWindowsPowerShellModulesAWSDevToolsAWSDevTools. ps1:315 char:1 + Add-Type -Language CSharpVersion3 -TypeDefinition $awsSource + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-Type], InvalidOperationEx ception + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Power Shell.Commands.AddTypeCommand

PATH set to %SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:wampinphpphp5.4.3;C:Program FilesJavajre7in;C:Program Files (x86)Gitin;C:Program Files (x86)Gitcmd;C:Program FilesAWS-ElasticBeanstalk-CLI-2.4.0ebwindows;C:WindowsMicrosoft.NETFramework64v4.0.30319;C:WindowsMicrosoft.NETFrameworkv4.0.30319

I'm following this tutorial online

Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...