Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Convert-WindowsImage.ps1 Could not load file or assembly 'System.Linq,..' error

$
0
0

I tried the following:

.\Convert-WindowsImage.ps1 -SourcePath C:\Backups\All\Files\Windows8-ReleasePreview-64bit-English.iso -VHDFormat VHD -SizeBytes 52GB -VHDPath C:\AllSharedC\VPC\Win8.vhd

and got the following error in the log.  .Net 4.0 full and WMF 3.0 RC are all installed.

Log

**********************
Windows PowerShell transcript start
Start time: 20120601112809
Username  : Sys\User
Machine   : Sys (Microsoft Windows NT 6.1.7601 Service Pack 1)
**********************
ERROR  : Could not load file or assembly 'System.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
INFO   : Log folder is C:\Users\Byron\AppData\Local\Temp\Convert-WindowsImage\942fccac-662a-4b2a-bfa9-6831892cad5c
INFO   : Done.
**********************
Windows PowerShell transcript end
End time: 20120601112809
**********************

How can I solve this?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>