File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 4040 <AssemblyMetadata Include =" Commit" Condition =" '$(SourceRevisionId)'!=''" >
4141 <Value >$(SourceRevisionId)</Value >
4242 </AssemblyMetadata >
43+
44+ <!--
45+ Crossgen wants to detect when an assembly is built from C++/CLI sources,
46+ since it is unable to function correctly today (ostensibly due to bugs). Since
47+ /clr:pure is deprecated and WPF will eventually switch over to /clr (i.e., IJW),
48+ Crossgen will eventually (i.e., in the near-term) fail to work on C++/CLI
49+ assemblies anyway.
50+
51+ Crossgen will detect [assembly: AssemblyMetadta("Language", "C++")] and
52+ skip those assemblies. WPF will add this attribute to assemblies that are
53+ compiled from C++/CLI sources.
54+
55+ WPF will also add [assembly: AssemblyMetadata("Language, "C#")] to C#
56+ assemblies.
57+
58+ https://github.com/dotnet/wpf/issues/587
59+ -->
60+ <AssemblyMetadata Include =" Language" Condition =" '$(Language)'!=''" >
61+ <Value >$(Language)</Value >
62+ </AssemblyMetadata >
4363 </ItemGroup >
4464 </Target >
4565
You can’t perform that action at this time.
0 commit comments