c# - 是否可以使用来自 referencesource.microsoft.com 的源代码重建程序集?

标签 c# .net wpf vb.net

我很好奇是否可以将程序集重建为 PresentationFramework。

我的目标是改进和调整 richTextBox 控件,因为我找不到任何方法让该控件在不更改源代码的情况下满足我的需求。

如果每个人都能以源代码为起点,根据自己的需要继续开发控件,那将是一件非常美妙的事情,会节省很多时间。

最佳答案

在网站的下载部分ReferenceSource你可以阅读

Download the entire source code of .NET Framework as a .zip file. The archive includes a solution and project files that can be opened in Visual Studio. This solution will not build because it is missing crucial components such as resources, XAML files, etc. but it will be sufficient to browse the source code inside Visual Studio.

在许可证部分你还可以阅读

"Reference use" means use of the software within your company as a reference, in read only form, for the sole purposes of debugging your products, maintaining your products, or enhancing the interoperability of your products with the software, and specifically excludes the right to distribute the software outside of your company.

所以,我认为只是尝试......会浪费时间。

关于c# - 是否可以使用来自 referencesource.microsoft.com 的源代码重建程序集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38681541/

相关文章:

c# - sqlite.net + monotouch = SIGSEGV 崩溃

.net - linq 查询连接两个表并从另一个表中获取一个表值的计数

wpf - WPF 应用程序和 Windows 8 的对齐问题

wpf - 绑定(bind)错误代码的含义是什么?在哪里可以找到它们的列表?

Grid.IsSharedSizeScope 和 ItemsControl.ItemTemplate 的 WPF 布局问题

c# - 策略模式还是命令模式?

c# - 如何禁用 EF 代码优先中链接表的级联删除?

c# - 使用相同代码实现时无法模仿 ConcurrentStack 的性能

c# - 使用 c# 和 mysql 更新表

c# - 验证一个字符串是否包含一些确切的词