Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
A
aspnetcore
管理
动态
成员
标记
计划
议题
议题看板
里程碑
Wiki
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
构建
流水线
作业
流水线计划
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
模型实验
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
dotnet
aspnetcore
提交
87106707
未验证
提交
87106707
编辑于
5 years ago
作者:
Nate McMaster
提交者:
GitHub
5 years ago
浏览文件
操作
下载
补丁
差异文件
Always produce a .zip and .tar.gz for the targeting pack (#11230)
上级
9466ec70
No related branches found
分支 包含提交
No related tags found
标签 包含提交
无相关合并请求
变更
2
隐藏空白变更内容
行内
左右并排
显示
2 个更改的文件
docs/BuildFromSource.md
+1
-1
1 个添加, 1 个删除
docs/BuildFromSource.md
src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
+10
-11
10 个添加, 11 个删除
src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
有
11 个添加
和
12 个删除
docs/BuildFromSource.md
+
1
−
1
浏览文件 @
87106707
...
...
@@ -11,7 +11,7 @@ See https://github.com/aspnet/AspNetCore/labels/area-infrastructure for known is
Building ASP.NET Core on Windows requires:
*
Windows 10
*
Windows 10
, version 1803 or newer
*
At least 10 GB of disk space and a good internet connection (our build scripts download a lot of tools and dependencies)
*
Visual Studio 2019.
<https://visualstudio.com>
*
To install the exact required components, run
[
eng/scripts/InstallVisualStudio.ps1
](
/eng/scripts/InstallVisualStudio.ps1
)
.
...
...
此差异已折叠。
点击以展开。
src/Framework/ref/Microsoft.AspNetCore.App.Ref.csproj
+
10
−
11
浏览文件 @
87106707
...
...
@@ -56,9 +56,9 @@ This package is an internal implementation of the .NET Core SDK and is not meant
<LayoutTargetDir>$(TargetingPackLayoutRoot)$(TargetingPackSubPath)</LayoutTargetDir>
<LocalInstallationOutputPath>$(LocalDotNetRoot)$(TargetingPackSubPath)</LocalInstallationOutputPath>
<ArchiveOutputFileName
Condition="'$(TargetRuntimeIdentifier)' == 'win-x64'"
>aspnetcore-targeting-pack-$(PackageVersion)
.zip
</ArchiveOutputFileName>
<ArchiveOutput
FileName Condition="'$(TargetRuntimeIdentifier)' == 'linux-x64'">aspnetcore-targeting-pack-$(PackageVersion).tar.gz</
ArchiveOutput
FileName
>
<ArchiveOutputPath>$(InstallersOutputPath)$(ArchiveOutputFileName)
</
ArchiveOutputPath>
<ArchiveOutputFileName>aspnetcore-targeting-pack-$(PackageVersion)</ArchiveOutputFileName>
<
Zip
ArchiveOutput
Path>$(InstallersOutputPath)$(ArchiveOutputFileName).zip</Zip
ArchiveOutput
Path
>
<
Tar
ArchiveOutputPath>$(InstallersOutputPath)$(ArchiveOutputFileName)
.tar.gz</Tar
ArchiveOutputPath>
</PropertyGroup>
<PropertyGroup>
...
...
@@ -161,18 +161,17 @@ This package is an internal implementation of the .NET Core SDK and is not meant
<Target Name="_CreateTargetingPackArchive"
Inputs="@(RefPackContent)"
Outputs="$(ArchiveOutputPath)"
Outputs="$(
ZipArchiveOutputPath);$(Tar
ArchiveOutputPath)"
Condition="'$(IsPackable)' == 'true'">
<ZipDirectory
SourceDirectory="$(TargetingPackLayoutRoot)"
DestinationFile="$(ArchiveOutputPath)"
Overwrite="true"
Condition="'$(TargetRuntimeIdentifier)' == 'win-x64'" /
>
DestinationFile="$(
Zip
ArchiveOutputPath)"
Overwrite="true"
/>
<!-- Requires Windows 10 version 1803 or newer --
>
<Exec
Command="tar -czf $(ArchiveOutputPath) ."
WorkingDirectory="$(TargetingPackLayoutRoot)"
Condition="'$(TargetRuntimeIdentifier)' == 'linux-x64'" />
<Message Importance="High" Text="$(MSBuildProjectName) -> $(ArchiveOutputPath)" />
Command="tar -czf $(TarArchiveOutputPath) ."
WorkingDirectory="$(TargetingPackLayoutRoot)" />
<Message Importance="High" Text="$(MSBuildProjectName) -> $(TarArchiveOutputPath)" />
</Target>
</Project>
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录