Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 无法使用ILSpy反编译Windows Phone 8的System.Windows.dll_.net_Windows Phone 8_Decompiler_Ilspy - Fatal编程技术网

.net 无法使用ILSpy反编译Windows Phone 8的System.Windows.dll

.net 无法使用ILSpy反编译Windows Phone 8的System.Windows.dll,.net,windows-phone-8,decompiler,ilspy,.net,Windows Phone 8,Decompiler,Ilspy,我正在使用一个免费的.NET程序集反编译器来分析标准的和第三方的.NET程序集。对于标准的.NET WinForms和WPF库,它工作得很好,但我无法为位于C:\Program Files x86\Reference Assembly\Microsoft\Framework\WindowsPhone\v8.0\中的Windows Phone 8反编译System.Windows.dll。它显示成员,但其内部源代码为空 这是ILSpy的问题,还是我们无法使用任何其他工具(如Red Gate的.NE

我正在使用一个免费的.NET程序集反编译器来分析标准的和第三方的.NET程序集。对于标准的.NET WinForms和WPF库,它工作得很好,但我无法为位于C:\Program Files x86\Reference Assembly\Microsoft\Framework\WindowsPhone\v8.0\中的Windows Phone 8反编译System.Windows.dll。它显示成员,但其内部源代码为空


这是ILSpy的问题,还是我们无法使用任何其他工具(如Red Gate的.NET Reflector)反编译Windows Phone.NET库?是否有其他方法获取/查看这些程序集的源代码?

安装在C:\Program Files x86\Reference Assembly\Microsoft\Framework\WindowsPhone\v8.0中的程序集只是用于在Visual Studio中自动完成的占位符。您可以通过装载模拟器使用的VHD映像直接提取实际程序集。映像位于C:\Program Files x86\Microsoft SDK\Windows Phone\v8.0\Emulation\images中。我不记得.NET程序集在VHD中存储的确切位置,但您应该能够使用Windows资源管理器的搜索功能轻松找到它们。这些是标准的.NET程序集,因此您可以使用任何反编译器ILSpy、Reflector、JustDecompile等打开它们。

安装在C:\Program Files x86\Reference Assembly\Microsoft\Framework\WindowsPhone\v8.0中的程序集只是用于在Visual Studio中自动完成的占位符。您可以通过装载模拟器使用的VHD映像直接提取实际程序集。映像位于C:\Program Files x86\Microsoft SDK\Windows Phone\v8.0\Emulation\images中。我不记得.NET程序集在VHD中存储的确切位置,但您应该能够使用Windows资源管理器的搜索功能轻松找到它们。这些是标准的.NET程序集,因此您可以使用任何反编译器ILSpy、Reflector、JustDecompile等打开它们。

是!我安装了c:\Program Files x86\Microsoft SDK\Windows Phone\v8.0\Emulation\Images\Flash.480x800.vhd,并在我的操作系统E中获得了5个新的虚拟硬盘:-I:。然后,我在“G:\Windows\System32\”中找到了System.Windows.ni.dll,它使用完整的内部文件进行了反编译,没有任何问题。请注意,它应该是一个.ni文件,但不是原始的System.Windows.dll。谢谢,我真的抓狂了一分钟!对我安装了c:\Program Files x86\Microsoft SDK\Windows Phone\v8.0\Emulation\Images\Flash.480x800.vhd,并在我的操作系统E中获得了5个新的虚拟硬盘:-I:。然后,我在“G:\Windows\System32\”中找到了System.Windows.ni.dll,它使用完整的内部文件进行了反编译,没有任何问题。请注意,它应该是一个.ni文件,但不是原始的System.Windows.dll。谢谢,我真的抓狂了一分钟!