2011-12-15 29 views
0

我剛纔已經更新到1.6的NuGet,現在我得到了Visual Studio的軟件包管理器控制檯PowerShell的錯誤加載格式文件DotNetTypes.format.ps1xml

There were errors in loading the format data file: Microsoft.PowerShell.Core, 
Error in file C:\Windows\SysWOW64\WindowsPowerShell\v1.0\DotNetTypes.format.ps1xml: 
Data at the root level is invalid. Line 1, position 1 

任何想法此消息如何我解決這個問題?

我正在使用64位Windows 7,如果它很重要。

+1

這聽起來像XML文件在某些​​方面無效。你能發佈它的內容嗎?或者至少在前幾行? – JaredPar 2011-12-15 20:27:40

+0

好點,我甚至沒有試圖看看這個文件。結果文件頭是完全損壞的(奇怪的字符),所以我從另一臺機器獲得了文件,現在問題是你無法修改或覆蓋該文件。我什至嘗試[鏈接](http://download.sysinternals.com/Files/PendMoves.zip),仍然沒有成功。有誰知道覆蓋「正在使用Windows」文件的更好方法? – ambidexterous 2011-12-19 23:01:35

回答

1

已解決。

下載Hirens引導CD ISO 刻錄的從選定的待辦事項CD 啓動完畢後CD 基於程序\迷你的Windows XP - 能夠覆蓋與真正的文件損壞的文件,我從我的好友了