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

Add-Type: the type cannot be added due to the following exception: compiler executable csc.exe file not found. Ensure that version 3.5 of the Microsoft.NET Frame is installed. On 64-bit versions of Windows, the WOW64 component is also required. In 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

PATH is 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 follow this tutorial online

thanks

+4
source share
1 answer

You need to install .NET 3.5 on your computer with Windows 8, since it is not installed by default. Open the Control Panel, select Programs, then Programs and Features. Select the Enable or Disable Windows link on the left and select the .NET Framework 3.5 and click OK.

+5
source

Source: https://habr.com/ru/post/1482502/


All Articles