如何获得UWP控件的源代码?

时间:2021-12-12 22:53:35

I want to learn the solution in UWP to fix bug in wpf that I used the DotPeek to decompilate the UWP ListView control but I got the result without source code.

我想学习UWP中的解决方案以修复wpf中的错误,我使用DotPeek来解压缩UWP ListView控件,但是我得到的结果没有源代码。

How to get the uwp control's source code?

如何获取uwp控件的源代码?

I use some tool software to decompilate the control of uwp but I cant get the source code.

我使用一些工具软件来解压缩uwp的控制但我无法获得源代码。

What I want is I can get the source code that can run in VisualStudio or you can support me a site like https://referencesource.microsoft.com/ that can see some source code.

我想要的是我可以获得可以在VisualStudio中运行的源代码,或者你可以支持我的网站,如https://referencesource.microsoft.com/,可以看到一些源代码。

As we know, WPF cant do some thing well but UWP can that I want to learn it.

我们知道,WPF无法做好一些事情,但UWP可以让我学习它。

1 个解决方案

#1


1  

Unlike .NET, UWP is not open-sourced as of now so there is no where to get the uncompiled source code.

与.NET不同,UWP目前不是开源的,所以没有地方可以获得未编译的源代码。

You will have to somehow decompile the assemblies if you want to take a look at the code. Decompiling native code is tough though.

如果要查看代码,则必须以某种方式反编译程序集。尽管如此,反编译本机代码仍然很困难。

#1


1  

Unlike .NET, UWP is not open-sourced as of now so there is no where to get the uncompiled source code.

与.NET不同,UWP目前不是开源的,所以没有地方可以获得未编译的源代码。

You will have to somehow decompile the assemblies if you want to take a look at the code. Decompiling native code is tough though.

如果要查看代码,则必须以某种方式反编译程序集。尽管如此,反编译本机代码仍然很困难。