Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
dotNET Platform
wpf
提交
9f51ab40
W
wpf
项目概览
dotNET Platform
/
wpf
11 个月 前同步成功
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
wpf
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9f51ab40
编写于
7月 07, 2020
作者:
R
Ryland
提交者:
GitHub
7月 07, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3155 from wli3/muti-target-5.0-second-part
Muti target 5.0 second part
上级
07e62664
cb0fd98c
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
6 addition
and
30 deletion
+6
-30
eng/WpfArcadeSdk/tools/Pbt.props
eng/WpfArcadeSdk/tools/Pbt.props
+0
-17
packaging/Microsoft.NET.Sdk.WindowsDesktop/Sdk/Sdk.props
packaging/Microsoft.NET.Sdk.WindowsDesktop/Sdk/Sdk.props
+5
-7
packaging/Microsoft.NET.Sdk.WindowsDesktop/Sdk/Sdk.targets
packaging/Microsoft.NET.Sdk.WindowsDesktop/Sdk/Sdk.targets
+1
-2
src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft.WinFX.props
...tNet.Wpf/src/PresentationBuildTasks/Microsoft.WinFX.props
+0
-3
src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj
.../src/PresentationBuildTasks/PresentationBuildTasks.csproj
+0
-1
未找到文件。
eng/WpfArcadeSdk/tools/Pbt.props
浏览文件 @
9f51ab40
<Project>
<PropertyGroup>
<LocalMicrosoftWinFXProps>$(RepoRoot)src\Microsoft.DotNet.Wpf\src\PresentationBuildTasks\Microsoft.WinFX.props</LocalMicrosoftWinFXProps>
<LocalMicrosoftWinFXTargets>$(RepoRoot)src\Microsoft.DotNet.Wpf\src\PresentationBuildTasks\Microsoft.WinFX.targets</LocalMicrosoftWinFXTargets>
</PropertyGroup>
...
...
@@ -35,8 +34,6 @@
Project="../targets/Microsoft.NET.Sdk.WindowsDesktop.props"
Condition="!Exists('$(LocalMicrosoftWinFXTargets)') And '$(InternalMarkupCompilation)'=='true'"/>
We need Microsoft.WinFX.props though, so that's imported here specifically.
The use of Microsoft.NET.Sdk.WindowsDesktop doesn't break the source-build promise.
- Microsoft.NET.Sdk.WindowsDesktop is built from sources
- It is used for compilation of assemblies in dotnet-wpf-int (the internal WPF repo), and serves as a
...
...
@@ -46,18 +43,4 @@
as a convenient 'transport package').
-->
<!--
If local PresentationBuildTasks project is present, then import WinFX.props from local sources;
otherwise import Microsoft.NET.Sdk.WindowsDesktop.props from Microsoft.NET.Sdk.WindowsDesktop
We can not really test for $(InternalMarkupCompilation)==true here. It is usually defined
in the csproj - which is included after props (but before targets).
-->
<Import Project="$(WpfSourceDir)PresentationBuildTasks\Microsoft.WinFX.props"
Condition="Exists('$(LocalMicrosoftWinFXProps)') "/>
<Import Sdk="Microsoft.NET.Sdk.WindowsDesktop"
Project="../targets/Microsoft.WinFX.props"
Condition="!Exists('$(LocalMicrosoftWinFXProps)') And
Exists('../targets/Microsoft.WinFX.props')"/>
</Project>
packaging/Microsoft.NET.Sdk.WindowsDesktop/Sdk/Sdk.props
浏览文件 @
9f51ab40
...
...
@@ -17,13 +17,11 @@ Copyright (c) .NET Foundation. All rights reserved.
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
<!--
The MicrosoftWindowsDesktopSdkPath is a hook so that you can redirect to a local version of the WPF SDK targets
(ie in order to test changes locally) without modifying the .NET Core SDK itself. This should work
as long as there are no changes to Sdk.props and Sdk.targets themselves.
-->
<PropertyGroup
Condition="'$(MicrosoftWindowsDesktopSdkPath)' == ''"
>
<
MicrosoftWindowsDesktopSdkPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)\..\targets))</MicrosoftWindowsDesktopSdkPath
>
<!--
Set ImportWindowsDesktopTargets to force import WindowsDesktop Targets to enable pre 5.0 behavior.
Post 5.0, Microsoft.NET.Sdk.WindowsDesktop.props will always be imported by SDK
-->
<PropertyGroup>
<
ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets
>
</PropertyGroup>
<Import Project="$(MicrosoftWindowsDesktopSdkPath)\Microsoft.NET.Sdk.WindowsDesktop.props "/>
</Project>
packaging/Microsoft.NET.Sdk.WindowsDesktop/Sdk/Sdk.targets
浏览文件 @
9f51ab40
...
...
@@ -12,7 +12,6 @@ Copyright (c) .NET Foundation. All rights reserved.
<Project>
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Project="$(MicrosoftWindowsDesktopSdkPath)\Microsoft.NET.Sdk.WindowsDesktop.targets "/>
<!--Post 5.0, Microsoft.NET.Sdk.WindowsDesktop.targets will be imported by SDK conditionally-->
</Project>
src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft.WinFX.props
已删除
100644 → 0
浏览文件 @
07e62664
<Project>
</Project>
src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj
浏览文件 @
9f51ab40
...
...
@@ -44,7 +44,6 @@
content\targets\
-->
<ItemGroup>
<PackagingContent Include="$(MSBuildThisFileDirectory)Microsoft.WinFX.props" SubFolder="root\targets" />
<PackagingContent Include="$(MSBuildThisFileDirectory)Microsoft.WinFX.targets" SubFolder="root\targets" />
</ItemGroup>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录