Skip to content

Re-merge DirectWriteForwarder into PresentationCore #1727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0a3db80
Move PresentationCore down to PresentationCoreCSharp and build NetMod…
rladuca Aug 20, 2019
1036ca9
Move DirectWriteForwarder back to PresentationCoreCpp and ensure it's…
rladuca Aug 20, 2019
1117617
Fixing output extension for PCoreCSharp
rladuca Aug 20, 2019
f13c224
Renaming module for PresentationCoreCpp and updating project to only …
rladuca Aug 20, 2019
383cce2
Fixing PBT to point to CSharp portion of PCore
rladuca Aug 21, 2019
31571d9
Further work on merging PCore back
rladuca Aug 21, 2019
482f517
Fixing CPP build to properly output object files and copy them to the…
rladuca Aug 21, 2019
0ddfcab
Fixing issues with linker output type
rladuca Aug 21, 2019
b55aeba
Fixing resource SRID generation for PresentationCoreCSharp
rladuca Aug 21, 2019
f5b540c
Force PCore netmodule to always build as AnyCPU to avoid LNK1302.
rladuca Aug 21, 2019
b32ea18
Adding comment for linker specific change.
rladuca Aug 21, 2019
b0c2a57
Adding merged PresentationCore to full build
rladuca Aug 23, 2019
397deee
Removing DirectWriteForwarder
rladuca Aug 23, 2019
242e3b0
Fixing issues with conflicting assembly attributes by turning off ass…
rladuca Aug 25, 2019
692b4b9
Fixing assembly info generation for C++/CLI to allow PresentationCore…
rladuca Aug 25, 2019
764d7b6
Move and embed CompositeFont files into WindowsBase so PresentationCo…
rladuca Aug 25, 2019
10617d0
Fixing resources in PCoreCSharp to generate correct classnames (they …
rladuca Aug 25, 2019
6abfc5b
Adding back missing assembly attributes to the merged assembly.
rladuca Aug 25, 2019
7de4efa
Adding back PresentationCore ref assembly.
rladuca Aug 25, 2019
221389b
Ensuring full build uses merged PresentationCore.
rladuca Aug 25, 2019
e8d16ff
Re-enabling API Compat and baselining.
rladuca Aug 25, 2019
f5d775c
Fixing bad URL in PCore xlmns definitions.
rladuca Aug 26, 2019
41185f5
Fixing issues with missing ProjectReferences from test projects that …
rladuca Aug 26, 2019
237b4b6
Fixing platform mismatch errors during build.
rladuca Aug 26, 2019
17298e8
Hoisting ILLink hints resource into props and enabling for all projec…
rladuca Aug 26, 2019
0ee2dfb
Adding DesignTimeBuild conditions to any PresentationCore reference. …
rladuca Aug 26, 2019
c734549
Fixing PresentationUI cycle breaker to not depend on internals from P…
rladuca Aug 26, 2019
78b4936
Removing DirectWriteForwarder from BuildInfo and fixing breaks.
rladuca Aug 26, 2019
af9e2b6
Update ILLinkTrim additions to run as a target detecting PCore or Sys…
rladuca Aug 27, 2019
d33eec8
Using DependOn properties to invoke EnsureILLinkerTrimming target.
rladuca Aug 27, 2019
c491989
Add DesignTimeBuild condition and remove GUID from PCoreCPP reference.
rladuca Aug 27, 2019
3b11756
Renaming PresentationCoreCPP to DirectWriteForwarder and ensuring Dir…
rladuca Aug 27, 2019
c1cd464
Fixing up comment about C++/CLI projects.
rladuca Aug 27, 2019
3878011
Remove unused AvTraceMessages.txt
rladuca Aug 28, 2019
4b21df8
Remove extraneous lines from themes projects.
rladuca Aug 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 39 additions & 14 deletions Microsoft.Dotnet.Wpf.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Microsoft.DotNet.Wpf.Projec
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WindowsBase", "src\Microsoft.DotNet.Wpf\src\WindowsBase\WindowsBase.csproj", "{FA69991B-9696-42D0-A5C7-F5E73F0DEE9E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectWriteForwarder", "src\Microsoft.DotNet.Wpf\src\DirectWriteForwarder\DirectWriteForwarder.vcxproj", "{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PresentationCore", "PresentationCore", "{71F15358-4D5F-4A27-9639-CAC2DA4D88C6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PresentationCore", "src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj", "{74C63A45-EAE5-407A-9F89-E0C6BC604841}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PresentationCoreCSharp", "src\Microsoft.DotNet.Wpf\src\PresentationCore\CSharp\PresentationCoreCSharp.csproj", "{74C63A45-EAE5-407A-9F89-E0C6BC604841}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DirectWriteForwarder", "src\Microsoft.DotNet.Wpf\src\PresentationCore\DirectWriteForwarder\DirectWriteForwarder.vcxproj", "{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PresentationCore", "src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.vcxproj", "{E490620F-542F-4F65-9DAA-577F17B0CCB9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PresentationFramework", "src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj", "{B0C1157E-8664-44C4-AD8E-35CD6A78C769}"
EndProject
Expand Down Expand Up @@ -279,6 +283,18 @@ Global
{FA69991B-9696-42D0-A5C7-F5E73F0DEE9E}.Release|x64.Build.0 = Release|x64
{FA69991B-9696-42D0-A5C7-F5E73F0DEE9E}.Release|x86.ActiveCfg = Release|Any CPU
{FA69991B-9696-42D0-A5C7-F5E73F0DEE9E}.Release|x86.Build.0 = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x64.ActiveCfg = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x64.Build.0 = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x86.ActiveCfg = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x86.Build.0 = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|Any CPU.Build.0 = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x64.ActiveCfg = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x64.Build.0 = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x86.ActiveCfg = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x86.Build.0 = Release|Any CPU
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}.Debug|Any CPU.ActiveCfg = Debug|Win32
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}.Debug|Any CPU.Build.0 = Debug|Win32
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}.Debug|Any CPU.Deploy.0 = Debug|Win32
Expand All @@ -297,18 +313,24 @@ Global
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}.Release|x86.ActiveCfg = Release|Win32
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}.Release|x86.Build.0 = Release|Win32
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E}.Release|x86.Deploy.0 = Release|Win32
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x64.ActiveCfg = Debug|x64
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x64.Build.0 = Debug|x64
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x86.ActiveCfg = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Debug|x86.Build.0 = Debug|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|Any CPU.Build.0 = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x64.ActiveCfg = Release|x64
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x64.Build.0 = Release|x64
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x86.ActiveCfg = Release|Any CPU
{74C63A45-EAE5-407A-9F89-E0C6BC604841}.Release|x86.Build.0 = Release|Any CPU
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|Any CPU.ActiveCfg = Debug|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|Any CPU.Build.0 = Debug|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|Any CPU.Deploy.0 = Debug|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|x64.ActiveCfg = Debug|x64
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|x64.Build.0 = Debug|x64
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|x64.Deploy.0 = Debug|x64
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|x86.ActiveCfg = Debug|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|x86.Build.0 = Debug|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Debug|x86.Deploy.0 = Debug|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|Any CPU.ActiveCfg = Release|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|Any CPU.Build.0 = Release|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|Any CPU.Deploy.0 = Release|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|x64.ActiveCfg = Release|x64
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|x64.Build.0 = Release|x64
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|x64.Deploy.0 = Release|x64
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|x86.ActiveCfg = Release|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|x86.Build.0 = Release|Win32
{E490620F-542F-4F65-9DAA-577F17B0CCB9}.Release|x86.Deploy.0 = Release|Win32
{B0C1157E-8664-44C4-AD8E-35CD6A78C769}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0C1157E-8664-44C4-AD8E-35CD6A78C769}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0C1157E-8664-44C4-AD8E-35CD6A78C769}.Debug|x64.ActiveCfg = Debug|x64
Expand Down Expand Up @@ -1037,6 +1059,9 @@ Global
{1D4C8AD7-12E7-4987-98AF-AEE79F53E494} = {0159B0F1-0626-4BED-8D1B-CBFF4F12C369}
{440D06B8-E3DE-4C0D-AD25-CD4F43D836E1} = {1D4C8AD7-12E7-4987-98AF-AEE79F53E494}
{22D643D8-87D6-4FE8-9632-58A3CD3DC7CB} = {0159B0F1-0626-4BED-8D1B-CBFF4F12C369}
{74C63A45-EAE5-407A-9F89-E0C6BC604841} = {71F15358-4D5F-4A27-9639-CAC2DA4D88C6}
{50A5318F-3B9A-48B9-9615-D5FA9D6D9C3E} = {71F15358-4D5F-4A27-9639-CAC2DA4D88C6}
{E490620F-542F-4F65-9DAA-577F17B0CCB9} = {71F15358-4D5F-4A27-9639-CAC2DA4D88C6}
{2DD6F2F8-DFF4-4EE1-9D48-0FD692DB084D} = {4572CF94-B209-4479-85AB-59CA87BF5AFA}
{D242FDF9-F132-4154-BB9F-3F85C39F6F4C} = {4572CF94-B209-4479-85AB-59CA87BF5AFA}
{4C99DEEE-ED7A-4225-8127-3B1E6EDB39D0} = {4572CF94-B209-4479-85AB-59CA87BF5AFA}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<linker>
<!-- Include dependencies of DirectWriteForwarder, which is not
<!-- Include C++/CLI assembly dependencies, which are not
analyzed by the linker. -->
<assembly fullname="System.Diagnostics.Debug" />
<assembly fullname="mscorlib" />
Expand Down
2 changes: 0 additions & 2 deletions eng/WpfArcadeSdk/tools/ShippingProjects.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
System.Xaml;
PresentationBuildTasks;
PresentationCore;
DirectWriteForwarder;
PresentationFramework;
ReachFramework;
UIAutomationClient;
Expand Down Expand Up @@ -108,7 +107,6 @@
These assemblies have the public key id 31bf3856ad364e35 (MicrosoftShared)
-->
<UseMicrosoftSharedKeyId>
DirectWriteForwarder;
PresentationBuildTasks;
PresentationCore;
PresentationCore-ref;
Expand Down
2 changes: 2 additions & 0 deletions eng/WpfArcadeSdk/tools/SystemResources.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<ClassName Condition="'$(AssemblyName)'=='PresentationUI'">System.Windows.TrustUI.SRID</ClassName>
<ClassName Condition="'$(AssemblyName)'=='WindowsFormsIntegration'">System.Windows.SRID</ClassName>
<ClassName Condition="'$(AssemblyName)'=='PresentationCore'">MS.Internal.PresentationCore.SRID </ClassName>
<!-- Required to ensure the PresentationCore CSharp NetModule builds. -->
<ClassName Condition="'$(AssemblyName)'=='PresentationCoreCSharp'">MS.Internal.PresentationCore.SRID </ClassName>
<Classname Condition="'%(ClassName)'==''">System.SRID</Classname>
</EmbeddedResource>
</ItemDefinitionGroup>
Expand Down
4 changes: 2 additions & 2 deletions eng/WpfArcadeSdk/tools/Wpf.Cpp.targets
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ END
Additional assembly scope attributes besides TargetFrameworkAttribute are added here
-->
<Target Name="GenerateTargetFrameworkMonikerAttribute2"
Condition="'$(ManagedCxx)'=='true'"
Condition="'$(ManagedCxx)'=='true' and '$(GenerateAssemblyInfo)'!='false'"
BeforeTargets="SetMscorlibAdditionalUsingDirectory"
DependsOnTargets="PrepareForBuild;GetReferenceAssemblyPaths;InitializeAssemblyAttributeInformation"
Outputs="$(TargetFrameworkMonikerAssemblyAttributesPath)">
Expand Down Expand Up @@ -296,7 +296,7 @@ using namespace System::Runtime::Versioning;
the C++ compiler.

A simple C# project is generated dynamically. It contains PackageReferences for common packages
that are used in WPF's C++/CLI projects. There are only two such projects - DirectWriteForwarder
that are used in WPF's C++/CLI projects. There are only three such projects - DirectWriteForwarder, PresentationCore
and System.Printing - which makes it unnecessary to create a flexible and parametrized target. This
can remain a simple and one-size-fits-all target for now.

Expand Down
43 changes: 38 additions & 5 deletions eng/WpfArcadeSdk/tools/WpfProjectReference.targets
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
<ItemGroup>
<WpfProjectPath Include="System.Xaml" ProjectPath="$(WpfSourceDir)System.Xaml\System.Xaml.csproj" />
<WpfProjectPath Include="WindowsBase" ProjectPath="$(WpfSourceDir)WindowsBase\WindowsBase.csproj" />
<WpfProjectPath Include="DirectWriteForwarder" ProjectPath="$(WpfSourceDir)DirectWriteForwarder\DirectWriteForwarder.vcxproj">
<UndefineProperties>TargetFramework;TargetFrameworks</UndefineProperties>
</WpfProjectPath>
<WpfProjectPath Include="System.Windows.Input.Manipulations" ProjectPath="$(WpfSourceDir)System.Windows.Input.Manipulations\System.Windows.Input.Manipulations.csproj" />
<WpfProjectPath Include="WindowsFormsIntegration" ProjectPath="$(WpfSourceDir)WindowsFormsIntegration\WindowsFormsIntegration.csproj" />

Expand Down Expand Up @@ -63,15 +60,51 @@
</CoreCompileDependsOn>
<ResolveReferencesDependsOn>
EnsureWpfProjectReference;
EnsureILLinkerTrimming;
$(ResolveReferencesDependsOn)
</ResolveReferencesDependsOn>
</ResolveReferencesDependsOn>
<MarkupCompilePass1DependsOn>
EnsureWpfProjectReference;
EnsureILLinkerTrimming;
$(MarkupCompilePass1DependsOn)
</MarkupCompilePass1DependsOn>
</PropertyGroup>


<!--
Automatically add ILLinkTrim.xml as a resource to any project that references
PresentationCore.vcxproj or System.Printing.vcxproj and is a shipping assembly
but not a reference assembly.
-->
<Target Name="EnsureILLinkerTrimming"
Condition="'$(IsShipping)'=='true'
and !$(HandCraftedReferenceProjects.Contains('$(MSBuildProjectName);'))
and !$(MSBuildProjectFile.Contains('vcxproj'))">
<ItemGroup>
<_PCoreAndSysPrintingReferences Include="@(ProjectReference)"
Condition="'%(Filename)%(Extension)'=='PresentationCore.vcxproj'
or '%(Filename)%(Extension)'=='System.Printing.vcxproj'"/>
<!--
Workaround for https://github.com/dotnet/wpf/issues/1385
ReadyToRun images of WPF applications crash

When producing ReadyToRun images, the ILLinker is configured to skip
C++/CLI images. See https://github.com/mono/linker/issues/651 and
https://github.com/mono/linker/pull/658.

In turn, this results in the failure of the dependencies of such assemblies from being
identified and included in the ReadyToRun images.

This linker hint exists to ensure that such dependencies are included. We need
to place these hints in an assembly that has a reference to the corresponding
C++/CLI assembly.
-->
<EmbeddedResource Include="$(WpfArcadeSdkToolsDir)ILLinkTrim.xml"
Condition="'@(_PCoreAndSysPrintingReferences->Count())' &gt; 0">
<XlfInput>false</XlfInput>
<LogicalName>$(AssemblyName).xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
</Target>

<Target Name="EnsureWpfProjectReference"
DependsOnTargets="$(EnsureWpfProjectReferenceDependsOn)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Compat issues with assembly PresentationCore:
TypesMustExist : Type 'MS.Internal.TrueTypeSubsetter' does not exist in the implementation but it does exist in the contract.
CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Windows.LocalizabilityAttribute' changed from '[AttributeUsageAttribute(412, AllowMultiple=false, Inherited=true)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple=false, Inherited=true)]' in the implementation.
CannotRemoveAttribute : Attribute 'MS.Internal.PresentationCore.FriendAccessAllowedAttribute' exists on 'System.Windows.Input.InputEventArgs' in the contract but not the implementation.
MembersMustExist : Member 'System.Windows.Media.Brush.AddRefOnChannelCore(System.Windows.Media.Composition.DUCE.Channel)' does not exist in the implementation but it does exist in the contract.
Expand All @@ -19,4 +20,4 @@ MembersMustExist : Member 'System.Windows.Media.Imaging.BitmapDecoder.SealObject
MembersMustExist : Member 'System.Windows.Media.Imaging.BitmapEncoder.SealObject()' does not exist in the implementation but it does exist in the contract.
MembersMustExist : Member 'System.Windows.Media.TextFormatting.TextFormatter.CreateParagraphCache(System.Windows.Media.TextFormatting.TextSource, System.Int32, System.Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache)' does not exist in the implementation but it does exist in the contract.
CannotChangeAttribute : Attribute 'System.AttributeUsageAttribute' on 'System.Windows.Resources.AssemblyAssociatedContentFileAttribute' changed from '[AttributeUsageAttribute(1, AllowMultiple=true)]' in the contract to '[AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple=true)]' in the implementation.
Total Issues: 20
Total Issues: 21
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.csproj" />
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.vcxproj" Condition="'$(DesignTimeBuild)'!='true'">
<UndefineProperties>TargetFramework;TargetFrameworks</UndefineProperties>
</ProjectReference>
<ProjectReference Include="$(WpfSourceDir)UIAutomation\UIAutomationProvider\UIAutomationProvider.csproj" />
<ProjectReference Include="$(WpfSourceDir)UIAutomation\UIAutomationTypes\UIAutomationTypes.csproj" />
<ProjectReference Include="$(WpfSourceDir)System.Xaml\System.Xaml.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.csproj" />
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.vcxproj" Condition="'$(DesignTimeBuild)'!='true'">
<UndefineProperties>TargetFramework;TargetFrameworks</UndefineProperties>
</ProjectReference>
<ProjectReference Include="$(WpfSourceDir)System.Xaml\System.Xaml.csproj" />
<ProjectReference Include="$(WpfSourceDir)WindowsBase\WindowsBase.csproj" />
<ProjectReference Include="$(WpfSourceDir)UIAutomation\UIAutomationProvider\UIAutomationProvider.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.csproj" />
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.vcxproj" Condition="'$(DesignTimeBuild)'!='true'">
<UndefineProperties>TargetFramework;TargetFrameworks</UndefineProperties>
</ProjectReference>
<ProjectReference Include="$(WpfSourceDir)System.Xaml\System.Xaml.csproj" />
<ProjectReference Include="$(WpfSourceDir)WindowsBase\WindowsBase.csproj" />
<ProjectReference Include="$(WpfSourceDir)UIAutomation\UIAutomationProvider\UIAutomationProvider.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.csproj" />
<ProjectReference Include="$(WpfSourceDir)PresentationCore\PresentationCore.vcxproj" Condition="'$(DesignTimeBuild)'!='true'">
<UndefineProperties>TargetFramework;TargetFrameworks</UndefineProperties>
</ProjectReference>
<ProjectReference Include="$(WpfSourceDir)System.Xaml\System.Xaml.csproj" />
<ProjectReference Include="$(WpfSourceDir)WindowsBase\WindowsBase.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// ------------------------------------------------------------------------------

using System.Runtime.CompilerServices;
using MS.Internal.PresentationCore;
using Microsoft.Internal;

[assembly:InternalsVisibleTo(BuildInfo.PresentationFramework)]

Expand Down
Loading