You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove NetCoreReference
This removes the `NetCoreReference` infrastructure and replaces it with `DefaultReferenceExclusion` to remove the one problematic implicit reference to WindowsBase.
Manually picking references was blocking using System.Private.Windows.Core from the WinForms repo. Not having this also greatly simplifies the projects.
This also tweaks the solution to add folders docs and eng items.
Fixes#9168
* Put back test projects in solution
Copy file name to clipboardExpand all lines: Documentation/LocalMarkupCompilation.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,4 @@ It can be enabled for a project by setting this:
37
37
In addition to these, care must be taken for the following:
38
38
39
39
- Use `<EmbeddedResource>` instead of `<Resource>`
40
-
-`PresentationBuildTask` will strip out `<Resource>` items during `_CompileTemporaryAssembly` phase. Using `EmbeddedResource` is equivalent (esp. in for `Xlf` based string resource generation with `Arcade.Sdk`) and will not be adversely affected by `PresentationBuildTasks` transformations.
41
-
- Always use `<NetCoreReference>` instead of implicitly acquiring the full set of `Microsoft.NetCore.App` references.
42
-
-`Microsoft.NetCore.App` contains a version `WindowsBase` that clashes with WPF's `WindowsBase` during markup compilation.
43
-
- To avoid this clash, we must always specify the references we need explicitly.
44
-
- Also, our code-base requires that all references be specified explicitly anyway to avoid inadvertent reference-creep to bug-fixes.
40
+
-`PresentationBuildTask` will strip out `<Resource>` items during `_CompileTemporaryAssembly` phase. Using `EmbeddedResource` is equivalent (esp. in for `Xlf` based string resource generation with `Arcade.Sdk`) and will not be adversely affected by `PresentationBuildTasks` transformations.
And '$(TargetFrameworkIdentifier)' == '.NETCoreApp'
9
9
And $([MSBuild]::VersionGreaterThanOrEquals('$(TargetFrameworkVersion)', '3.0'))
10
-
And '$(NoAutoMicrosoftPrivateWinformsReference)'!='true'"/>
11
-
12
-
<!--
13
-
When @(NetCoreReference) is non-empty, exclude all assets (ExcludeAssets = All) and re-add them in
14
-
ResolveMicrosoftNetCoreAppReferences target
15
-
-->
16
-
<PackageReferenceUpdate="Microsoft.NETCore.App"
17
-
GeneratePathProperty="true"
18
-
ExcludeAssets="All"
19
-
Condition="'@(NetCoreReference)'!='' And '$(DoNotLimitMicrosoftNetCoreReferences)'!='true' And '$(MSBuildProjectExtension)'!='.vcxproj' And '$(DisableImplicitFrameworkReferences)' != 'true' And '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" />
10
+
And '$(NoAutoMicrosoftPrivateWinformsReference)' != 'true'"/>
20
11
21
12
<PackageReferenceUpdate="Microsoft.NETCore.App"
22
13
GeneratePathProperty="true"
23
-
Condition="('@(NetCoreReference)'=='' Or '$(DoNotLimitMicrosoftNetCoreReferences)' == 'true') And '$(MSBuildProjectExtension)'!='.vcxproj' And '$(DisableImplicitFrameworkReferences)' != 'true' And '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" />
14
+
Condition="'$(MSBuildProjectExtension)'!='.vcxproj' And '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" />
0 commit comments