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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…