Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
893 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.8k users

...