Compare commits
No commits in common. "ci" and "release/7.0.3xx" have entirely different histories.
ci
...
release/7.
681 changed files with 51791 additions and 120 deletions
23
.devcontainer/devcontainer.json
Normal file
23
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/dotnet
|
||||||
|
{
|
||||||
|
"name": "Source-Build w/ Built Tarball",
|
||||||
|
"image": "mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-33-20210222183538-031e7d2",
|
||||||
|
// A completely built .NET source-tarball is >64 GB
|
||||||
|
"hostRequirements": {
|
||||||
|
"storage": "128gb"
|
||||||
|
},
|
||||||
|
// Configure tool-specific properties.
|
||||||
|
"customizations": {
|
||||||
|
// Configure properties specific to VS Code.
|
||||||
|
"vscode": {
|
||||||
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
|
"extensions": [
|
||||||
|
"ms-dotnettools.csharp",
|
||||||
|
"eamodio.gitlens"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// Use 'onCreateCommand' to run pre-build commands inside the codespace.
|
||||||
|
"onCreateCommand": "${containerWorkspaceFolder}/.devcontainer/source-build-scripts/buildTarball.sh"
|
||||||
|
}
|
12
.devcontainer/source-build-scripts/buildTarball.sh
Executable file
12
.devcontainer/source-build-scripts/buildTarball.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
./.devcontainer/source-build-scripts/createTarball.sh
|
||||||
|
|
||||||
|
cd $(realpath ..)/dotnet-source/
|
||||||
|
|
||||||
|
./prep.sh
|
||||||
|
|
||||||
|
# GitHub Codespaces automatically sets RepositoryName, which conflicts with source-build scripts.
|
||||||
|
unset RepositoryName
|
||||||
|
|
||||||
|
./build.sh --online --clean-while-building || true
|
7
.devcontainer/source-build-scripts/createTarball.sh
Executable file
7
.devcontainer/source-build-scripts/createTarball.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Always return exit code 0 so that we can use the codespaces prebuild to diagnose build errors.
|
||||||
|
./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=$(realpath ..)/dotnet-source/ /p:PreserveTarballGitFolders=true || true
|
||||||
|
|
||||||
|
# Save the commit hash of the currently built repo, so developers know which version was built
|
||||||
|
git rev-parse HEAD > ./artifacts/prebuild.sha
|
20
.devcontainer/source-build-tarball/devcontainer.json
Normal file
20
.devcontainer/source-build-tarball/devcontainer.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/dotnet
|
||||||
|
{
|
||||||
|
"name": "Source-Build w/ Tarball",
|
||||||
|
"image": "mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-33-20210222183538-031e7d2",
|
||||||
|
// A completely built .NET source tarball is >64 GB
|
||||||
|
"hostRequirements": {
|
||||||
|
"storage": "128gb"
|
||||||
|
},
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"ms-dotnettools.csharp",
|
||||||
|
"eamodio.gitlens"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// Use 'onCreateCommand' to run pre-build commands inside the codespace.
|
||||||
|
"onCreateCommand": "${containerWorkspaceFolder}/.devcontainer/scripts/createTarball.sh"
|
||||||
|
}
|
5
.devcontainer/source-build/devcontainer.json
Normal file
5
.devcontainer/source-build/devcontainer.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// Use this devcontainer if you don't need the full context of a source-build tarball
|
||||||
|
{
|
||||||
|
"name": "Source-Build",
|
||||||
|
"image": "mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-33-20210222183538-031e7d2"
|
||||||
|
}
|
149
.editorconfig
Normal file
149
.editorconfig
Normal file
|
@ -0,0 +1,149 @@
|
||||||
|
# editorconfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Default settings:
|
||||||
|
# A newline ending every file
|
||||||
|
# Use 4 spaces as indentation
|
||||||
|
[*]
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[project.json]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# C# files
|
||||||
|
[*.cs]
|
||||||
|
# New line preferences
|
||||||
|
csharp_new_line_before_open_brace = all
|
||||||
|
csharp_new_line_before_else = true
|
||||||
|
csharp_new_line_before_catch = true
|
||||||
|
csharp_new_line_before_finally = true
|
||||||
|
csharp_new_line_before_members_in_object_initializers = true
|
||||||
|
csharp_new_line_before_members_in_anonymous_types = true
|
||||||
|
csharp_new_line_within_query_expression_clauses = true
|
||||||
|
|
||||||
|
# Indentation preferences
|
||||||
|
csharp_indent_block_contents = true
|
||||||
|
csharp_indent_braces = false
|
||||||
|
csharp_indent_case_contents = true
|
||||||
|
csharp_indent_switch_labels = true
|
||||||
|
csharp_indent_labels = flush_left
|
||||||
|
|
||||||
|
# avoid this. unless absolutely necessary
|
||||||
|
dotnet_style_qualification_for_field = false:suggestion
|
||||||
|
dotnet_style_qualification_for_property = false:suggestion
|
||||||
|
dotnet_style_qualification_for_method = false:suggestion
|
||||||
|
dotnet_style_qualification_for_event = false:suggestion
|
||||||
|
|
||||||
|
# only use var when it's obvious what the variable type is
|
||||||
|
csharp_style_var_for_built_in_types = false:none
|
||||||
|
csharp_style_var_when_type_is_apparent = false:none
|
||||||
|
csharp_style_var_elsewhere = false:suggestion
|
||||||
|
|
||||||
|
# use language keywords instead of BCL types
|
||||||
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
||||||
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
||||||
|
|
||||||
|
# name all constant fields using PascalCase
|
||||||
|
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
|
||||||
|
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
|
||||||
|
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.constant_fields.applicable_kinds = field
|
||||||
|
dotnet_naming_symbols.constant_fields.required_modifiers = const
|
||||||
|
|
||||||
|
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||||
|
|
||||||
|
# internal and private fields should be _camelCase
|
||||||
|
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
|
||||||
|
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
|
||||||
|
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
|
||||||
|
|
||||||
|
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
|
||||||
|
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
|
||||||
|
|
||||||
|
dotnet_naming_style.camel_case_underscore_style.required_prefix = _
|
||||||
|
dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
|
||||||
|
|
||||||
|
# Code style defaults
|
||||||
|
dotnet_sort_system_directives_first = true
|
||||||
|
csharp_preserve_single_line_blocks = true
|
||||||
|
csharp_preserve_single_line_statements = false
|
||||||
|
|
||||||
|
# Expression-level preferences
|
||||||
|
dotnet_style_object_initializer = true:suggestion
|
||||||
|
dotnet_style_collection_initializer = true:suggestion
|
||||||
|
dotnet_style_explicit_tuple_names = true:suggestion
|
||||||
|
dotnet_style_coalesce_expression = true:suggestion
|
||||||
|
dotnet_style_null_propagation = true:suggestion
|
||||||
|
|
||||||
|
# Expression-bodied members
|
||||||
|
csharp_style_expression_bodied_methods = false:none
|
||||||
|
csharp_style_expression_bodied_constructors = false:none
|
||||||
|
csharp_style_expression_bodied_operators = false:none
|
||||||
|
csharp_style_expression_bodied_properties = true:none
|
||||||
|
csharp_style_expression_bodied_indexers = true:none
|
||||||
|
csharp_style_expression_bodied_accessors = true:none
|
||||||
|
|
||||||
|
# Pattern matching
|
||||||
|
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
|
||||||
|
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
|
||||||
|
csharp_style_inlined_variable_declaration = true:suggestion
|
||||||
|
|
||||||
|
# Null checking preferences
|
||||||
|
csharp_style_throw_expression = true:suggestion
|
||||||
|
csharp_style_conditional_delegate_call = true:suggestion
|
||||||
|
|
||||||
|
# Space preferences
|
||||||
|
csharp_space_after_cast = false
|
||||||
|
csharp_space_after_colon_in_inheritance_clause = true
|
||||||
|
csharp_space_after_comma = true
|
||||||
|
csharp_space_after_dot = false
|
||||||
|
csharp_space_after_keywords_in_control_flow_statements = true
|
||||||
|
csharp_space_after_semicolon_in_for_statement = true
|
||||||
|
csharp_space_around_binary_operators = before_and_after
|
||||||
|
csharp_space_around_declaration_statements = do_not_ignore
|
||||||
|
csharp_space_before_colon_in_inheritance_clause = true
|
||||||
|
csharp_space_before_comma = false
|
||||||
|
csharp_space_before_dot = false
|
||||||
|
csharp_space_before_open_square_brackets = false
|
||||||
|
csharp_space_before_semicolon_in_for_statement = false
|
||||||
|
csharp_space_between_empty_square_brackets = false
|
||||||
|
csharp_space_between_method_call_empty_parameter_list_parentheses = false
|
||||||
|
csharp_space_between_method_call_name_and_opening_parenthesis = false
|
||||||
|
csharp_space_between_method_call_parameter_list_parentheses = false
|
||||||
|
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
|
||||||
|
csharp_space_between_method_declaration_name_and_open_parenthesis = false
|
||||||
|
csharp_space_between_method_declaration_parameter_list_parentheses = false
|
||||||
|
csharp_space_between_parentheses = false
|
||||||
|
csharp_space_between_square_brackets = false
|
||||||
|
|
||||||
|
# C++ Files
|
||||||
|
[*.{cpp,h,in}]
|
||||||
|
curly_bracket_next_line = true
|
||||||
|
indent_brace_style = Allman
|
||||||
|
|
||||||
|
# Xml project files
|
||||||
|
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# Xml build files
|
||||||
|
[*.builds]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# Xml files
|
||||||
|
[*.{xml,stylecop,resx,ruleset}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# Xml config files
|
||||||
|
[*.{props,targets,config,nuspec}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# Shell scripts
|
||||||
|
[*.sh]
|
||||||
|
end_of_line = lf
|
||||||
|
[*.{cmd, bat}]
|
||||||
|
end_of_line = crlf
|
|
@ -1,70 +0,0 @@
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
ref_name:
|
|
||||||
description: 'Tag or commit'
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-tarball:
|
|
||||||
name: Build tarball
|
|
||||||
runs-on: x86_64
|
|
||||||
container:
|
|
||||||
image: alpine:3.20
|
|
||||||
steps:
|
|
||||||
- name: Environment setup
|
|
||||||
run: apk add nodejs git xz gzip dotnet6-sdk sed bash
|
|
||||||
- name: Repo pull
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 500
|
|
||||||
ref: ${{ inputs.ref_name }}
|
|
||||||
- name: Package build
|
|
||||||
run: |
|
|
||||||
if test $GITHUB_REF_NAME == "ci" ; then
|
|
||||||
CI_REF_NAME=${{ inputs.ref_name }}
|
|
||||||
else
|
|
||||||
CI_REF_NAME=$GITHUB_REF_NAME
|
|
||||||
fi
|
|
||||||
sed 's|<Exec Command="tar.*|<Exec Command="tar -cf $(TarballFilePath) -C $(TarballDir)/.. $([MSBuild]::MakeRelative($([System.IO.Path]::GetDirectoryName($(TarballDir))), $(TarballDir)))" />|' -i src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets
|
|
||||||
export _cli_root=/usr/lib/dotnet
|
|
||||||
echo "Building dotnet-$CI_REF_NAME tarball"
|
|
||||||
_InitializeDotNetCli="$_cli_root" DOTNET_INSTALL_DIR="$_cli_root" DotNetBuildFromSource=true ./build.sh /p:ArcadeBuildTarball=true /p:EnableSourceLink=false /p:CheckEolTargetFramework=false /p:TarballDir=$(pwd)/dotnet-$CI_REF_NAME /p:TarballFilePath=$(pwd)/dotnet-$CI_REF_NAME.tar
|
|
||||||
echo "Compressing dotnet-$CI_REF_NAME.tar.xz"
|
|
||||||
xz -T0 -9 -vv -e -c > ./dotnet-$CI_REF_NAME.tar.xz < ./dotnet-$CI_REF_NAME.tar
|
|
||||||
echo "Generating sha512sum and sha256sum"
|
|
||||||
sha512sum dotnet-$CI_REF_NAME.tar.xz > dotnet-$CI_REF_NAME.tar.xz.sha512sum
|
|
||||||
sha256sum dotnet-$CI_REF_NAME.tar.xz > dotnet-$CI_REF_NAME.tar.xz.sha256sum
|
|
||||||
- name: Package upload
|
|
||||||
uses: forgejo/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: tarball
|
|
||||||
path: dotnet*.tar.*
|
|
||||||
retention-days: 1 day
|
|
||||||
upload-tarball:
|
|
||||||
name: Upload to generic repo
|
|
||||||
runs-on: x86_64
|
|
||||||
needs: [build-tarball]
|
|
||||||
container:
|
|
||||||
image: alpine:latest
|
|
||||||
steps:
|
|
||||||
- name: Environment setup
|
|
||||||
run: apk add nodejs curl findutils
|
|
||||||
- name: Package download
|
|
||||||
uses: forgejo/download-artifact@v3
|
|
||||||
- name: Package deployment
|
|
||||||
run: |
|
|
||||||
if test $GITHUB_REF_NAME == "ci" ; then
|
|
||||||
CI_REF_NAME=${{ inputs.ref_name }}
|
|
||||||
else
|
|
||||||
CI_REF_NAME=$GITHUB_REF_NAME
|
|
||||||
fi
|
|
||||||
echo "Uploading to ${{ github.server.url }}/api/packages/mirrors/generic/dotnet/$CI_REF_NAME/dotnet-$CI_REF_NAME.tar.xz"
|
|
||||||
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./tarball/dotnet-*.tar.xz ${{ github.server_url }}/api/packages/mirrors/generic/dotnet/$CI_REF_NAME/dotnet-$CI_REF_NAME.tar.xz
|
|
||||||
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./tarball/dotnet-*.tar.xz.sha512sum ${{ github.server_url }}/api/packages/mirrors/generic/dotnet/$CI_REF_NAME/dotnet-$CI_REF_NAME.tar.xz.sha512sum
|
|
||||||
curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./tarball/dotnet-*.tar.xz.sha256sum ${{ github.server_url }}/api/packages/mirrors/generic/dotnet/$CI_REF_NAME/dotnet-$CI_REF_NAME.tar.xz.sha256sum
|
|
|
@ -1,50 +0,0 @@
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
schedule:
|
|
||||||
- cron: '@hourly'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
mirror:
|
|
||||||
name: Pull from upstream
|
|
||||||
runs-on: x86_64
|
|
||||||
container:
|
|
||||||
image: alpine:latest
|
|
||||||
env:
|
|
||||||
upstream: https://github.com/dotnet/installer
|
|
||||||
tags: 'v6.0.1*'
|
|
||||||
steps:
|
|
||||||
- name: Environment setup
|
|
||||||
run: apk add grep git sed coreutils bash nodejs
|
|
||||||
- name: Fetch destination
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch_depth: 1
|
|
||||||
ref: ci
|
|
||||||
token: ${{ secrets.CODE_FORGEJO_TOKEN }}
|
|
||||||
- name: Missing tag detecting
|
|
||||||
run: |
|
|
||||||
git ls-remote $upstream "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' | sort > upstream_tags
|
|
||||||
git ls-remote ${{ github.server_url}}/${{ github.repository }} "refs/tags/$tags" | grep -v '{' | sed 's|.*/||' | sort > destination_tags
|
|
||||||
comm -23 upstream_tags destination_tags > missing_tags
|
|
||||||
echo "Missing tags:"
|
|
||||||
cat missing_tags
|
|
||||||
- name: Missing tag fetch
|
|
||||||
run: |
|
|
||||||
git remote add upstream $upstream
|
|
||||||
while read tag; do
|
|
||||||
git fetch upstream tag $tag --no-tags
|
|
||||||
done < missing_tags
|
|
||||||
- name: Packaging workflow injection
|
|
||||||
run: |
|
|
||||||
while read tag; do
|
|
||||||
git checkout $tag
|
|
||||||
git tag -d $tag
|
|
||||||
git checkout ci -- ./.forgejo
|
|
||||||
git config user.name "forgejo-actions[bot]"
|
|
||||||
git config user.email "dev@ayakael.net"
|
|
||||||
git commit -m 'Inject custom workflow'
|
|
||||||
git tag -a $tag -m $tag
|
|
||||||
done < missing_tags
|
|
||||||
- name: Push to destination
|
|
||||||
run: git push --force origin refs/tags/*:refs/tags/* --tags
|
|
55
.gitattributes
vendored
Normal file
55
.gitattributes
vendored
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
*.doc diff=astextplain
|
||||||
|
*.DOC diff=astextplain
|
||||||
|
*.docx diff=astextplain
|
||||||
|
*.DOCX diff=astextplain
|
||||||
|
*.dot diff=astextplain
|
||||||
|
*.DOT diff=astextplain
|
||||||
|
*.pdf diff=astextplain
|
||||||
|
*.PDF diff=astextplain
|
||||||
|
*.rtf diff=astextplain
|
||||||
|
*.RTF diff=astextplain
|
||||||
|
|
||||||
|
*.jpg binary
|
||||||
|
*.png binary
|
||||||
|
*.gif binary
|
||||||
|
|
||||||
|
*.sh eol=lf
|
||||||
|
|
||||||
|
*.cs text=auto diff=csharp
|
||||||
|
*.vb text=auto
|
||||||
|
*.resx text=auto
|
||||||
|
*.c text=auto
|
||||||
|
*.cpp text=auto
|
||||||
|
*.cxx text=auto
|
||||||
|
*.h text=auto
|
||||||
|
*.hxx text=auto
|
||||||
|
*.py text=auto
|
||||||
|
*.rb text=auto
|
||||||
|
*.java text=auto
|
||||||
|
*.html text=auto
|
||||||
|
*.htm text=auto
|
||||||
|
*.css text=auto
|
||||||
|
*.scss text=auto
|
||||||
|
*.sass text=auto
|
||||||
|
*.less text=auto
|
||||||
|
*.js text=auto
|
||||||
|
*.lisp text=auto
|
||||||
|
*.clj text=auto
|
||||||
|
*.sql text=auto
|
||||||
|
*.php text=auto
|
||||||
|
*.lua text=auto
|
||||||
|
*.m text=auto
|
||||||
|
*.asm text=auto
|
||||||
|
*.erl text=auto
|
||||||
|
*.fs text=auto
|
||||||
|
*.fsx text=auto
|
||||||
|
*.hs text=auto
|
||||||
|
|
||||||
|
*.props text=auto
|
||||||
|
*.targets text=auto
|
||||||
|
*.csproj text=auto
|
||||||
|
*.vbproj text=auto
|
||||||
|
*.fsproj text=auto
|
||||||
|
*.dbproj text=auto
|
||||||
|
*.xlf text=auto
|
||||||
|
*.sln text=auto eol=crlf
|
313
.gitignore
vendored
Normal file
313
.gitignore
vendored
Normal file
|
@ -0,0 +1,313 @@
|
||||||
|
### Repo-specific things ###
|
||||||
|
|
||||||
|
# Test results
|
||||||
|
*-testResults.xml
|
||||||
|
|
||||||
|
# Multicore JIT Optimization profiles
|
||||||
|
**/optimizationdata/dotnet
|
||||||
|
|
||||||
|
# Test Asset Manager files
|
||||||
|
.tam/
|
||||||
|
|
||||||
|
# NuGet keeps dropping
|
||||||
|
Library/
|
||||||
|
|
||||||
|
# local nuget cache
|
||||||
|
.nuget/
|
||||||
|
|
||||||
|
# NuGet v3 restore drops these even though we don't use MSBuild :(
|
||||||
|
*.nuget.targets
|
||||||
|
*.nuget.props
|
||||||
|
|
||||||
|
# Debian and python stuff
|
||||||
|
*.dsc
|
||||||
|
*.tar.gz
|
||||||
|
*.build
|
||||||
|
*.changes
|
||||||
|
*.deb
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
||||||
|
|
||||||
|
# OSX Packaging temp files
|
||||||
|
*.pkg
|
||||||
|
|
||||||
|
# OS X Device Services Store
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# CMake generated files
|
||||||
|
cmake/
|
||||||
|
|
||||||
|
# stage0 install directory
|
||||||
|
.dotnet_stage0
|
||||||
|
|
||||||
|
# build tools directory
|
||||||
|
build_tools
|
||||||
|
|
||||||
|
# `dotnet new` template zip files are generated by a pre-build step.
|
||||||
|
/src/dotnet/commands/dotnet-new/*.zip
|
||||||
|
|
||||||
|
### VisualStudio.gitignore from https://raw.githubusercontent.com/github/gitignore/master/VisualStudio.gitignore ###
|
||||||
|
|
||||||
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
|
||||||
|
# User-specific files
|
||||||
|
*.suo
|
||||||
|
*.user
|
||||||
|
*.userosscache
|
||||||
|
*.sln.docstates
|
||||||
|
|
||||||
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
||||||
|
*.userprefs
|
||||||
|
|
||||||
|
# Build results
|
||||||
|
[Dd]ebug/
|
||||||
|
[Dd]ebugPublic/
|
||||||
|
[Rr]elease/
|
||||||
|
[Rr]eleases/
|
||||||
|
x64/
|
||||||
|
x86/
|
||||||
|
bld/
|
||||||
|
[Bb]in/
|
||||||
|
[Oo]bj/
|
||||||
|
|
||||||
|
# Visual Studio 2015 cache/options directory
|
||||||
|
.vs/
|
||||||
|
|
||||||
|
# Visual Studio Code cache/options directory
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||||
|
#wwwroot/
|
||||||
|
|
||||||
|
# MSTest test Results
|
||||||
|
[Tt]est[Rr]esult*/
|
||||||
|
[Bb]uild[Ll]og.*
|
||||||
|
|
||||||
|
# NUNIT
|
||||||
|
*.VisualState.xml
|
||||||
|
TestResult.xml
|
||||||
|
|
||||||
|
# Build Results of an ATL Project
|
||||||
|
[Dd]ebugPS/
|
||||||
|
[Rr]eleasePS/
|
||||||
|
dlldata.c
|
||||||
|
|
||||||
|
# Build artifacts
|
||||||
|
artifacts/
|
||||||
|
artifacts-*/
|
||||||
|
bin/
|
||||||
|
.dotnet/
|
||||||
|
.dotnet-*/
|
||||||
|
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*_i.h
|
||||||
|
*.ilk
|
||||||
|
*.meta
|
||||||
|
*.obj
|
||||||
|
*.pch
|
||||||
|
*.pdb
|
||||||
|
*.pgc
|
||||||
|
*.pgd
|
||||||
|
*.rsp
|
||||||
|
*.sbr
|
||||||
|
*.tlb
|
||||||
|
*.tli
|
||||||
|
*.tlh
|
||||||
|
*.tmp
|
||||||
|
*.tmp_proj
|
||||||
|
*.log
|
||||||
|
*.binlog
|
||||||
|
*.vspscc
|
||||||
|
*.vssscc
|
||||||
|
.builds
|
||||||
|
*.pidb
|
||||||
|
*.svclog
|
||||||
|
*.scc
|
||||||
|
|
||||||
|
# BinLog artifacts
|
||||||
|
msbuild*ProjectImports.zip
|
||||||
|
|
||||||
|
# Chutzpah Test files
|
||||||
|
_Chutzpah*
|
||||||
|
|
||||||
|
# Visual C++ cache files
|
||||||
|
ipch/
|
||||||
|
*.aps
|
||||||
|
*.ncb
|
||||||
|
*.opendb
|
||||||
|
*.opensdf
|
||||||
|
*.sdf
|
||||||
|
*.cachefile
|
||||||
|
*.VC.db
|
||||||
|
*.VC.VC.opendb
|
||||||
|
|
||||||
|
# Visual Studio profiler
|
||||||
|
*.psess
|
||||||
|
*.vsp
|
||||||
|
*.vspx
|
||||||
|
*.sap
|
||||||
|
|
||||||
|
# TFS 2012 Local Workspace
|
||||||
|
$tf/
|
||||||
|
|
||||||
|
# Guidance Automation Toolkit
|
||||||
|
*.gpState
|
||||||
|
|
||||||
|
# ReSharper is a .NET coding add-in
|
||||||
|
_ReSharper*/
|
||||||
|
*.[Rr]e[Ss]harper
|
||||||
|
*.DotSettings.user
|
||||||
|
.idea/
|
||||||
|
*.iml
|
||||||
|
*.DotSettings
|
||||||
|
|
||||||
|
# JustCode is a .NET coding add-in
|
||||||
|
.JustCode
|
||||||
|
|
||||||
|
# TeamCity is a build add-in
|
||||||
|
_TeamCity*
|
||||||
|
|
||||||
|
# DotCover is a Code Coverage Tool
|
||||||
|
*.dotCover
|
||||||
|
|
||||||
|
# NCrunch
|
||||||
|
_NCrunch_*
|
||||||
|
.*crunch*.local.xml
|
||||||
|
nCrunchTemp_*
|
||||||
|
|
||||||
|
# MightyMoose
|
||||||
|
*.mm.*
|
||||||
|
AutoTest.Net/
|
||||||
|
|
||||||
|
# Web workbench (sass)
|
||||||
|
.sass-cache/
|
||||||
|
|
||||||
|
# Installshield output folder
|
||||||
|
[Ee]xpress/
|
||||||
|
|
||||||
|
# DocProject is a documentation generator add-in
|
||||||
|
DocProject/buildhelp/
|
||||||
|
DocProject/Help/*.HxT
|
||||||
|
DocProject/Help/*.HxC
|
||||||
|
DocProject/Help/*.hhc
|
||||||
|
DocProject/Help/*.hhk
|
||||||
|
DocProject/Help/*.hhp
|
||||||
|
DocProject/Help/Html2
|
||||||
|
DocProject/Help/html
|
||||||
|
|
||||||
|
# Publish Web Output
|
||||||
|
*.[Pp]ublish.xml
|
||||||
|
*.azurePubxml
|
||||||
|
# TODO: Comment the next line if you want to checkin your web deploy settings
|
||||||
|
# but database connection strings (with potential passwords) will be unencrypted
|
||||||
|
*.pubxml
|
||||||
|
*.publishproj
|
||||||
|
|
||||||
|
# NuGet Packages
|
||||||
|
*.nupkg
|
||||||
|
# The packages folder can be ignored because of Package Restore
|
||||||
|
**/packages/*
|
||||||
|
# except build/, which is used as an MSBuild target.
|
||||||
|
!**/packages/build/
|
||||||
|
# Uncomment if necessary however generally it will be regenerated when needed
|
||||||
|
#!**/packages/repositories.config
|
||||||
|
|
||||||
|
# Windows Azure Build Output
|
||||||
|
csx/
|
||||||
|
*.build.csdef
|
||||||
|
|
||||||
|
# Windows Azure Emulator
|
||||||
|
ecf/
|
||||||
|
rcf/
|
||||||
|
|
||||||
|
# Windows Store app package directory
|
||||||
|
AppPackages/
|
||||||
|
|
||||||
|
# Visual Studio cache files
|
||||||
|
# files ending in .cache can be ignored
|
||||||
|
*.[Cc]ache
|
||||||
|
# but keep track of directories ending in .cache
|
||||||
|
!*.[Cc]ache/
|
||||||
|
|
||||||
|
# Others
|
||||||
|
ClientBin/
|
||||||
|
[Ss]tyle[Cc]op.*
|
||||||
|
~$*
|
||||||
|
*~
|
||||||
|
*.dbmdl
|
||||||
|
*.dbproj.schemaview
|
||||||
|
*.pfx
|
||||||
|
*.publishsettings
|
||||||
|
node_modules/
|
||||||
|
orleans.codegen.cs
|
||||||
|
|
||||||
|
# RIA/Silverlight projects
|
||||||
|
Generated_Code/
|
||||||
|
|
||||||
|
# Backup & report files from converting an old project file
|
||||||
|
# to a newer Visual Studio version. Backup files are not needed,
|
||||||
|
# because we have git ;-)
|
||||||
|
_UpgradeReport_Files/
|
||||||
|
Backup*/
|
||||||
|
UpgradeLog*.XML
|
||||||
|
UpgradeLog*.htm
|
||||||
|
|
||||||
|
# SQL Server files
|
||||||
|
*.mdf
|
||||||
|
*.ldf
|
||||||
|
|
||||||
|
# Business Intelligence projects
|
||||||
|
*.rdl.data
|
||||||
|
*.bim.layout
|
||||||
|
*.bim_*.settings
|
||||||
|
|
||||||
|
# Microsoft Fakes
|
||||||
|
FakesAssemblies/
|
||||||
|
|
||||||
|
# GhostDoc plugin setting file
|
||||||
|
*.GhostDoc.xml
|
||||||
|
|
||||||
|
# Node.js Tools for Visual Studio
|
||||||
|
.ntvs_analysis.dat
|
||||||
|
|
||||||
|
# Visual Studio 6 build log
|
||||||
|
*.plg
|
||||||
|
|
||||||
|
# Visual Studio 6 workspace options file
|
||||||
|
*.opt
|
||||||
|
|
||||||
|
# Visual Studio LightSwitch build output
|
||||||
|
**/*.HTMLClient/GeneratedArtifacts
|
||||||
|
**/*.DesktopClient/GeneratedArtifacts
|
||||||
|
**/*.DesktopClient/ModelManifest.xml
|
||||||
|
**/*.Server/GeneratedArtifacts
|
||||||
|
**/*.Server/ModelManifest.xml
|
||||||
|
_Pvt_Extensions
|
||||||
|
|
||||||
|
# Paket dependency manager
|
||||||
|
.paket/paket.exe
|
||||||
|
|
||||||
|
# FAKE - F# Make
|
||||||
|
.fake/
|
||||||
|
|
||||||
|
# Exceptions
|
||||||
|
# Build Scripts
|
||||||
|
!scripts/build/
|
||||||
|
test/PackagedCommands/Consumers/*/project.json
|
||||||
|
|
||||||
|
# Vim swp files
|
||||||
|
*.swp
|
||||||
|
*.*~
|
||||||
|
|
||||||
|
# VS generated files
|
||||||
|
launchSettings.json
|
||||||
|
|
||||||
|
# user files used in tests
|
||||||
|
!TestAssets/TestProjects/TestAppWithLibrary/TestLibrary/TestLibrary.xproj.user
|
||||||
|
!TestAssets/TestProjects/TestAppWithLibrary/TestApp/TestApp.xproj.user
|
||||||
|
!TestAssets/TestProjects/PJTestAppSimple/PJTestAppSimple.xproj.user
|
||||||
|
|
||||||
|
# Local nuget cache when the build is run as CI
|
||||||
|
.packages
|
412
.vsts-ci.yml
Normal file
412
.vsts-ci.yml
Normal file
|
@ -0,0 +1,412 @@
|
||||||
|
# Pipeline: https://dnceng.visualstudio.com/internal/_build?definitionId=286
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
batch: true
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
- release/*
|
||||||
|
- internal/release/3.*
|
||||||
|
- internal/release/5.*
|
||||||
|
- internal/release/6.*
|
||||||
|
- internal/release/7.*
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- name: _PublishUsingPipelines
|
||||||
|
value: false
|
||||||
|
- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:
|
||||||
|
- name: PostBuildSign
|
||||||
|
value: false
|
||||||
|
- ${{ else }}:
|
||||||
|
- name: PostBuildSign
|
||||||
|
value: true
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- name: Codeql.Enabled
|
||||||
|
value: true
|
||||||
|
- group: DotNet-DotNetCli-Storage
|
||||||
|
- group: DotNet-Installer-SDLValidation-Params
|
||||||
|
- name: _PublishUsingPipelines
|
||||||
|
value: true
|
||||||
|
# Default to running tests in PRs and public CI, but not in official builds
|
||||||
|
- name: _WindowsTestArg
|
||||||
|
value: '-test'
|
||||||
|
- name: _NonWindowsTestArg
|
||||||
|
value: '--test'
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- name: _WindowsTestArg
|
||||||
|
value: ''
|
||||||
|
- name: _NonWindowsTestArg
|
||||||
|
value: ''
|
||||||
|
- name: _InternalRuntimeDownloadArgs
|
||||||
|
value: ''
|
||||||
|
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
- group: DotNetBuilds storage account read tokens
|
||||||
|
- name: _InternalRuntimeDownloadArgs
|
||||||
|
value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
|
||||||
|
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
- name: DncEngPublicBuildPool
|
||||||
|
value: NetCore-Svc-Public
|
||||||
|
- name: DncEngInternalBuildPool
|
||||||
|
value: NetCore1ESPool-Svc-Internal
|
||||||
|
# Set the MicroBuild plugin installation directory to the agent temp directory to avoid SDL tool scanning.
|
||||||
|
- name: MicroBuildOutputFolderOverride
|
||||||
|
value: $(Agent.TempDirectory)
|
||||||
|
|
||||||
|
resources:
|
||||||
|
repositories:
|
||||||
|
- repository: 1esPipelines
|
||||||
|
type: git
|
||||||
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
||||||
|
ref: refs/tags/release
|
||||||
|
|
||||||
|
extends:
|
||||||
|
${{ if notin(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
|
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
|
||||||
|
${{ else }}:
|
||||||
|
template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines
|
||||||
|
parameters:
|
||||||
|
containers:
|
||||||
|
fedora38:
|
||||||
|
image: mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-38
|
||||||
|
sdl:
|
||||||
|
sourceAnalysisPool:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-windows-2019
|
||||||
|
os: windows
|
||||||
|
stages:
|
||||||
|
- stage: build
|
||||||
|
jobs:
|
||||||
|
# Build Retry Configuration
|
||||||
|
- job: Publish_Build_Configuration
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: $(DncEngPublicBuildPool)
|
||||||
|
image: 1es-windows-2019-open
|
||||||
|
os: windows
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-windows-2019
|
||||||
|
os: windows
|
||||||
|
steps:
|
||||||
|
- task: 1ES.PublishPipelineArtifact@1
|
||||||
|
displayName: Publish Build Config
|
||||||
|
inputs:
|
||||||
|
targetPath: $(Build.SourcesDirectory)\eng\BuildConfiguration
|
||||||
|
artifactName: BuildConfiguration
|
||||||
|
- template: /eng/build.yml@self
|
||||||
|
parameters:
|
||||||
|
agentOs: Windows_NT
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: $(DncEngPublicBuildPool)
|
||||||
|
image: 1es-windows-2019-open
|
||||||
|
os: windows
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-windows-2019
|
||||||
|
os: windows
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
# Public-only builds
|
||||||
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_BuildArchitecture: x64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
||||||
|
_TestArg: $(_WindowsTestArg)
|
||||||
|
# Internal-only builds
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
||||||
|
_TestArg: $(_WindowsTestArg)
|
||||||
|
Build_Release_x86:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x86
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
_TestArg: $(_WindowsTestArg)
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: arm64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/build.yml@self
|
||||||
|
parameters:
|
||||||
|
agentOs: Windows_NT
|
||||||
|
pool:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-windows-2019
|
||||||
|
os: windows
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
||||||
|
# Never run tests on PGO bits
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Release_x86:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x86
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: arm64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
pgoInstrument: true
|
||||||
|
|
||||||
|
- template: /eng/build.yml@self
|
||||||
|
parameters:
|
||||||
|
agentOs: Linux
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: $(DncEngPublicBuildPool)
|
||||||
|
image: 1es-ubuntu-2004-open
|
||||||
|
os: linux
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-ubuntu-2004
|
||||||
|
os: linux
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Ubuntu_18_04_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker ubuntu.18.04'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Fedora_36_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker fedora.36'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_CentOS_7_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker centos'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Debian_11_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker debian'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_AdditionalBuildParameters: '/p:BuildSdkDeb=true'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Arm64_Debug:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker alpine.3.15'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-x64'
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Pass in HostOSName when running on alpine
|
||||||
|
_AdditionalBuildParameters: '/p:HostOSName="linux-musl"'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Arm_Release:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm'
|
||||||
|
_BuildArchitecture: 'arm'
|
||||||
|
# Never run tests on arm
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Arm64_Release:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Release_arm:
|
||||||
|
_BuildConfig: Release
|
||||||
|
# linux-musl-arm cross gen depends on glibc 2.27 (this OS has it)
|
||||||
|
_DockerParameter: '--docker ubuntu.18.04'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm'
|
||||||
|
_BuildArchitecture: 'arm'
|
||||||
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
||||||
|
# Never run tests on arm
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker alpine.3.15'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-x64'
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Pass in HostOSName when running on alpine
|
||||||
|
_AdditionalBuildParameters: '/p:HostOSName="linux-musl"'
|
||||||
|
Build_Linux_Portable_Deb_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker ubuntu.18.04'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
||||||
|
# already published by Build_LinuxPortable_Release_x64
|
||||||
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:BuildSdkDeb=true'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Linux_Portable_Rpm_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker centos'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
||||||
|
# already published by Build_LinuxPortable_Release_x64
|
||||||
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Linux_Portable_Rpm_Release_Arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker centos'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
||||||
|
# already published by Build_LinuxPortable_Release_x64
|
||||||
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_LinuxPortable_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/build.yml@self
|
||||||
|
parameters:
|
||||||
|
agentOs: Linux
|
||||||
|
pool:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-ubuntu-2004
|
||||||
|
os: linux
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Build_LinuxPortable_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: arm64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
pgoInstrument: true
|
||||||
|
|
||||||
|
- template: /eng/build.yml@self
|
||||||
|
parameters:
|
||||||
|
agentOs: Darwin
|
||||||
|
pool:
|
||||||
|
name: Azure Pipelines
|
||||||
|
image: macOS-latest
|
||||||
|
os: macOS
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_RuntimeIdentifier: '--runtime-id osx-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
|
||||||
|
- template: /eng/common/templates-official/jobs/source-build.yml@self
|
||||||
|
|
||||||
|
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-create-tarball.yml@self
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/common/templates-official/job/publish-build-assets.yml@self
|
||||||
|
parameters:
|
||||||
|
dependsOn:
|
||||||
|
- Windows_NT
|
||||||
|
- Linux
|
||||||
|
- Darwin
|
||||||
|
- Source_Build_Managed
|
||||||
|
- Source_Build_Create_Tarball
|
||||||
|
- PGO_Linux
|
||||||
|
- PGO_Windows_NT
|
||||||
|
publishUsingPipelines: true
|
||||||
|
pool:
|
||||||
|
name: $(DncEngInternalBuildPool)
|
||||||
|
image: 1es-windows-2019
|
||||||
|
os: windows
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/common/templates-official/post-build/post-build.yml@self
|
||||||
|
parameters:
|
||||||
|
publishingInfraVersion: 3
|
||||||
|
enableSymbolValidation: false
|
||||||
|
enableSigningValidation: false
|
||||||
|
enableNugetValidation: false
|
||||||
|
enableSourceLinkValidation: false
|
||||||
|
publishInstallersAndChecksums: true
|
||||||
|
SDLValidationParameters:
|
||||||
|
enable: false
|
||||||
|
params: ' -SourceToolsList @("policheck","credscan")
|
||||||
|
-TsaInstanceURL $(_TsaInstanceURL)
|
||||||
|
-TsaProjectName $(_TsaProjectName)
|
||||||
|
-TsaNotificationEmail $(_TsaNotificationEmail)
|
||||||
|
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
|
||||||
|
-TsaBugAreaPath $(_TsaBugAreaPath)
|
||||||
|
-TsaIterationPath $(_TsaIterationPath)
|
||||||
|
-TsaRepositoryName "dotnet-installer"
|
||||||
|
-TsaCodebaseName "dotnet-installer"
|
||||||
|
-TsaPublish $True'
|
371
.vsts-pr.yml
Normal file
371
.vsts-pr.yml
Normal file
|
@ -0,0 +1,371 @@
|
||||||
|
trigger:
|
||||||
|
batch: true
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
- release/*
|
||||||
|
- internal/release/3.*
|
||||||
|
- internal/release/5.*
|
||||||
|
- internal/release/6.*
|
||||||
|
- internal/release/7.*
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- name: _PublishUsingPipelines
|
||||||
|
value: false
|
||||||
|
- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:
|
||||||
|
- name: PostBuildSign
|
||||||
|
value: false
|
||||||
|
- ${{ else }}:
|
||||||
|
- name: PostBuildSign
|
||||||
|
value: true
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- name: Codeql.Enabled
|
||||||
|
value: true
|
||||||
|
- group: DotNet-DotNetCli-Storage
|
||||||
|
- group: DotNet-Installer-SDLValidation-Params
|
||||||
|
- name: _PublishUsingPipelines
|
||||||
|
value: true
|
||||||
|
# Default to running tests in PRs and public CI, but not in official builds
|
||||||
|
- name: _WindowsTestArg
|
||||||
|
value: '-test'
|
||||||
|
- name: _NonWindowsTestArg
|
||||||
|
value: '--test'
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- name: _WindowsTestArg
|
||||||
|
value: ''
|
||||||
|
- name: _NonWindowsTestArg
|
||||||
|
value: ''
|
||||||
|
- name: _InternalRuntimeDownloadArgs
|
||||||
|
value: ''
|
||||||
|
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
- group: DotNetBuilds storage account read tokens
|
||||||
|
- name: _InternalRuntimeDownloadArgs
|
||||||
|
value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
|
||||||
|
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- stage: build
|
||||||
|
jobs:
|
||||||
|
- job: Publish_Build_Configuration
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: NetCore-Svc-Public
|
||||||
|
demands: ImageOverride -equals windows.vs2019.amd64.open
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Svc-Internal
|
||||||
|
demands: ImageOverride -equals windows.vs2019.amd64
|
||||||
|
steps:
|
||||||
|
- publish: $(Build.SourcesDirectory)\eng\BuildConfiguration
|
||||||
|
artifact: BuildConfiguration
|
||||||
|
displayName: Publish Build Config
|
||||||
|
- template: /eng/build-pr.yml
|
||||||
|
parameters:
|
||||||
|
agentOs: Windows_NT
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: NetCore-Svc-Public
|
||||||
|
demands: ImageOverride -equals windows.vs2019.amd64.open
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Svc-Internal
|
||||||
|
demands: ImageOverride -equals windows.vs2019.amd64
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
# Public-only builds
|
||||||
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_BuildArchitecture: x64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
||||||
|
_TestArg: $(_WindowsTestArg)
|
||||||
|
# Internal-only builds
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
||||||
|
_TestArg: $(_WindowsTestArg)
|
||||||
|
Build_Release_x86:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x86
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
_TestArg: $(_WindowsTestArg)
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: arm64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/build-pr.yml
|
||||||
|
parameters:
|
||||||
|
agentOs: Windows_NT
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Svc-Internal
|
||||||
|
demands: ImageOverride -equals windows.vs2019.amd64
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: '/p:PublishInternalAsset=true'
|
||||||
|
# Never run tests on PGO bits
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Release_x86:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: x86
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: arm64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
pgoInstrument: true
|
||||||
|
|
||||||
|
- template: /eng/build-pr.yml
|
||||||
|
parameters:
|
||||||
|
agentOs: Linux
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
|
name: NetCore-Svc-Public
|
||||||
|
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Svc-Internal
|
||||||
|
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Ubuntu_18_04_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker ubuntu.18.04'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Fedora_36_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker fedora.36'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_CentOS_7_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker centos'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Debian_11_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker debian'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_AdditionalBuildParameters: '/p:BuildSdkDeb=true'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Arm64_Debug:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Debug_x64:
|
||||||
|
_BuildConfig: Debug
|
||||||
|
_DockerParameter: '--docker alpine.3.15'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-x64'
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Pass in HostOSName when running on alpine
|
||||||
|
_AdditionalBuildParameters: '/p:HostOSName="linux-musl"'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Arm_Release:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm'
|
||||||
|
_BuildArchitecture: 'arm'
|
||||||
|
# Never run tests on arm
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Arm64_Release:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Release_arm:
|
||||||
|
_BuildConfig: Release
|
||||||
|
# linux-musl-arm cross gen depends on glibc 2.27 (this OS has it)
|
||||||
|
_DockerParameter: '--docker ubuntu.18.04'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm'
|
||||||
|
_BuildArchitecture: 'arm'
|
||||||
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
||||||
|
# Never run tests on arm
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
_AdditionalBuildParameters: '/p:OSName="linux-musl"'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Linux_musl_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker alpine.3.15'
|
||||||
|
_LinuxPortable: ''
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-musl-x64'
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Pass in HostOSName when running on alpine
|
||||||
|
_AdditionalBuildParameters: '/p:HostOSName="linux-musl"'
|
||||||
|
Build_Linux_Portable_Deb_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker ubuntu.18.04'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
||||||
|
# already published by Build_LinuxPortable_Release_x64
|
||||||
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:BuildSdkDeb=true'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Linux_Portable_Rpm_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker centos'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
||||||
|
# already published by Build_LinuxPortable_Release_x64
|
||||||
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
Build_Linux_Portable_Rpm_Release_Arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: '--docker centos'
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: '--runtime-id linux-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Do not publish zips and tarballs. The linux-x64 binaries are
|
||||||
|
# already published by Build_LinuxPortable_Release_x64
|
||||||
|
_AdditionalBuildParameters: '/p:PublishBinariesAndBadge=false /p:CLIBUILD_SKIP_TESTS=true'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
Build_LinuxPortable_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/build-pr.yml
|
||||||
|
parameters:
|
||||||
|
agentOs: Linux
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Svc-Internal
|
||||||
|
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Build_LinuxPortable_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_DockerParameter: ''
|
||||||
|
_LinuxPortable: '--linux-portable'
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: ''
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_BuildArchitecture: arm64
|
||||||
|
_DOTNET_CLI_UI_LANGUAGE: ''
|
||||||
|
_AdditionalBuildParameters: ''
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
pgoInstrument: true
|
||||||
|
|
||||||
|
- template: /eng/build-pr.yml
|
||||||
|
parameters:
|
||||||
|
agentOs: Darwin
|
||||||
|
pool:
|
||||||
|
vmImage: 'macOS-latest'
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
Build_Release_x64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_RuntimeIdentifier: ''
|
||||||
|
_BuildArchitecture: 'x64'
|
||||||
|
_TestArg: $(_NonWindowsTestArg)
|
||||||
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
Build_Release_arm64:
|
||||||
|
_BuildConfig: Release
|
||||||
|
_RuntimeIdentifier: '--runtime-id osx-arm64'
|
||||||
|
_BuildArchitecture: 'arm64'
|
||||||
|
# Never run tests on arm64
|
||||||
|
_TestArg: ''
|
||||||
|
|
||||||
|
- template: /eng/common/templates/jobs/source-build.yml
|
||||||
|
|
||||||
|
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-create-tarball-pr.yml
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: /eng/common/templates/job/publish-build-assets.yml
|
||||||
|
parameters:
|
||||||
|
dependsOn:
|
||||||
|
- Windows_NT
|
||||||
|
- Linux
|
||||||
|
- Darwin
|
||||||
|
- Source_Build_Managed
|
||||||
|
- Source_Build_Create_Tarball
|
||||||
|
- PGO_Linux
|
||||||
|
- PGO_Windows_NT
|
||||||
|
publishUsingPipelines: true
|
||||||
|
pool:
|
||||||
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
|
name: NetCore1ESPool-Svc-Internal
|
||||||
|
demands: ImageOverride -equals windows.vs2017.amd64
|
||||||
|
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- template: eng\common\templates\post-build\post-build.yml
|
||||||
|
parameters:
|
||||||
|
publishingInfraVersion: 3
|
||||||
|
enableSymbolValidation: false
|
||||||
|
enableSigningValidation: false
|
||||||
|
enableNugetValidation: false
|
||||||
|
enableSourceLinkValidation: false
|
||||||
|
publishInstallersAndChecksums: true
|
||||||
|
SDLValidationParameters:
|
||||||
|
enable: false
|
||||||
|
params: ' -SourceToolsList @("policheck","credscan")
|
||||||
|
-TsaInstanceURL $(_TsaInstanceURL)
|
||||||
|
-TsaProjectName $(_TsaProjectName)
|
||||||
|
-TsaNotificationEmail $(_TsaNotificationEmail)
|
||||||
|
-TsaCodebaseAdmin $(_TsaCodebaseAdmin)
|
||||||
|
-TsaBugAreaPath $(_TsaBugAreaPath)
|
||||||
|
-TsaIterationPath $(_TsaIterationPath)
|
||||||
|
-TsaRepositoryName "dotnet-installer"
|
||||||
|
-TsaCodebaseName "dotnet-installer"
|
||||||
|
-TsaPublish $True'
|
6
CODE-OF-CONDUCT.md
Normal file
6
CODE-OF-CONDUCT.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Code of Conduct
|
||||||
|
|
||||||
|
This project has adopted the code of conduct defined by the Contributor Covenant
|
||||||
|
to clarify expected behavior in our community.
|
||||||
|
|
||||||
|
For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
|
8
CODEOWNERS
Normal file
8
CODEOWNERS
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths.
|
||||||
|
# See https://help.github.com/articles/about-code-owners/
|
||||||
|
|
||||||
|
# Snaps
|
||||||
|
|
||||||
|
/.devcontainer/ @dotnet/source-build-internal
|
||||||
|
/src/snaps/ @rbhanda
|
||||||
|
/src/SourceBuild/ @dotnet/source-build-internal
|
9
CONTRIBUTING.md
Normal file
9
CONTRIBUTING.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
Contributing
|
||||||
|
============
|
||||||
|
|
||||||
|
See [Contributing](https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/contributing.md) for information about coding styles, source structure, making pull requests, and more.
|
||||||
|
|
||||||
|
Developers
|
||||||
|
==========
|
||||||
|
|
||||||
|
If you are looking to contribute to the verbs that ship with the SDK, please go to the [CLI Repo](https://github.com/dotnet/cli).
|
43
Directory.Build.props
Normal file
43
Directory.Build.props
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''">
|
||||||
|
<Copyright>$(CopyrightNetFoundation)</Copyright>
|
||||||
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<BuildArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())</BuildArchitecture>
|
||||||
|
<Architecture Condition="'$(Architecture)' == '' AND ('$(BuildArchitecture)' == 'arm64' OR '$(BuildArchitecture)' == 'arm')">$(BuildArchitecture)</Architecture>
|
||||||
|
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 's390x'">$(BuildArchitecture)</Architecture>
|
||||||
|
<Architecture Condition="'$(Architecture)' == '' AND '$(BuildArchitecture)' == 'ppc64le'">$(BuildArchitecture)</Architecture>
|
||||||
|
<Architecture Condition="'$(Architecture)' == ''">x64</Architecture>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(PgoInstrument)' == 'true'">
|
||||||
|
<SkipBuildingInstallers>true</SkipBuildingInstallers>
|
||||||
|
<PgoTerm>-pgo</PgoTerm>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
|
||||||
|
<DebugType>embedded</DebugType>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
|
||||||
|
<IsShipping>true</IsShipping>
|
||||||
|
<CoreSdkTargetFramework>net7.0</CoreSdkTargetFramework>
|
||||||
|
|
||||||
|
<!-- MSB3243 and MSB3247 fire when attempting to resolve references to the same assembly from different cultures.
|
||||||
|
This is a prevalent problem in building the precomputed assembly reference cache. Limiting the assemblies resolved
|
||||||
|
to those outside the culture folders would work, but that is a nontrivial problem. -->
|
||||||
|
<NoWarn>NU5125;NU5105;NU1701;MSB3243;MSB3247</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(DisableSourceLink)' == 'true'">
|
||||||
|
<EnableSourceLink>false</EnableSourceLink>
|
||||||
|
<EnableSourceControlManagerQueries>false</EnableSourceControlManagerQueries>
|
||||||
|
<DeterministicSourcePaths>false</DeterministicSourcePaths>
|
||||||
|
<!-- Normally set by sourcelink, and needed by the Pack targets -->
|
||||||
|
<RepositoryUrl>https://github.com/dotnet/core-sdk</RepositoryUrl>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
22
Directory.Build.targets
Normal file
22
Directory.Build.targets
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
||||||
|
|
||||||
|
<!-- Explicitly remove Android, iOS, and macCatalyst from CA1416 analyzer warnings -->
|
||||||
|
<!-- https://github.com/dotnet/sdk/pull/16489 -->
|
||||||
|
<ItemGroup>
|
||||||
|
<SupportedPlatform Remove="Android" />
|
||||||
|
<SupportedPlatform Remove="iOS" />
|
||||||
|
<SupportedPlatform Remove="macCatalyst" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Update KnownFrameworkReferences to target the right version of the runtime -->
|
||||||
|
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'
|
||||||
|
and $(MicrosoftNETCoreAppRefPackageVersion.StartsWith('$(_TargetFrameworkVersionWithoutV)'))
|
||||||
|
and '$(MSBuildProjectName)' != 'core-sdk-tasks'">
|
||||||
|
<FrameworkReference
|
||||||
|
Update="Microsoft.NETCore.App"
|
||||||
|
TargetingPackVersion="$(MicrosoftNETCoreAppRefPackageVersion)"
|
||||||
|
RuntimeFrameworkVersion="$(MicrosoftNETCoreAppRuntimePackageVersion)" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
164
Downloads2.x.md
Normal file
164
Downloads2.x.md
Normal file
|
@ -0,0 +1,164 @@
|
||||||
|
# .NET Core SDK 2.x Installers and Binaries
|
||||||
|
|
||||||
|
| Platform | Release/2.1.8XX<br>(2.1.x Runtime) | Release/2.1.6XX<br>(2.1.6 Runtime) | Release/2.1.5XX<br>(2.1.5 Runtime) |
|
||||||
|
| :--------- | :----------: | :----------: | :----------: |
|
||||||
|
| **Windows x64** | [![][win-x64-badge-2.1.8XX]][win-x64-version-2.1.8XX]<br>[Installer][win-x64-installer-2.1.8XX] - [Checksum][win-x64-installer-checksum-2.1.8XX]<br>[zip][win-x64-zip-2.1.8XX] - [Checksum][win-x64-zip-checksum-2.1.8XX] | [![][win-x64-badge-2.1.6XX]][win-x64-version-2.1.6XX]<br>[Installer][win-x64-installer-2.1.6XX] - [Checksum][win-x64-installer-checksum-2.1.6XX]<br>[zip][win-x64-zip-2.1.6XX] - [Checksum][win-x64-zip-checksum-2.1.6XX] | [![][win-x64-badge-2.1.5XX]][win-x64-version-2.1.5XX]<br>[Installer][win-x64-installer-2.1.5XX] - [Checksum][win-x64-installer-checksum-2.1.5XX]<br>[zip][win-x64-zip-2.1.5XX] - [Checksum][win-x64-zip-checksum-2.1.5XX] |
|
||||||
|
| **Windows x86** | [![][win-x86-badge-2.1.8XX]][win-x86-version-2.1.8XX]<br>[Installer][win-x86-installer-2.1.8XX] - [Checksum][win-x86-installer-checksum-2.1.8XX]<br>[zip][win-x86-zip-2.1.8XX] - [Checksum][win-x86-zip-checksum-2.1.8XX] | [![][win-x86-badge-2.1.6XX]][win-x86-version-2.1.6XX]<br>[Installer][win-x86-installer-2.1.6XX] - [Checksum][win-x86-installer-checksum-2.1.6XX]<br>[zip][win-x86-zip-2.1.6XX] - [Checksum][win-x86-zip-checksum-2.1.6XX] | [![][win-x86-badge-2.1.5XX]][win-x86-version-2.1.5XX]<br>[Installer][win-x86-installer-2.1.5XX] - [Checksum][win-x86-installer-checksum-2.1.5XX]<br>[zip][win-x86-zip-2.1.5XX] - [Checksum][win-x86-zip-checksum-2.1.5XX] |
|
||||||
|
| **macOS** | [![][osx-badge-2.1.8XX]][osx-version-2.1.8XX]<br>[Installer][osx-installer-2.1.8XX] - [Checksum][osx-installer-checksum-2.1.8XX]<br>[tar.gz][osx-targz-2.1.8XX] - [Checksum][osx-targz-checksum-2.1.8XX] | [![][osx-badge-2.1.6XX]][osx-version-2.1.6XX]<br>[Installer][osx-installer-2.1.6XX] - [Checksum][osx-installer-checksum-2.1.6XX]<br>[tar.gz][osx-targz-2.1.6XX] - [Checksum][osx-targz-checksum-2.1.6XX] | [![][osx-badge-2.1.5XX]][osx-version-2.1.5XX]<br>[Installer][osx-installer-2.1.5XX] - [Checksum][osx-installer-checksum-2.1.5XX]<br>[tar.gz][osx-targz-2.1.5XX] - [Checksum][osx-targz-checksum-2.1.5XX] |
|
||||||
|
| **Linux x64** | [![][linux-badge-2.1.8XX]][linux-version-2.1.8XX]<br>[DEB Installer][linux-DEB-installer-2.1.8XX] - [Checksum][linux-DEB-installer-checksum-2.1.8XX]<br>[RPM Installer][linux-RPM-installer-2.1.8XX] - [Checksum][linux-RPM-installer-checksum-2.1.8XX]<br>_see installer note below_<sup>1</sup><br>[tar.gz][linux-targz-2.1.8XX] - [Checksum][linux-targz-checksum-2.1.8XX] | [![][linux-badge-2.1.6XX]][linux-version-2.1.6XX]<br>[DEB Installer][linux-DEB-installer-2.1.6XX] - [Checksum][linux-DEB-installer-checksum-2.1.6XX]<br>[RPM Installer][linux-RPM-installer-2.1.6XX] - [Checksum][linux-RPM-installer-checksum-2.1.6XX]<br>_see installer note below_<sup>1</sup><br>[tar.gz][linux-targz-2.1.6XX] - [Checksum][linux-targz-checksum-2.1.6XX] | [![][linux-badge-2.1.5XX]][linux-version-2.1.5XX]<br>[DEB Installer][linux-DEB-installer-2.1.5XX] - [Checksum][linux-DEB-installer-checksum-2.1.5XX]<br>[RPM Installer][linux-RPM-installer-2.1.5XX] - [Checksum][linux-RPM-installer-checksum-2.1.5XX]<br>_see installer note below_<sup>1</sup><br>[tar.gz][linux-targz-2.1.5XX] - [Checksum][linux-targz-checksum-2.1.5XX] |
|
||||||
|
| **Linux arm** | [![][linux-arm-badge-2.1.8XX]][linux-arm-version-2.1.8XX]<br>[tar.gz][linux-arm-targz-2.1.8XX] - [Checksum][linux-arm-targz-checksum-2.1.8XX] | [![][linux-arm-badge-2.1.6XX]][linux-arm-version-2.1.6XX]<br>[tar.gz][linux-arm-targz-2.1.6XX] - [Checksum][linux-arm-targz-checksum-2.1.6XX] | [![][linux-arm-badge-2.1.5XX]][linux-arm-version-2.1.5XX]<br>[tar.gz][linux-arm-targz-2.1.5XX] - [Checksum][linux-arm-targz-checksum-2.1.5XX] |
|
||||||
|
| **Linux arm64** | [![][linux-arm64-badge-2.1.8XX]][linux-arm64-version-2.1.8XX]<br>[tar.gz][linux-arm64-targz-2.1.8XX] - [Checksum][linux-arm64-targz-checksum-2.1.8XX] | [![][linux-arm64-badge-2.1.6XX]][linux-arm64-version-2.1.6XX]<br>[tar.gz][linux-arm64-targz-2.1.6XX] - [Checksum][linux-arm64-targz-checksum-2.1.6XX] | [![][linux-arm64-badge-2.1.5XX]][linux-arm64-version-2.1.5XX]<br>[tar.gz][linux-arm64-targz-2.1.5XX] - [Checksum][linux-arm64-targz-checksum-2.1.5XX] |
|
||||||
|
| **RHEL 6** | [![][rhel-6-badge-2.1.8XX]][rhel-6-version-2.1.8XX]<br>[tar.gz][rhel-6-targz-2.1.8XX] - [Checksum][rhel-6-targz-checksum-2.1.8XX] | [![][rhel-6-badge-2.1.6XX]][rhel-6-version-2.1.6XX]<br>[tar.gz][rhel-6-targz-2.1.6XX] - [Checksum][rhel-6-targz-checksum-2.1.6XX] | [![][rhel-6-badge-2.1.5XX]][rhel-6-version-2.1.5XX]<br>[tar.gz][rhel-6-targz-2.1.5XX] - [Checksum][rhel-6-targz-checksum-2.1.5XX] |
|
||||||
|
| **Linux-musl** | [![][linux-musl-badge-2.1.8XX]][linux-musl-version-2.1.8XX]<br>[tar.gz][linux-musl-targz-2.1.8XX] - [Checksum][linux-musl-targz-checksum-2.1.8XX] | [![][linux-musl-badge-2.1.6XX]][linux-musl-version-2.1.6XX]<br>[tar.gz][linux-musl-targz-2.1.6XX] - [Checksum][linux-musl-targz-checksum-2.1.6XX] | [![][linux-musl-badge-2.1.5XX]][linux-musl-version-2.1.5XX]<br>[tar.gz][linux-musl-targz-2.1.5XX] - [Checksum][linux-musl-targz-checksum-2.1.5XX] |
|
||||||
|
|
||||||
|
[win-x64-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/win_x64_Release_version_badge.svg
|
||||||
|
[win-x64-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[win-x64-installer-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x64.exe
|
||||||
|
[win-x64-installer-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x64.exe.sha
|
||||||
|
[win-x64-zip-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x64.zip
|
||||||
|
[win-x64-zip-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x64.zip.sha
|
||||||
|
|
||||||
|
[win-x64-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/win_x64_Release_version_badge.svg
|
||||||
|
[win-x64-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[win-x64-installer-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x64.exe
|
||||||
|
[win-x64-installer-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x64.exe.sha
|
||||||
|
[win-x64-zip-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x64.zip
|
||||||
|
[win-x64-zip-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x64.zip.sha
|
||||||
|
|
||||||
|
[win-x64-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/win_x64_Release_version_badge.svg
|
||||||
|
[win-x64-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[win-x64-installer-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x64.exe
|
||||||
|
[win-x64-installer-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x64.exe.sha
|
||||||
|
[win-x64-zip-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x64.zip
|
||||||
|
[win-x64-zip-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x64.zip.sha
|
||||||
|
|
||||||
|
[win-x86-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/win_x86_Release_version_badge.svg
|
||||||
|
[win-x86-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[win-x86-installer-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x86.exe
|
||||||
|
[win-x86-installer-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x86.exe.sha
|
||||||
|
[win-x86-zip-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x86.zip
|
||||||
|
[win-x86-zip-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-win-x86.zip.sha
|
||||||
|
|
||||||
|
[win-x86-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/win_x86_Release_version_badge.svg
|
||||||
|
[win-x86-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[win-x86-installer-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x86.exe
|
||||||
|
[win-x86-installer-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x86.exe.sha
|
||||||
|
[win-x86-zip-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x86.zip
|
||||||
|
[win-x86-zip-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-win-x86.zip.sha
|
||||||
|
|
||||||
|
[win-x86-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/win_x86_Release_version_badge.svg
|
||||||
|
[win-x86-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[win-x86-installer-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x86.exe
|
||||||
|
[win-x86-installer-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x86.exe.sha
|
||||||
|
[win-x86-zip-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x86.zip
|
||||||
|
[win-x86-zip-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-win-x86.zip.sha
|
||||||
|
|
||||||
|
[osx-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/osx_x64_Release_version_badge.svg
|
||||||
|
[osx-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[osx-installer-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-osx-x64.pkg
|
||||||
|
[osx-installer-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-osx-x64.pkg.sha
|
||||||
|
[osx-targz-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-osx-x64.tar.gz
|
||||||
|
[osx-targz-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-osx-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/osx_x64_Release_version_badge.svg
|
||||||
|
[osx-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[osx-installer-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-osx-x64.pkg
|
||||||
|
[osx-installer-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-osx-x64.pkg.sha
|
||||||
|
[osx-targz-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-osx-x64.tar.gz
|
||||||
|
[osx-targz-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-osx-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/osx_x64_Release_version_badge.svg
|
||||||
|
[osx-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[osx-installer-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-osx-x64.pkg
|
||||||
|
[osx-installer-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-osx-x64.pkg.sha
|
||||||
|
[osx-targz-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-osx-x64.tar.gz
|
||||||
|
[osx-targz-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-osx-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/linux_x64_Release_version_badge.svg
|
||||||
|
[linux-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[linux-DEB-installer-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-x64.deb
|
||||||
|
[linux-DEB-installer-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-x64.deb.sha
|
||||||
|
[linux-RPM-installer-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-x64.rpm
|
||||||
|
[linux-RPM-installer-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-x64.rpm.sha
|
||||||
|
[linux-targz-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-x64.tar.gz
|
||||||
|
[linux-targz-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/linux_x64_Release_version_badge.svg
|
||||||
|
[linux-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[linux-DEB-installer-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-x64.deb
|
||||||
|
[linux-DEB-installer-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-x64.deb.sha
|
||||||
|
[linux-RPM-installer-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-x64.rpm
|
||||||
|
[linux-RPM-installer-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-x64.rpm.sha
|
||||||
|
[linux-targz-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-x64.tar.gz
|
||||||
|
[linux-targz-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/linux_x64_Release_version_badge.svg
|
||||||
|
[linux-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[linux-DEB-installer-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-x64.deb
|
||||||
|
[linux-DEB-installer-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-x64.deb.sha
|
||||||
|
[linux-RPM-installer-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-x64.rpm
|
||||||
|
[linux-RPM-installer-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-x64.rpm.sha
|
||||||
|
[linux-targz-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-x64.tar.gz
|
||||||
|
[linux-targz-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/linux_arm_Release_version_badge.svg
|
||||||
|
[linux-arm-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[linux-arm-targz-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-arm.tar.gz
|
||||||
|
[linux-arm-targz-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/linux_arm_Release_version_badge.svg
|
||||||
|
[linux-arm-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[linux-arm-targz-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-arm.tar.gz
|
||||||
|
[linux-arm-targz-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/linux_arm_Release_version_badge.svg
|
||||||
|
[linux-arm-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[linux-arm-targz-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-arm.tar.gz
|
||||||
|
[linux-arm-targz-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm64-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/linux_arm64_Release_version_badge.svg
|
||||||
|
[linux-arm64-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[linux-arm64-targz-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-arm64.tar.gz
|
||||||
|
[linux-arm64-targz-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm64-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/linux_arm64_Release_version_badge.svg
|
||||||
|
[linux-arm64-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[linux-arm64-targz-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-arm64.tar.gz
|
||||||
|
[linux-arm64-targz-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm64-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/linux_arm64_Release_version_badge.svg
|
||||||
|
[linux-arm64-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[linux-arm64-targz-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-arm64.tar.gz
|
||||||
|
[linux-arm64-targz-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[rhel-6-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/rhel.6_x64_Release_version_badge.svg
|
||||||
|
[rhel-6-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[rhel-6-targz-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-rhel.6-x64.tar.gz
|
||||||
|
[rhel-6-targz-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-rhel.6-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[rhel-6-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/rhel.6_x64_Release_version_badge.svg
|
||||||
|
[rhel-6-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[rhel-6-targz-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-rhel.6-x64.tar.gz
|
||||||
|
[rhel-6-targz-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-rhel.6-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[rhel-6-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/rhel.6_x64_Release_version_badge.svg
|
||||||
|
[rhel-6-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[rhel-6-targz-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-rhel.6-x64.tar.gz
|
||||||
|
[rhel-6-targz-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-rhel.6-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-badge-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/linux_musl_x64_Release_version_badge.svg
|
||||||
|
[linux-musl-version-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/latest.version
|
||||||
|
[linux-musl-targz-2.1.8XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-musl-x64.tar.gz
|
||||||
|
[linux-musl-targz-checksum-2.1.8XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.8xx/dotnet-sdk-latest-linux-musl-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-badge-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/linux_musl_x64_Release_version_badge.svg
|
||||||
|
[linux-musl-version-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/latest.version
|
||||||
|
[linux-musl-targz-2.1.6XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-musl-x64.tar.gz
|
||||||
|
[linux-musl-targz-checksum-2.1.6XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.6xx/dotnet-sdk-latest-linux-musl-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-badge-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/linux_musl_x64_Release_version_badge.svg
|
||||||
|
[linux-musl-version-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/latest.version
|
||||||
|
[linux-musl-targz-2.1.5XX]: https://dotnetcli.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-musl-x64.tar.gz
|
||||||
|
[linux-musl-targz-checksum-2.1.5XX]: https://dotnetclichecksums.blob.core.windows.net/dotnet/Sdk/release/2.1.5xx/dotnet-sdk-latest-linux-musl-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[sdk-shas-2.2.1XX]: https://github.com/dotnet/versions/tree/master/build-info/dotnet/product/cli/release/2.2#built-repositories
|
24
LICENSE
Normal file
24
LICENSE
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) .NET Foundation and Contributors
|
||||||
|
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
|
|
80
Microsoft.DotNet.Cli.sln
Normal file
80
Microsoft.DotNet.Cli.sln
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.28603.18
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{ED2FE3E2-F7E7-4389-8231-B65123F2076F}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{17735A9D-BFD9-4585-A7CB-3208CA6EA8A7}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "redist", "src\redist\redist.csproj", "{098D9321-1201-4974-A75E-F58EBCD98ACF}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EndToEnd.Tests", "test\EndToEnd\EndToEnd.Tests.csproj", "{1BFF54F9-4E35-49DB-893C-AF2047722FC6}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "core-sdk-tasks", "src\core-sdk-tasks\core-sdk-tasks.csproj", "{53AF2D01-B69F-4CD0-86A7-8FD95967D23C}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Tools.Tests.Utilities", "test\Microsoft.DotNet.Tools.Tests.Utilities\Microsoft.DotNet.Tools.Tests.Utilities.csproj", "{78E15EC1-7732-41E3-8591-934E9F583254}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SdkResolver", "src\SdkResolver\SdkResolver.csproj", "{7EE15292-2CAD-44FA-8A1F-BAC4688A49E0}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Dotnet.Sdk.Internal", "src\Microsoft.Dotnet.Sdk.Internal\Microsoft.Dotnet.Sdk.Internal.csproj", "{73F07908-981B-41BB-B9BD-F3420274A6F7}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SdkTests", "test\SdkTests\SdkTests.csproj", "{CB1EE94E-CB83-4071-9DD0-9929AE2B7282}"
|
||||||
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "core-sdk-tasks.Tests", "test\core-sdk-tasks.Tests\core-sdk-tasks.Tests.csproj", "{658EF9BE-452C-4D31-AA24-B9E2235799A8}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{098D9321-1201-4974-A75E-F58EBCD98ACF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{098D9321-1201-4974-A75E-F58EBCD98ACF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{098D9321-1201-4974-A75E-F58EBCD98ACF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{098D9321-1201-4974-A75E-F58EBCD98ACF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{1BFF54F9-4E35-49DB-893C-AF2047722FC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{1BFF54F9-4E35-49DB-893C-AF2047722FC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{1BFF54F9-4E35-49DB-893C-AF2047722FC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{1BFF54F9-4E35-49DB-893C-AF2047722FC6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{53AF2D01-B69F-4CD0-86A7-8FD95967D23C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{53AF2D01-B69F-4CD0-86A7-8FD95967D23C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{53AF2D01-B69F-4CD0-86A7-8FD95967D23C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{53AF2D01-B69F-4CD0-86A7-8FD95967D23C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{78E15EC1-7732-41E3-8591-934E9F583254}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{78E15EC1-7732-41E3-8591-934E9F583254}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{78E15EC1-7732-41E3-8591-934E9F583254}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{78E15EC1-7732-41E3-8591-934E9F583254}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{7EE15292-2CAD-44FA-8A1F-BAC4688A49E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7EE15292-2CAD-44FA-8A1F-BAC4688A49E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7EE15292-2CAD-44FA-8A1F-BAC4688A49E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7EE15292-2CAD-44FA-8A1F-BAC4688A49E0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{73F07908-981B-41BB-B9BD-F3420274A6F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{73F07908-981B-41BB-B9BD-F3420274A6F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{73F07908-981B-41BB-B9BD-F3420274A6F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{73F07908-981B-41BB-B9BD-F3420274A6F7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{CB1EE94E-CB83-4071-9DD0-9929AE2B7282}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{CB1EE94E-CB83-4071-9DD0-9929AE2B7282}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{CB1EE94E-CB83-4071-9DD0-9929AE2B7282}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{CB1EE94E-CB83-4071-9DD0-9929AE2B7282}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{658EF9BE-452C-4D31-AA24-B9E2235799A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{658EF9BE-452C-4D31-AA24-B9E2235799A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{658EF9BE-452C-4D31-AA24-B9E2235799A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{658EF9BE-452C-4D31-AA24-B9E2235799A8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{098D9321-1201-4974-A75E-F58EBCD98ACF} = {ED2FE3E2-F7E7-4389-8231-B65123F2076F}
|
||||||
|
{1BFF54F9-4E35-49DB-893C-AF2047722FC6} = {17735A9D-BFD9-4585-A7CB-3208CA6EA8A7}
|
||||||
|
{53AF2D01-B69F-4CD0-86A7-8FD95967D23C} = {ED2FE3E2-F7E7-4389-8231-B65123F2076F}
|
||||||
|
{78E15EC1-7732-41E3-8591-934E9F583254} = {17735A9D-BFD9-4585-A7CB-3208CA6EA8A7}
|
||||||
|
{7EE15292-2CAD-44FA-8A1F-BAC4688A49E0} = {ED2FE3E2-F7E7-4389-8231-B65123F2076F}
|
||||||
|
{CB1EE94E-CB83-4071-9DD0-9929AE2B7282} = {17735A9D-BFD9-4585-A7CB-3208CA6EA8A7}
|
||||||
|
{658EF9BE-452C-4D31-AA24-B9E2235799A8} = {17735A9D-BFD9-4585-A7CB-3208CA6EA8A7}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {B526D2CE-EE2D-4AD4-93EF-1867D90FF1F5}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
48
Native.sln
Normal file
48
Native.sln
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.28603.18
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{ED2FE3E2-F7E7-4389-8231-B65123F2076F}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "finalizer_shim", "src\finalizer_shim\finalizer_shim.csproj", "{688E2883-C5A9-4D66-A207-772C9160989C}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|arm64 = Debug|arm64
|
||||||
|
Debug|arm = Debug|arm
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|arm64 = Release|arm64
|
||||||
|
Release|arm = Release|arm
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|arm64.ActiveCfg = Debug|arm64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|arm64.Build.0 = Debug|arm64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|arm.ActiveCfg = Debug|arm
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Debug|arm.Build.0 = Debug|arm
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|x86.Build.0 = Release|x86
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|x64.Build.0 = Release|x64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|arm64.ActiveCfg = Release|arm64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|arm64.Build.0 = Release|arm64
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|arm.ActiveCfg = Release|arm
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C}.Release|arm.Build.0 = Release|arm
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{688E2883-C5A9-4D66-A207-772C9160989C} = {ED2FE3E2-F7E7-4389-8231-B65123F2076F}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {18FCFCA3-D1A8-4D3A-9763-6A658D0D726F}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
61
NuGet.config
Normal file
61
NuGet.config
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<solution>
|
||||||
|
<add key="disableSourceControlIntegration" value="true" />
|
||||||
|
</solution>
|
||||||
|
<packageSources>
|
||||||
|
<clear />
|
||||||
|
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
||||||
|
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
|
||||||
|
<add key="darc-pub-DotNet-msbuild-Trusted-5eb99e6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-5eb99e6e/nuget/v3/index.json" />
|
||||||
|
<!-- End: Package sources from DotNet-msbuild-Trusted -->
|
||||||
|
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
||||||
|
<add key="darc-int-dotnet-aspnetcore-06b2bc1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-06b2bc11/nuget/v3/index.json" />
|
||||||
|
<!-- End: Package sources from dotnet-aspnetcore -->
|
||||||
|
<!-- Begin: Package sources from dotnet-emsdk -->
|
||||||
|
<add key="darc-pub-dotnet-emsdk-4f16685" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-emsdk-4f16685f/nuget/v3/index.json" />
|
||||||
|
<!-- End: Package sources from dotnet-emsdk -->
|
||||||
|
<!-- Begin: Package sources from dotnet-runtime -->
|
||||||
|
<add key="darc-int-dotnet-runtime-19f489b" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-19f489b8/nuget/v3/index.json" />
|
||||||
|
<!-- End: Package sources from dotnet-runtime -->
|
||||||
|
<!-- Begin: Package sources from dotnet-sdk -->
|
||||||
|
<add key="darc-int-dotnet-sdk-98554e0" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-sdk-98554e0c/nuget/v3/index.json" />
|
||||||
|
<!-- End: Package sources from dotnet-sdk -->
|
||||||
|
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
||||||
|
<add key="darc-int-dotnet-windowsdesktop-d96741e" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-windowsdesktop-d96741e3/nuget/v3/index.json" />
|
||||||
|
<!-- End: Package sources from dotnet-windowsdesktop -->
|
||||||
|
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
||||||
|
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
|
||||||
|
<add key="general-testing" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/general-testing/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet3-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3-transport/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet3.1-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1-transport/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet5-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet6-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet7-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7-transport/nuget/v3/index.json" />
|
||||||
|
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
|
||||||
|
<add key="darc-pub-DotNet-msbuild-Trusted-6918b86" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-6918b863/nuget/v3/index.json" />
|
||||||
|
<!-- Temporary feed for Xamarin workload manifest -->
|
||||||
|
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
<disabledPackageSources>
|
||||||
|
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
||||||
|
<!-- Begin: Package sources from dotnet-aspnetcore -->
|
||||||
|
<add key="darc-int-dotnet-aspnetcore-06b2bc1" value="true" />
|
||||||
|
<!-- End: Package sources from dotnet-aspnetcore -->
|
||||||
|
<!-- Begin: Package sources from dotnet-runtime -->
|
||||||
|
<add key="darc-int-dotnet-runtime-19f489b" value="true" />
|
||||||
|
<!-- Begin: Package sources from dotnet-sdk -->
|
||||||
|
<add key="darc-int-dotnet-sdk-98554e0" value="true" />
|
||||||
|
<!-- End: Package sources from dotnet-sdk -->
|
||||||
|
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
||||||
|
<add key="darc-int-dotnet-windowsdesktop-d96741e" value="true" />
|
||||||
|
<!-- End: Package sources from dotnet-windowsdesktop -->
|
||||||
|
<!-- End: Package sources from dotnet-runtime -->
|
||||||
|
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
|
||||||
|
</disabledPackageSources>
|
||||||
|
</configuration>
|
2
PULL_REQUEST_TEMPLATE
Normal file
2
PULL_REQUEST_TEMPLATE
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
- Please add description for changes you are making.
|
||||||
|
- If there is an issue related to this PR, please add the reference.
|
430
README.md
Normal file
430
README.md
Normal file
|
@ -0,0 +1,430 @@
|
||||||
|
# .NET Core SDK
|
||||||
|
|
||||||
|
[![Join the chat at https://gitter.im/dotnet/cli](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dotnet/cli?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
[![GitHub release](https://img.shields.io/github/release/dotnet/installer.svg)](https://GitHub.com/dotnet/installer/releases/)
|
||||||
|
[![GitHub repo size](https://img.shields.io/github/repo-size/dotnet/installer)](https://github.com/dotnet/installer)
|
||||||
|
[![GitHub issues-opened](https://img.shields.io/github/issues/dotnet/installer.svg)](https://GitHub.com/dotnet/installer/issues?q=is%3Aissue+is%3Aopened)
|
||||||
|
[![GitHub issues-closed](https://img.shields.io/github/issues-closed/dotnet/installer.svg)](https://GitHub.com/dotnet/installer/issues?q=is%3Aissue+is%3Aclosed)
|
||||||
|
[![GitHub pulls-opened](https://img.shields.io/github/issues-pr/dotnet/installer.svg)](https://GitHub.com/dotnet/installer/pulls?q=is%3Aissue+is%3Aopened)
|
||||||
|
[![GitHub pulls-merged](https://img.shields.io/github/issues-search/dotnet/installer?label=merged%20pull%20requests&query=is%3Apr%20is%3Aclosed%20is%3Amerged&color=darkviolet)](https://github.com/dotnet/installer/pulls?q=is%3Apr+is%3Aclosed+is%3Amerged)
|
||||||
|
[![GitHub pulls-unmerged](https://img.shields.io/github/issues-search/dotnet/installer?label=unmerged%20pull%20requests&query=is%3Apr%20is%3Aclosed%20is%3Aunmerged&color=red)](https://github.com/dotnet/installer/pulls?q=is%3Apr+is%3Aclosed+is%3Aunmerged)
|
||||||
|
[![GitHub contributors](https://img.shields.io/github/contributors/dotnet/installer.svg)](https://GitHub.com/dotnet/installer/graphs/contributors/)
|
||||||
|
[![Commit Activity](https://img.shields.io/github/commit-activity/m/dotnet/installer)]()
|
||||||
|
|
||||||
|
|
||||||
|
This repo contains the source code for the cross-platform [.NET Core](http://github.com/dotnet/core) SDK. It aggregates the .NET Toolchain, the .NET Core runtime, the templates, and the .NET Core Windows Desktop runtime. It produces zip, tarballs, and native packages for various supported platforms.
|
||||||
|
|
||||||
|
Looking for released versions of the .NET Core tooling?
|
||||||
|
----------------------------------------
|
||||||
|
|
||||||
|
Download released versions of the .NET Core tools (CLI, MSBuild and the new csproj) at https://dot.net/core.
|
||||||
|
|
||||||
|
Found an issue?
|
||||||
|
---------------
|
||||||
|
You can consult the [Documents Index for the SDK repo](https://github.com/dotnet/sdk/blob/main/documentation/README.md) to find out current issues, see workarounds, and to see how to file new issues.
|
||||||
|
|
||||||
|
This project has adopted the code of conduct defined by the [Contributor Covenant](http://contributor-covenant.org/) to clarify expected behavior in our community. For more information, see the [.NET Foundation Code of Conduct](http://www.dotnetfoundation.org/code-of-conduct).
|
||||||
|
|
||||||
|
# Build .NET installer
|
||||||
|
|
||||||
|
The repository contains native code project required for the Windows installer. If you intend to build it locally on Windows, you will need to ensure that you have the following items installed.
|
||||||
|
- Install CMAKE 3.21.0 is required if you're building VS 17.0. Make sure to add CMAKE to your PATH (the installer will prompt you).
|
||||||
|
- Install MSVC Build tools for x86/x64/arm64, v14.28-16.9
|
||||||
|
|
||||||
|
- `build` for basic build
|
||||||
|
- `build -pack` to build the installer
|
||||||
|
- To build in VS, run a command line build first, then run `artifacts\core-sdk-build-env.bat` from a VS command prompt and then `devenv Microsoft.DotNet.Cli.sln`
|
||||||
|
- To test different languages of the installer, run `artifacts\packages\Debug\Shipping>dotnet-sdk-3.1.412-win-x64.exe /lang 1046` using the LCID of the language you want to test
|
||||||
|
|
||||||
|
# Build .NET from source (source-build)
|
||||||
|
|
||||||
|
This repo also contains code to help you build the entire .NET product end-to-end from source (often referred to as source-build), even in disconnected/offline mode.
|
||||||
|
Please see the [dotnet/source-build](https://github.com/dotnet/source-build) repo for more information.
|
||||||
|
|
||||||
|
## Support
|
||||||
|
|
||||||
|
.NET Source-Build is supported on the oldest available .NET SDK feature update for each major release, and on Linux only.
|
||||||
|
For example, if .NET 6.0.1xx, 6.0.2xx, and 7.0.1xx feature updates are available from [dotnet.microsoft.com](https://dotnet.microsoft.com/en-us/download/dotnet/6.0), Source-Build will support 6.0.1xx and 7.0.1xx.
|
||||||
|
For the latest information about Source-Build support for new .NET versions, please check our [GitHub Discussions page](https://github.com/dotnet/source-build/discussions) for announcements.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
The dependencies for building .NET from source can be found [here](https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md).
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
1. Create a .NET source tarball.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=/path/to/place/complete/dotnet/sources
|
||||||
|
```
|
||||||
|
|
||||||
|
This fetches the complete .NET source code and creates a tarball at `artifacts/packages/<Release|Debug>/Shipping/`.
|
||||||
|
The extracted source code is also placed at `/path/to/place/complete/dotnet/sources`.
|
||||||
|
The source directory should be outside (and not somewhere under) the installer directory.
|
||||||
|
|
||||||
|
2. Prep the source to build on your distro. This downloads a .NET SDK and a number of .NET packages needed to build .NET from source.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd /path/to/complete/dotnet/sources
|
||||||
|
./prep.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
On arm64, please use `./prep.sh --bootstrap` instead. This issue is being tracked [here](https://github.com/dotnet/source-build/issues/2758).
|
||||||
|
|
||||||
|
3. Build the .NET SDK
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./build.sh --clean-while-building
|
||||||
|
```
|
||||||
|
|
||||||
|
This builds the entire .NET SDK from source.
|
||||||
|
The resulting SDK is placed at `artifacts/x64/Release/dotnet-sdk-7.0.100-your-RID.tar.gz`.
|
||||||
|
|
||||||
|
Optionally add the `--online` flag to add online NuGet restore sources to the build.
|
||||||
|
This is useful for testing unsupported releases that don't yet build without downloading pre-built binaries from the internet.
|
||||||
|
|
||||||
|
Run `./build.sh --help` to see more information about supported build options.
|
||||||
|
|
||||||
|
4. (Optional) Unpack and install the .NET SDK
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p $HOME/dotnet
|
||||||
|
tar zxf artifacts/x64/Release/dotnet-sdk-7.0.100-your-RID.tar.gz -C $HOME/dotnet
|
||||||
|
ln -s $HOME/dotnet/dotnet /usr/bin/dotnet
|
||||||
|
```
|
||||||
|
|
||||||
|
To test your source-built SDK, run the following:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dotnet --info
|
||||||
|
```
|
||||||
|
|
||||||
|
# Build status
|
||||||
|
|
||||||
|
Visibility|All legs|
|
||||||
|
|:------|:------|
|
||||||
|
|Public|[![Status](https://dev.azure.com/dnceng/public/_apis/build/status/176)](https://dev.azure.com/dnceng/public/_build?definitionId=176)|
|
||||||
|
|Microsoft Internal|[![Status](https://dev.azure.com/dnceng/internal/_apis/build/status/286)](https://dev.azure.com/dnceng/internal/_build?definitionId=286)|
|
||||||
|
|
||||||
|
## Installers and Binaries
|
||||||
|
|
||||||
|
You can download the .NET Core SDK as either an installer (MSI, PKG) or a zip (zip, tar.gz). The .NET Core SDK contains both the .NET Core runtime and CLI tools.
|
||||||
|
|
||||||
|
**Note:** Be aware that the following installers are the **latest bits**. If you
|
||||||
|
want to install the latest released versions, check out the [preceding section](#looking-for-released-versions-of-the-net-core-tooling).
|
||||||
|
With development builds, internal NuGet feeds are necessary for some scenarios (for example, to acquire the runtime pack for self-contained apps). You can use the following NuGet.config to configure these feeds. See the following document [Configuring NuGet behavior](https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior) for more information on where to modify your NuGet.config to apply the changes.
|
||||||
|
|
||||||
|
**For .NET 7 builds**
|
||||||
|
|
||||||
|
```
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
|
```
|
||||||
|
|
||||||
|
**For .NET 6 builds**
|
||||||
|
|
||||||
|
```
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
|
```
|
||||||
|
|
||||||
|
**For .NET 6 Optional workloads**
|
||||||
|
_The below feed is needed for 6.0 releases before RC1_
|
||||||
|
|
||||||
|
We strongly recommend using `--skip-manifest-update` with `dotnet workload install` as otherwise you could pick up a random build of various workloads as we'll automatically update to the newest one available on the feed.
|
||||||
|
|
||||||
|
```
|
||||||
|
<configuration>
|
||||||
|
<packageSources>
|
||||||
|
<add key="maui" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
|
||||||
|
</packageSources>
|
||||||
|
</configuration>
|
||||||
|
```
|
||||||
|
Please do not directly edit the table below. Use https://github.com/dotnet/installer/tree/main/tools/sdk-readme-table-generator to help you generate it. Make sure to run the table generator test and make any changes to the generator along with your changes to the table. Daily servicing builds have been removed as all servicing is done in private repos to avoid disclosure of critical security fixes. All public servicing builds can be downloaded at http://aka.ms/dotnet-download.
|
||||||
|
|
||||||
|
### Table
|
||||||
|
|
||||||
|
| Platform | main<br>(7.0.x Runtime) | Release/7.0.1xx-preview7<br>(7.0.x Runtime) | Release/6.0.4XX<br>(6.0.x Runtime) |
|
||||||
|
| :--------- | :----------: | :----------: | :----------: |
|
||||||
|
| **Windows x64** | [![][win-x64-badge-main]][win-x64-version-main]<br>[Installer][win-x64-installer-main] - [Checksum][win-x64-installer-checksum-main]<br>[zip][win-x64-zip-main] - [Checksum][win-x64-zip-checksum-main] | [![][win-x64-badge-7.0.1XX-preview7]][win-x64-version-7.0.1XX-preview7]<br>[Installer][win-x64-installer-7.0.1XX-preview7] - [Checksum][win-x64-installer-checksum-7.0.1XX-preview7]<br>[zip][win-x64-zip-7.0.1XX-preview7] - [Checksum][win-x64-zip-checksum-7.0.1XX-preview7] | [![][win-x64-badge-6.0.4XX]][win-x64-version-6.0.4XX]<br>[Installer][win-x64-installer-6.0.4XX] - [Checksum][win-x64-installer-checksum-6.0.4XX]<br>[zip][win-x64-zip-6.0.4XX] - [Checksum][win-x64-zip-checksum-6.0.4XX] |
|
||||||
|
| **Windows x86** | [![][win-x86-badge-main]][win-x86-version-main]<br>[Installer][win-x86-installer-main] - [Checksum][win-x86-installer-checksum-main]<br>[zip][win-x86-zip-main] - [Checksum][win-x86-zip-checksum-main] | [![][win-x86-badge-7.0.1XX-preview7]][win-x86-version-7.0.1XX-preview7]<br>[Installer][win-x86-installer-7.0.1XX-preview7] - [Checksum][win-x86-installer-checksum-7.0.1XX-preview7]<br>[zip][win-x86-zip-7.0.1XX-preview7] - [Checksum][win-x86-zip-checksum-7.0.1XX-preview7] | [![][win-x86-badge-6.0.4XX]][win-x86-version-6.0.4XX]<br>[Installer][win-x86-installer-6.0.4XX] - [Checksum][win-x86-installer-checksum-6.0.4XX]<br>[zip][win-x86-zip-6.0.4XX] - [Checksum][win-x86-zip-checksum-6.0.4XX] |
|
||||||
|
| **Windows arm** | **N/A** | **N/A** | **N/A** |
|
||||||
|
| **Windows arm64** | [![][win-arm64-badge-main]][win-arm64-version-main]<br>[Installer][win-arm64-installer-main] - [Checksum][win-arm64-installer-checksum-main]<br>[zip][win-arm64-zip-main] | [![][win-arm64-badge-7.0.1XX-preview7]][win-arm64-version-7.0.1XX-preview7]<br>[Installer][win-arm64-installer-7.0.1XX-preview7] - [Checksum][win-arm64-installer-checksum-7.0.1XX-preview7]<br>[zip][win-arm64-zip-7.0.1XX-preview7] | [![][win-arm64-badge-6.0.4XX]][win-arm64-version-6.0.4XX]<br>[Installer][win-arm64-installer-6.0.4XX] - [Checksum][win-arm64-installer-checksum-6.0.4XX]<br>[zip][win-arm64-zip-6.0.4XX] |
|
||||||
|
| **macOS x64** | [![][osx-x64-badge-main]][osx-x64-version-main]<br>[Installer][osx-x64-installer-main] - [Checksum][osx-x64-installer-checksum-main]<br>[tar.gz][osx-x64-targz-main] - [Checksum][osx-x64-targz-checksum-main] | [![][osx-x64-badge-7.0.1XX-preview7]][osx-x64-version-7.0.1XX-preview7]<br>[Installer][osx-x64-installer-7.0.1XX-preview7] - [Checksum][osx-x64-installer-checksum-7.0.1XX-preview7]<br>[tar.gz][osx-x64-targz-7.0.1XX-preview7] - [Checksum][osx-x64-targz-checksum-7.0.1XX-preview7] | [![][osx-x64-badge-6.0.4XX]][osx-x64-version-6.0.4XX]<br>[Installer][osx-x64-installer-6.0.4XX] - [Checksum][osx-x64-installer-checksum-6.0.4XX]<br>[tar.gz][osx-x64-targz-6.0.4XX] - [Checksum][osx-x64-targz-checksum-6.0.4XX] |
|
||||||
|
| **macOS arm64** | [![][osx-arm64-badge-main]][osx-arm64-version-main]<br>[Installer][osx-arm64-installer-main] - [Checksum][osx-arm64-installer-checksum-main]<br>[tar.gz][osx-arm64-targz-main] - [Checksum][osx-arm64-targz-checksum-main] | [![][osx-arm64-badge-7.0.1XX-preview7]][osx-arm64-version-7.0.1XX-preview7]<br>[Installer][osx-arm64-installer-7.0.1XX-preview7] - [Checksum][osx-arm64-installer-checksum-7.0.1XX-preview7]<br>[tar.gz][osx-arm64-targz-7.0.1XX-preview7] - [Checksum][osx-arm64-targz-checksum-7.0.1XX-preview7] | [![][osx-arm64-badge-6.0.4XX]][osx-arm64-version-6.0.4XX]<br>[Installer][osx-arm64-installer-6.0.4XX] - [Checksum][osx-arm64-installer-checksum-6.0.4XX]<br>[tar.gz][osx-arm64-targz-6.0.4XX] - [Checksum][osx-arm64-targz-checksum-6.0.4XX] |
|
||||||
|
| **Linux x64** | [![][linux-badge-main]][linux-version-main]<br>[DEB Installer][linux-DEB-installer-main] - [Checksum][linux-DEB-installer-checksum-main]<br>[RPM Installer][linux-RPM-installer-main] - [Checksum][linux-RPM-installer-checksum-main]<br>_see installer note below_<sup>1</sup><br>[tar.gz][linux-targz-main] - [Checksum][linux-targz-checksum-main] | [![][linux-badge-7.0.1XX-preview7]][linux-version-7.0.1XX-preview7]<br>[DEB Installer][linux-DEB-installer-7.0.1XX-preview7] - [Checksum][linux-DEB-installer-checksum-7.0.1XX-preview7]<br>[RPM Installer][linux-RPM-installer-7.0.1XX-preview7] - [Checksum][linux-RPM-installer-checksum-7.0.1XX-preview7]<br>_see installer note below_<sup>1</sup><br>[tar.gz][linux-targz-7.0.1XX-preview7] - [Checksum][linux-targz-checksum-7.0.1XX-preview7] | [![][linux-badge-6.0.4XX]][linux-version-6.0.4XX]<br>[DEB Installer][linux-DEB-installer-6.0.4XX] - [Checksum][linux-DEB-installer-checksum-6.0.4XX]<br>[RPM Installer][linux-RPM-installer-6.0.4XX] - [Checksum][linux-RPM-installer-checksum-6.0.4XX]<br>_see installer note below_<sup>1</sup><br>[tar.gz][linux-targz-6.0.4XX] - [Checksum][linux-targz-checksum-6.0.4XX] |
|
||||||
|
| **Linux arm** | [![][linux-arm-badge-main]][linux-arm-version-main]<br>[tar.gz][linux-arm-targz-main] - [Checksum][linux-arm-targz-checksum-main] | [![][linux-arm-badge-7.0.1XX-preview7]][linux-arm-version-7.0.1XX-preview7]<br>[tar.gz][linux-arm-targz-7.0.1XX-preview7] - [Checksum][linux-arm-targz-checksum-7.0.1XX-preview7] | [![][linux-arm-badge-6.0.4XX]][linux-arm-version-6.0.4XX]<br>[tar.gz][linux-arm-targz-6.0.4XX] - [Checksum][linux-arm-targz-checksum-6.0.4XX] |
|
||||||
|
| **Linux arm64** | [![][linux-arm64-badge-main]][linux-arm64-version-main]<br>[tar.gz][linux-arm64-targz-main] - [Checksum][linux-arm64-targz-checksum-main] | [![][linux-arm64-badge-7.0.1XX-preview7]][linux-arm64-version-7.0.1XX-preview7]<br>[tar.gz][linux-arm64-targz-7.0.1XX-preview7] - [Checksum][linux-arm64-targz-checksum-7.0.1XX-preview7] | [![][linux-arm64-badge-6.0.4XX]][linux-arm64-version-6.0.4XX]<br>[tar.gz][linux-arm64-targz-6.0.4XX] - [Checksum][linux-arm64-targz-checksum-6.0.4XX] |
|
||||||
|
| **Linux-musl-x64** | [![][linux-musl-x64-badge-main]][linux-musl-x64-version-main]<br>[tar.gz][linux-musl-x64-targz-main] - [Checksum][linux-musl-x64-targz-checksum-main] | [![][linux-musl-x64-badge-7.0.1XX-preview7]][linux-musl-x64-version-7.0.1XX-preview7]<br>[tar.gz][linux-musl-x64-targz-7.0.1XX-preview7] - [Checksum][linux-musl-x64-targz-checksum-7.0.1XX-preview7] | [![][linux-musl-x64-badge-6.0.4XX]][linux-musl-x64-version-6.0.4XX]<br>[tar.gz][linux-musl-x64-targz-6.0.4XX] - [Checksum][linux-musl-x64-targz-checksum-6.0.4XX] |
|
||||||
|
| **Linux-musl-arm** | [![][linux-musl-arm-badge-main]][linux-musl-arm-version-main]<br>[tar.gz][linux-musl-arm-targz-main] - [Checksum][linux-musl-arm-targz-checksum-main] | [![][linux-musl-arm-badge-7.0.1XX-preview7]][linux-musl-arm-version-7.0.1XX-preview7]<br>[tar.gz][linux-musl-arm-targz-7.0.1XX-preview7] - [Checksum][linux-musl-arm-targz-checksum-7.0.1XX-preview7] | [![][linux-musl-arm-badge-6.0.4XX]][linux-musl-arm-version-6.0.4XX]<br>[tar.gz][linux-musl-arm-targz-6.0.4XX] - [Checksum][linux-musl-arm-targz-checksum-6.0.4XX] |
|
||||||
|
| **Linux-musl-arm64** | [![][linux-musl-arm64-badge-main]][linux-musl-arm64-version-main]<br>[tar.gz][linux-musl-arm64-targz-main] - [Checksum][linux-musl-arm64-targz-checksum-main] | [![][linux-musl-arm64-badge-7.0.1XX-preview7]][linux-musl-arm64-version-7.0.1XX-preview7]<br>[tar.gz][linux-musl-arm64-targz-7.0.1XX-preview7] - [Checksum][linux-musl-arm64-targz-checksum-7.0.1XX-preview7] | [![][linux-musl-arm64-badge-6.0.4XX]][linux-musl-arm64-version-6.0.4XX]<br>[tar.gz][linux-musl-arm64-targz-6.0.4XX] - [Checksum][linux-musl-arm64-targz-checksum-6.0.4XX] |
|
||||||
|
| **RHEL 6** | **N/A** | **N/A** | **N/A** |
|
||||||
|
|
||||||
|
Reference notes:
|
||||||
|
> **1**: Our Debian packages are put together slightly differently than the other OS specific installers. Instead of combining everything, we have separate component packages that depend on each other. If you're installing the SDK from the .deb file (via dpkg or similar), then you'll need to install the corresponding dependencies first:
|
||||||
|
> * [Host, Host FX Resolver, and Shared Framework](https://github.com/dotnet/runtime/blob/main/docs/project/dogfooding.md#nightly-builds-table)
|
||||||
|
> * [ASP.NET Core Shared Framework](https://github.com/aspnet/AspNetCore/blob/main/docs/DailyBuilds.md)
|
||||||
|
|
||||||
|
.NET Core SDK 2.x downloads can be found here: [.NET Core SDK 2.x Installers and Binaries](Downloads2.x.md)
|
||||||
|
|
||||||
|
[win-x64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/win_x64_Release_version_badge.svg
|
||||||
|
[win-x64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-win-x64.txt
|
||||||
|
[win-x64-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.exe
|
||||||
|
[win-x64-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.exe.sha
|
||||||
|
[win-x64-zip-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.zip
|
||||||
|
[win-x64-zip-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x64.zip.sha
|
||||||
|
|
||||||
|
[win-x64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/win_x64_Release_version_badge.svg
|
||||||
|
[win-x64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-win-x64.txt
|
||||||
|
[win-x64-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x64.exe
|
||||||
|
[win-x64-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x64.exe.sha
|
||||||
|
[win-x64-zip-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x64.zip
|
||||||
|
[win-x64-zip-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x64.zip.sha
|
||||||
|
|
||||||
|
[win-x64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/win_x64_Release_version_badge.svg
|
||||||
|
[win-x64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-win-x64.txt
|
||||||
|
[win-x64-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x64.exe
|
||||||
|
[win-x64-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x64.exe.sha
|
||||||
|
[win-x64-zip-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x64.zip
|
||||||
|
[win-x64-zip-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x64.zip.sha
|
||||||
|
|
||||||
|
[win-x86-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/win_x86_Release_version_badge.svg
|
||||||
|
[win-x86-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-win-x86.txt
|
||||||
|
[win-x86-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x86.exe
|
||||||
|
[win-x86-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x86.exe.sha
|
||||||
|
[win-x86-zip-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x86.zip
|
||||||
|
[win-x86-zip-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-x86.zip.sha
|
||||||
|
|
||||||
|
[win-x86-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/win_x86_Release_version_badge.svg
|
||||||
|
[win-x86-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-win-x86.txt
|
||||||
|
[win-x86-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x86.exe
|
||||||
|
[win-x86-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x86.exe.sha
|
||||||
|
[win-x86-zip-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x86.zip
|
||||||
|
[win-x86-zip-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-x86.zip.sha
|
||||||
|
|
||||||
|
[win-x86-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/win_x86_Release_version_badge.svg
|
||||||
|
[win-x86-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-win-x86.txt
|
||||||
|
[win-x86-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x86.exe
|
||||||
|
[win-x86-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x86.exe.sha
|
||||||
|
[win-x86-zip-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x86.zip
|
||||||
|
[win-x86-zip-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-x86.zip.sha
|
||||||
|
|
||||||
|
[osx-x64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/osx_x64_Release_version_badge.svg
|
||||||
|
[osx-x64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-osx-x64.txt
|
||||||
|
[osx-x64-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-x64.pkg
|
||||||
|
[osx-x64-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-x64.pkg.sha
|
||||||
|
[osx-x64-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-x64.tar.gz
|
||||||
|
[osx-x64-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-x64.pkg.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-x64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/osx_x64_Release_version_badge.svg
|
||||||
|
[osx-x64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-osx-x64.txt
|
||||||
|
[osx-x64-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-x64.pkg
|
||||||
|
[osx-x64-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-x64.pkg.sha
|
||||||
|
[osx-x64-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-x64.tar.gz
|
||||||
|
[osx-x64-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-x64.pkg.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-x64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/osx_x64_Release_version_badge.svg
|
||||||
|
[osx-x64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-osx-x64.txt
|
||||||
|
[osx-x64-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-x64.pkg
|
||||||
|
[osx-x64-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-x64.pkg.sha
|
||||||
|
[osx-x64-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-x64.tar.gz
|
||||||
|
[osx-x64-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-x64.pkg.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-arm64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/osx_arm64_Release_version_badge.svg
|
||||||
|
[osx-arm64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-osx-arm64.txt
|
||||||
|
[osx-arm64-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-arm64.pkg
|
||||||
|
[osx-arm64-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-arm64.pkg.sha
|
||||||
|
[osx-arm64-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-arm64.tar.gz
|
||||||
|
[osx-arm64-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-osx-arm64.pkg.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-arm64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/osx_arm64_Release_version_badge.svg
|
||||||
|
[osx-arm64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-osx-arm64.txt
|
||||||
|
[osx-arm64-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-arm64.pkg
|
||||||
|
[osx-arm64-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-arm64.pkg.sha
|
||||||
|
[osx-arm64-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-arm64.tar.gz
|
||||||
|
[osx-arm64-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-osx-arm64.pkg.tar.gz.sha
|
||||||
|
|
||||||
|
[osx-arm64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/osx_arm64_Release_version_badge.svg
|
||||||
|
[osx-arm64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-osx-arm64.txt
|
||||||
|
[osx-arm64-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-arm64.pkg
|
||||||
|
[osx-arm64-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-arm64.pkg.sha
|
||||||
|
[osx-arm64-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-arm64.tar.gz
|
||||||
|
[osx-arm64-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-osx-arm64.pkg.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/linux_x64_Release_version_badge.svg
|
||||||
|
[linux-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-linux-x64.txt
|
||||||
|
[linux-DEB-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-x64.deb
|
||||||
|
[linux-DEB-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-x64.deb.sha
|
||||||
|
[linux-RPM-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-x64.rpm
|
||||||
|
[linux-RPM-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-x64.rpm.sha
|
||||||
|
[linux-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-x64.tar.gz
|
||||||
|
[linux-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/linux_x64_Release_version_badge.svg
|
||||||
|
[linux-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-linux-x64.txt
|
||||||
|
[linux-DEB-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-x64.deb
|
||||||
|
[linux-DEB-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-x64.deb.sha
|
||||||
|
[linux-RPM-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-x64.rpm
|
||||||
|
[linux-RPM-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-x64.rpm.sha
|
||||||
|
[linux-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-x64.tar.gz
|
||||||
|
[linux-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/linux_x64_Release_version_badge.svg
|
||||||
|
[linux-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-linux-x64.txt
|
||||||
|
[linux-DEB-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-x64.deb
|
||||||
|
[linux-DEB-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-x64.deb.sha
|
||||||
|
[linux-RPM-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-x64.rpm
|
||||||
|
[linux-RPM-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-x64.rpm.sha
|
||||||
|
[linux-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-x64.tar.gz
|
||||||
|
[linux-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/linux_arm_Release_version_badge.svg
|
||||||
|
[linux-arm-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-linux-arm.txt
|
||||||
|
[linux-arm-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-arm.tar.gz
|
||||||
|
[linux-arm-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/linux_arm_Release_version_badge.svg
|
||||||
|
[linux-arm-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-linux-arm.txt
|
||||||
|
[linux-arm-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-arm.tar.gz
|
||||||
|
[linux-arm-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/linux_arm_Release_version_badge.svg
|
||||||
|
[linux-arm-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-linux-arm.txt
|
||||||
|
[linux-arm-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-arm.tar.gz
|
||||||
|
[linux-arm-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/linux_arm64_Release_version_badge.svg
|
||||||
|
[linux-arm64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-linux-arm64.txt
|
||||||
|
[linux-arm64-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-arm64.tar.gz
|
||||||
|
[linux-arm64-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/linux_arm64_Release_version_badge.svg
|
||||||
|
[linux-arm64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-linux-arm64.txt
|
||||||
|
[linux-arm64-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-arm64.tar.gz
|
||||||
|
[linux-arm64-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-arm64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/linux_arm64_Release_version_badge.svg
|
||||||
|
[linux-arm64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-linux-arm64.txt
|
||||||
|
[linux-arm64-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-arm64.tar.gz
|
||||||
|
[linux-arm64-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[rhel-6-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/rhel.6_x64_Release_version_badge.svg
|
||||||
|
[rhel-6-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-rhel.6-x64.txt
|
||||||
|
[rhel-6-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-rhel.6-x64.tar.gz
|
||||||
|
[rhel-6-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-rhel.6-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[rhel-6-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/rhel.6_x64_Release_version_badge.svg
|
||||||
|
[rhel-6-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-rhel.6-x64.txt
|
||||||
|
[rhel-6-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-rhel.6-x64.tar.gz
|
||||||
|
[rhel-6-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-rhel.6-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[rhel-6-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/rhel.6_x64_Release_version_badge.svg
|
||||||
|
[rhel-6-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-rhel.6-x64.txt
|
||||||
|
[rhel-6-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-rhel.6-x64.tar.gz
|
||||||
|
[rhel-6-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-rhel.6-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-x64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/linux_musl_x64_Release_version_badge.svg
|
||||||
|
[linux-musl-x64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-linux-musl-x64.txt
|
||||||
|
[linux-musl-x64-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-musl-x64.tar.gz
|
||||||
|
[linux-musl-x64-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-musl-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-x64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/linux_musl_x64_Release_version_badge.svg
|
||||||
|
[linux-musl-x64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-linux-musl-x64.txt
|
||||||
|
[linux-musl-x64-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-musl-x64.tar.gz
|
||||||
|
[linux-musl-x64-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-musl-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-x64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/linux_musl_x64_Release_version_badge.svg
|
||||||
|
[linux-musl-x64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-linux-musl-x64.txt
|
||||||
|
[linux-musl-x64-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-musl-x64.tar.gz
|
||||||
|
[linux-musl-x64-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-musl-x64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-arm-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/linux_musl_arm_Release_version_badge.svg
|
||||||
|
[linux-musl-arm-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-linux-musl-arm.txt
|
||||||
|
[linux-musl-arm-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-musl-arm.tar.gz
|
||||||
|
[linux-musl-arm-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-musl-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-arm-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/linux_musl_arm_Release_version_badge.svg
|
||||||
|
[linux-musl-arm-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-linux-musl-arm.txt
|
||||||
|
[linux-musl-arm-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-musl-arm.tar.gz
|
||||||
|
[linux-musl-arm-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-musl-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-arm-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/linux_musl_arm_Release_version_badge.svg
|
||||||
|
[linux-musl-arm-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-linux-musl-arm.txt
|
||||||
|
[linux-musl-arm-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-musl-arm.tar.gz
|
||||||
|
[linux-musl-arm-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-musl-arm.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-arm64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/linux_musl_arm64_Release_version_badge.svg
|
||||||
|
[linux-musl-arm64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-linux-musl-arm64.txt
|
||||||
|
[linux-musl-arm64-targz-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-musl-arm64.tar.gz
|
||||||
|
[linux-musl-arm64-targz-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-linux-musl-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-arm64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/linux_musl_arm64_Release_version_badge.svg
|
||||||
|
[linux-musl-arm64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-linux-musl-arm64.txt
|
||||||
|
[linux-musl-arm64-targz-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-musl-arm64.tar.gz
|
||||||
|
[linux-musl-arm64-targz-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-linux-musl-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[linux-musl-arm64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/linux_musl_arm64_Release_version_badge.svg
|
||||||
|
[linux-musl-arm64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-linux-musl-arm64.txt
|
||||||
|
[linux-musl-arm64-targz-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-musl-arm64.tar.gz
|
||||||
|
[linux-musl-arm64-targz-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-linux-musl-arm64.tar.gz.sha
|
||||||
|
|
||||||
|
[win-arm-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/win_arm_Release_version_badge.svg
|
||||||
|
[win-arm-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-win-arm.txt
|
||||||
|
[win-arm-zip-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm.zip
|
||||||
|
[win-arm-zip-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm.zip.sha
|
||||||
|
|
||||||
|
[win-arm-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/win_arm_Release_version_badge.svg
|
||||||
|
[win-arm-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-win-arm.txt
|
||||||
|
[win-arm-zip-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-arm.zip
|
||||||
|
[win-arm-zip-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-arm.zip.sha
|
||||||
|
|
||||||
|
[win-arm-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/win_arm_Release_version_badge.svg
|
||||||
|
[win-arm-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-win-arm.txt
|
||||||
|
[win-arm-zip-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-arm.zip
|
||||||
|
[win-arm-zip-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-arm.zip.sha
|
||||||
|
|
||||||
|
[win-arm64-badge-main]: https://aka.ms/dotnet/7.0.1xx/daily/win_arm64_Release_version_badge.svg
|
||||||
|
[win-arm64-version-main]: https://aka.ms/dotnet/7.0.1xx/daily/productCommit-win-arm64.txt
|
||||||
|
[win-arm64-installer-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm64.exe
|
||||||
|
[win-arm64-installer-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm64.exe.sha
|
||||||
|
[win-arm64-zip-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm64.zip
|
||||||
|
[win-arm64-zip-checksum-main]: https://aka.ms/dotnet/7.0.1xx/daily/dotnet-sdk-win-arm64.zip.sha
|
||||||
|
|
||||||
|
[win-arm64-badge-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/win_arm64_Release_version_badge.svg
|
||||||
|
[win-arm64-version-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/productCommit-win-arm64.txt
|
||||||
|
[win-arm64-installer-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-arm64.exe
|
||||||
|
[win-arm64-installer-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-arm64.exe.sha
|
||||||
|
[win-arm64-zip-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-arm64.zip
|
||||||
|
[win-arm64-zip-checksum-7.0.1XX-preview7]: https://aka.ms/dotnet/7.0.1xx-preview7/daily/dotnet-sdk-win-arm64.zip.sha
|
||||||
|
|
||||||
|
[win-arm64-badge-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/win_arm64_Release_version_badge.svg
|
||||||
|
[win-arm64-version-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/productCommit-win-arm64.txt
|
||||||
|
[win-arm64-installer-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-arm64.exe
|
||||||
|
[win-arm64-installer-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-arm64.exe.sha
|
||||||
|
[win-arm64-zip-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-arm64.zip
|
||||||
|
[win-arm64-zip-checksum-6.0.4XX]: https://aka.ms/dotnet/6.0.4xx/daily/dotnet-sdk-win-arm64.zip.sha
|
||||||
|
|
||||||
|
[sdk-shas-2.2.1XX]: https://github.com/dotnet/versions/tree/master/build-info/dotnet/product/cli/release/2.2#built-repositories
|
||||||
|
|
||||||
|
Looking for dotnet-install sources?
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
Sources for dotnet-install.sh and dotnet-install.ps1 are in the [install-scripts repo](https://github.com/dotnet/install-scripts).
|
||||||
|
|
||||||
|
Questions & Comments
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
For all feedback, use the Issues on the [.NET CLI](https://github.com/dotnet/cli) repository.
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
By downloading the .zip you are agreeing to the terms in the project [EULA](https://aka.ms/dotnet-core-eula).
|
||||||
|
|
15
SECURITY.md
Normal file
15
SECURITY.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Security Policy
|
||||||
|
|
||||||
|
## Supported Versions
|
||||||
|
|
||||||
|
The .NET Core and ASP.NET Core support policy, including supported versions can be found at the [.NET Core Support Policy Page](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
|
||||||
|
|
||||||
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
|
Security issues and bugs should be reported privately to the Microsoft Security Response Center (MSRC), either by emailing secure@microsoft.com or via the portal at https://msrc.microsoft.com.
|
||||||
|
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your
|
||||||
|
original message. Further information, including the MSRC PGP key, can be found in the [MSRC Report an Issue FAQ](https://www.microsoft.com/en-us/msrc/faqs-report-an-issue).
|
||||||
|
|
||||||
|
Reports via MSRC may qualify for the .NET Core Bug Bounty. Details of the .NET Core Bug Bounty including terms and conditions are at [https://aka.ms/corebounty](https://aka.ms/corebounty).
|
||||||
|
|
||||||
|
Please do not open issues for anything you think might have a security implication.
|
112
THIRD-PARTY-NOTICES
Normal file
112
THIRD-PARTY-NOTICES
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
.NET Core uses third-party libraries or other resources that may be
|
||||||
|
distributed under licenses different than the .NET Core software.
|
||||||
|
|
||||||
|
Attributions and licence notices for test cases originally authored by
|
||||||
|
third parties can be found in the respective test directories.
|
||||||
|
|
||||||
|
In the event that we accidentally failed to list a required notice, please
|
||||||
|
bring it to our attention. Post an issue or email us:
|
||||||
|
|
||||||
|
dotnet@microsoft.com
|
||||||
|
|
||||||
|
The attached notices are provided for information only.
|
||||||
|
|
||||||
|
License notice for Nuget.Client
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
Copyright (c) .NET Foundation. All rights reserved.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||||
|
these files except in compliance with the License. You may obtain a copy of the
|
||||||
|
License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software distributed
|
||||||
|
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||||||
|
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
|
License notice for LZMA SDK
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
http://7-zip.org/sdk.html
|
||||||
|
|
||||||
|
LZMA SDK is placed in the public domain.
|
||||||
|
|
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the
|
||||||
|
original LZMA SDK code, either in source code form or as a compiled binary,
|
||||||
|
for any purpose, commercial or non-commercial, and by any means.
|
||||||
|
|
||||||
|
License notice for RFC 3492
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
Copyright (C) The Internet Society (2003). All Rights Reserved.
|
||||||
|
|
||||||
|
This document and translations of it may be copied and furnished to
|
||||||
|
others, and derivative works that comment on or otherwise explain it
|
||||||
|
or assist in its implementation may be prepared, copied, published
|
||||||
|
and distributed, in whole or in part, without restriction of any
|
||||||
|
kind, provided that the above copyright notice and this paragraph are
|
||||||
|
included on all such copies and derivative works. However, this
|
||||||
|
document itself may not be modified in any way, such as by removing
|
||||||
|
the copyright notice or references to the Internet Society or other
|
||||||
|
Internet organizations, except as needed for the purpose of
|
||||||
|
developing Internet standards in which case the procedures for
|
||||||
|
copyrights defined in the Internet Standards process must be
|
||||||
|
followed, or as required to translate it into languages other than
|
||||||
|
English.
|
||||||
|
|
||||||
|
The limited permissions granted above are perpetual and will not be
|
||||||
|
revoked by the Internet Society or its successors or assigns.
|
||||||
|
|
||||||
|
This document and the information contained herein is provided on an
|
||||||
|
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
|
||||||
|
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
|
||||||
|
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
License notice for MonoDevelop
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
Copyright (c) 2011 Novell, Inc (http://www.novell.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
|
@ -0,0 +1,12 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFrameworks>netcoreapp2.2;net461</TargetFrameworks>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\TestLibrary\TestLibrary.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace TestApp
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine(TestLibrary.Helper.GetMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace TestApp
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine(TestLibrary.Helper.GetMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net461</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\TestLibrary\TestLibrary.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,24 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace TestLibrary
|
||||||
|
{
|
||||||
|
public static class Helper
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>A message</returns>
|
||||||
|
public static string GetMessage()
|
||||||
|
{
|
||||||
|
return "This string came from the test library!";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void SayHi()
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello there!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
3
TestAssets/Directory.Build.props
Normal file
3
TestAssets/Directory.Build.props
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<Project>
|
||||||
|
<!-- Empty Directory.Build.props file to prevent test asset projects from picking up the repo's Directory.Build.props' -->
|
||||||
|
</Project>
|
3
TestAssets/Directory.Build.targets
Normal file
3
TestAssets/Directory.Build.targets
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<Project>
|
||||||
|
<!-- Empty Directory.Build.targets file to prevent test asset projects from picking up the repo's Directory.Build.props' -->
|
||||||
|
</Project>
|
|
@ -0,0 +1,2 @@
|
||||||
|
This directory is intentionally empty.
|
||||||
|
|
22
TestAssets/TestPackages/dotnet-portable/Program.cs
Normal file
22
TestAssets/TestPackages/dotnet-portable/Program.cs
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
namespace ConsoleApplication
|
||||||
|
{
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello Portable World!");
|
||||||
|
|
||||||
|
var depsFile = new FileInfo(AppContext.GetData("FX_DEPS_FILE") as string);
|
||||||
|
string frameworkVersion = depsFile.Directory.Name;
|
||||||
|
|
||||||
|
Console.WriteLine($"I'm running on shared framework version {frameworkVersion}!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- netcoreapp2.2 is the maximum TFM project tools support -->
|
||||||
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
15
TestAssets/TestPackages/dotnet-prefercliruntime/Program.cs
Normal file
15
TestAssets/TestPackages/dotnet-prefercliruntime/Program.cs
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace ConsoleApplication
|
||||||
|
{
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello I prefer the cli runtime World!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- netcoreapp2.2 is the maximum TFM project tools support -->
|
||||||
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<VersionSuffix></VersionSuffix>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="prefercliruntime">
|
||||||
|
<Pack>true</Pack>
|
||||||
|
<PackagePath>/</PackagePath>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>$(CliTargetFramework)</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,16 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace MSBuildTestApp
|
||||||
|
{
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
var message = Environment.GetEnvironmentVariable("ASPNETCORE_URLS");
|
||||||
|
Console.WriteLine(message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"iisSettings": {
|
||||||
|
"windowsAuthentication": false,
|
||||||
|
"anonymousAuthentication": true,
|
||||||
|
"iisExpress": {
|
||||||
|
"applicationUrl": "http://localhost:49850/",
|
||||||
|
"sslPort": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"profiles": {
|
||||||
|
"First": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
|
"ASPNETCORE_URLS": "http://localhost:12345/"
|
||||||
|
},
|
||||||
|
"applicationUrl": "http://localhost:67890/"
|
||||||
|
},
|
||||||
|
"Second": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"applicationUrl": "http://localhost:54321/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj
Normal file
11
TestAssets/TestProjects/MSBuildTestApp/MSBuildTestApp.csproj
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
19
TestAssets/TestProjects/MSBuildTestApp/Program.cs
Normal file
19
TestAssets/TestProjects/MSBuildTestApp/Program.cs
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace MSBuildTestApp
|
||||||
|
{
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
if (args.Length > 0)
|
||||||
|
{
|
||||||
|
Console.WriteLine("echo args:" + string.Join(";", args));
|
||||||
|
}
|
||||||
|
Console.WriteLine("Hello World!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.26006.2
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
</Project>
|
23
TestAssets/TestProjects/TestAppSimple/Program.cs
Normal file
23
TestAssets/TestProjects/TestAppSimple/Program.cs
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace ConsoleApplication
|
||||||
|
{
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello World!");
|
||||||
|
|
||||||
|
if (args.Length > 0)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < args.Length; i++)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"{i} = {args[i]}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,2 @@
|
||||||
|
This directory is intentionally empty.
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,2 @@
|
||||||
|
This directory is intentionally empty.
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,21 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.26006.2
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
Foo Bar|Any CPU = Foo Bar|Any CPU
|
||||||
|
Foo Bar|x64 = Foo Bar|x64
|
||||||
|
Foo Bar|x86 = Foo Bar|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace ProjectWithAdditionalConfigs
|
||||||
|
{
|
||||||
|
public static class Library
|
||||||
|
{
|
||||||
|
public static string GetMessage()
|
||||||
|
{
|
||||||
|
return "Hello World!";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<ProjectGuid>{A302325B-D680-4C0E-8680-7AE283981624}</ProjectGuid>
|
||||||
|
<Platforms>AnyCPU;x64;x86;AdditionalPlatform</Platforms>
|
||||||
|
<Configurations>Debug;Release;FooBar;AdditionalConfiguration</Configurations>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace ProjectWithMatchingConfigs
|
||||||
|
{
|
||||||
|
public static class Library
|
||||||
|
{
|
||||||
|
public static string GetMessage()
|
||||||
|
{
|
||||||
|
return "Hello World!";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<ProjectGuid>{C9601CA2-DB64-4FB6-B463-368C7764BF0D}</ProjectGuid>
|
||||||
|
<Platforms>AnyCPU;x64;x86</Platforms>
|
||||||
|
<Configurations>Debug;Release;FooBar</Configurations>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,15 @@
|
||||||
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace ProjectWithoutMatchingConfigs
|
||||||
|
{
|
||||||
|
public static class Library
|
||||||
|
{
|
||||||
|
public static string GetMessage()
|
||||||
|
{
|
||||||
|
return "Hello World!";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<ProjectGuid>{C49B64DE-4401-4825-8A88-10DCB5950E57}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,44 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.27110.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "App", "App\App.csproj", "{BB02B949-F6BD-4872-95CB-96A05B1FE026}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{4E952B56-841D-461D-89A9-7977DDCC0625} = {4E952B56-841D-461D-89A9-7977DDCC0625}
|
||||||
|
{D53E177A-8ECF-43D5-A01E-98B884D53CA6} = {D53E177A-8ECF-43D5-A01E-98B884D53CA6}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "First", "First\First.csproj", "{D53E177A-8ECF-43D5-A01E-98B884D53CA6}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{4E952B56-841D-461D-89A9-7977DDCC0625} = {4E952B56-841D-461D-89A9-7977DDCC0625}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Second", "Second\Second.csproj", "{4E952B56-841D-461D-89A9-7977DDCC0625}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{BB02B949-F6BD-4872-95CB-96A05B1FE026}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{BB02B949-F6BD-4872-95CB-96A05B1FE026}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{BB02B949-F6BD-4872-95CB-96A05B1FE026}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{BB02B949-F6BD-4872-95CB-96A05B1FE026}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{D53E177A-8ECF-43D5-A01E-98B884D53CA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D53E177A-8ECF-43D5-A01E-98B884D53CA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D53E177A-8ECF-43D5-A01E-98B884D53CA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{D53E177A-8ECF-43D5-A01E-98B884D53CA6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{4E952B56-841D-461D-89A9-7977DDCC0625}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{4E952B56-841D-461D-89A9-7977DDCC0625}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{4E952B56-841D-461D-89A9-7977DDCC0625}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{4E952B56-841D-461D-89A9-7977DDCC0625}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {F6D9A973-1CFD-41C9-84F2-1471C0FE67DF}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
|
@ -0,0 +1,8 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,12 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace App
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Hello World!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace First
|
||||||
|
{
|
||||||
|
public class Class1
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,8 @@
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Second
|
||||||
|
{
|
||||||
|
public class Class1
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -0,0 +1,16 @@
|
||||||
|
@page
|
||||||
|
@model TestRazorApp.MyFeature.Pages.Page1Model
|
||||||
|
@{
|
||||||
|
Layout = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width" />
|
||||||
|
<title>Page1</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,17 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
|
||||||
|
namespace TestRazorApp.MyFeature.Pages
|
||||||
|
{
|
||||||
|
public class Page1Model : PageModel
|
||||||
|
{
|
||||||
|
public void OnGet()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
9
TestAssets/TestProjects/TestRazorApp/TestRazorApp.csproj
Normal file
9
TestAssets/TestProjects/TestRazorApp/TestRazorApp.csproj
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
24
TestAssets/TestProjects/TestWebAppSimple/Program.cs
Normal file
24
TestAssets/TestProjects/TestWebAppSimple/Program.cs
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNetCore;
|
||||||
|
using Microsoft.AspNetCore.Hosting;
|
||||||
|
using Microsoft.Extensions.Configuration;
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
|
namespace TestWebAppSimple
|
||||||
|
{
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static void Main(string[] args)
|
||||||
|
{
|
||||||
|
CreateWebHostBuilder(args).Build().Run();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||||
|
WebHost.CreateDefaultBuilder(args)
|
||||||
|
.UseStartup<Startup>();
|
||||||
|
}
|
||||||
|
}
|
34
TestAssets/TestProjects/TestWebAppSimple/Startup.cs
Normal file
34
TestAssets/TestProjects/TestWebAppSimple/Startup.cs
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNetCore.Builder;
|
||||||
|
using Microsoft.AspNetCore.Hosting;
|
||||||
|
using Microsoft.AspNetCore.Http;
|
||||||
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
|
namespace TestWebAppSimple
|
||||||
|
{
|
||||||
|
public class Startup
|
||||||
|
{
|
||||||
|
// This method gets called by the runtime. Use this method to add services to the container.
|
||||||
|
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
|
||||||
|
public void ConfigureServices(IServiceCollection services)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||||
|
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
|
||||||
|
{
|
||||||
|
if (env.IsDevelopment())
|
||||||
|
{
|
||||||
|
app.UseDeveloperExceptionPage();
|
||||||
|
}
|
||||||
|
|
||||||
|
app.Run(async (context) =>
|
||||||
|
{
|
||||||
|
await context.Response.WriteAsync("Hello World!");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>$(CliTargetFramework)</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="wwwroot\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="WriteDefaultPatchVersionsFile" BeforeTargets="Restore">
|
||||||
|
<WriteLinesToFile
|
||||||
|
File="$(MSBuildThisFileDirectory)/.DefaultPatchVersionForAspNetCoreApp2_1"
|
||||||
|
Lines="$(DefaultPatchVersionForAspNetCoreApp2_1)"
|
||||||
|
Overwrite="true"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="WriteBundledVersionsFile" BeforeTargets="Restore">
|
||||||
|
<WriteLinesToFile
|
||||||
|
File="$(MSBuildThisFileDirectory)/.BundledAspNetCoreVersion"
|
||||||
|
Lines="$(MicrosoftAspNetCoreAppRuntimeX64PackageVersion)"
|
||||||
|
Overwrite="true"/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
</Project>
|
14
TestAssets/TestProjects/UseCswinrt/Program.cs
Normal file
14
TestAssets/TestProjects/UseCswinrt/Program.cs
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
using System;
|
||||||
|
using Windows.Data.Json;
|
||||||
|
|
||||||
|
namespace consolecswinrt
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
var rootObject = JsonObject.Parse("{\"greet\": \"Hello\"}");
|
||||||
|
Console.WriteLine(rootObject["greet"]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
TestAssets/TestProjects/UseCswinrt/consolecswinrt.csproj
Normal file
7
TestAssets/TestProjects/UseCswinrt/consolecswinrt.csproj
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
|
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
13
TestAssets/TestProjects/docker-compose/docker-compose.dcproj
Normal file
13
TestAssets/TestProjects/docker-compose/docker-compose.dcproj
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project Sdk="Microsoft.Docker.Sdk">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectVersion>2.0</ProjectVersion>
|
||||||
|
<DockerTargetOS>Linux</DockerTargetOS>
|
||||||
|
<DockerLaunchAction>LaunchBrowser</DockerLaunchAction>
|
||||||
|
<DockerServiceUrl>http://localhost:{ServicePort}</DockerServiceUrl>
|
||||||
|
<DockerServiceName>testwebapplication</DockerServiceName>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="docker-compose.yml" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,8 @@
|
||||||
|
version: '3.0'
|
||||||
|
|
||||||
|
services:
|
||||||
|
testwebapplication:
|
||||||
|
image: testwebapplication
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: testwebapplication/Dockerfile
|
7
build.cmd
Normal file
7
build.cmd
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
REM Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
powershell -ExecutionPolicy Bypass -NoProfile -NoLogo -Command "& \"%~dp0run-build.ps1\" %*; exit $LastExitCode;"
|
||||||
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
57
build.sh
Executable file
57
build.sh
Executable file
|
@ -0,0 +1,57 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Set OFFLINE environment variable to build offline
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SOURCE="${BASH_SOURCE[0]}"
|
||||||
|
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
|
||||||
|
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||||
|
SOURCE="$(readlink "$SOURCE")"
|
||||||
|
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
|
||||||
|
done
|
||||||
|
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||||
|
|
||||||
|
# Some things depend on HOME and it may not be set. We should fix those things, but until then, we just patch a value in
|
||||||
|
if [ -z "$HOME" ]; then
|
||||||
|
export HOME=$DIR/artifacts/home
|
||||||
|
|
||||||
|
[ ! -d "$HOME" ] || rm -Rf $HOME
|
||||||
|
mkdir -p $HOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
args=
|
||||||
|
|
||||||
|
while [[ $# > 0 ]]; do
|
||||||
|
lowerI="$(echo $1 | awk '{print tolower($0)}')"
|
||||||
|
case $lowerI in
|
||||||
|
--docker)
|
||||||
|
export BUILD_IN_DOCKER=1
|
||||||
|
export DOCKER_IMAGENAME=$2
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--noprettyprint)
|
||||||
|
export DOTNET_CORESDK_NOPRETTYPRINT=1
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
args="$args $1"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
dockerbuild()
|
||||||
|
{
|
||||||
|
BUILD_COMMAND=$DIR/run-build.sh $DIR/eng/dockerrun.sh --non-interactive "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check if we need to build in docker
|
||||||
|
if [ ! -z "$BUILD_IN_DOCKER" ]; then
|
||||||
|
dockerbuild $args
|
||||||
|
else
|
||||||
|
$DIR/run-build.sh $args
|
||||||
|
fi
|
24
eng/AfterSigning.targets
Normal file
24
eng/AfterSigning.targets
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<_SuppressSdkImports>false</_SuppressSdkImports>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="PopulateGenerateChecksumItems"
|
||||||
|
AfterTargets="Build"
|
||||||
|
BeforeTargets="GenerateChecksums" >
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<InstallerFiles Include="$(ArtifactsShippingPackagesDir)**\*.msi" />
|
||||||
|
<InstallerFiles Include="$(ArtifactsShippingPackagesDir)**\*.exe" />
|
||||||
|
<InstallerFiles Include="$(ArtifactsShippingPackagesDir)**\*.zip" Exclude="$(ArtifactsShippingPackagesDir)**\*.wixpack.zip" />
|
||||||
|
<InstallerFiles Include="$(ArtifactsShippingPackagesDir)**\*.tar.gz" />
|
||||||
|
<InstallerFiles Include="$(ArtifactsShippingPackagesDir)**\*.deb" />
|
||||||
|
<InstallerFiles Include="$(ArtifactsShippingPackagesDir)**\*.rpm" />
|
||||||
|
<GenerateChecksumItems Include="%(InstallerFiles.Identity)" >
|
||||||
|
<DestinationPath>%(FullPath).sha512</DestinationPath>
|
||||||
|
</GenerateChecksumItems>
|
||||||
|
</ItemGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
||||||
|
</Project>
|
12
eng/Build.props
Normal file
12
eng/Build.props
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<Project>
|
||||||
|
<ItemGroup Condition=" '$(ArcadeBuildTarball)' != 'true' ">
|
||||||
|
<ProjectToBuild Include="$(RepoRoot)Microsoft.DotNet.Cli.sln" />
|
||||||
|
<ProjectToBuild Condition="'$(OS)' == 'Windows_NT' And ('$(Architecture)' == 'x86' Or '$(Architecture)' == 'x64' Or '$(Architecture)' == 'arm64' Or '$(Architecture)' == 'arm')"
|
||||||
|
Include="$(RepoRoot)eng\version.csproj;
|
||||||
|
$(RepoRoot)eng\native.proj" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup Condition=" '$(ArcadeBuildTarball)' == 'true' " >
|
||||||
|
<ProjectToBuild Include="$(RepoRoot)src/SourceBuild/Arcade/src/SourceBuild.Tasks.csproj" BuildInParallel="false" />
|
||||||
|
<ProjectToBuild Include="$(RepoRoot)src/SourceBuild/tarball/BuildSourceBuildTarball.proj" BuildInParallel="false" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
10
eng/BuildConfiguration/build-configuration.json
Normal file
10
eng/BuildConfiguration/build-configuration.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"RetryCountLimit":1,
|
||||||
|
"RetryByPipeline":{
|
||||||
|
"RetryStages":[
|
||||||
|
{
|
||||||
|
"StageName":"build"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
7
eng/CopyToLatest.cmd
Normal file
7
eng/CopyToLatest.cmd
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
REM Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
|
||||||
|
powershell -ExecutionPolicy Bypass -NoProfile -NoLogo -Command "& \"%~dp0common\build.ps1\" -restore -build /p:Projects=\"%~dp0..\src\CopyToLatest\CopyToLatest.csproj\" %*; exit $LastExitCode;"
|
||||||
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
BIN
eng/Key.snk
Normal file
BIN
eng/Key.snk
Normal file
Binary file not shown.
19
eng/ManualVersions.props
Normal file
19
eng/ManualVersions.props
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
|
||||||
|
<!-- The following properties (unlike those in version.props) are maintained manually. So
|
||||||
|
when there is a merge conflict, the highest version should generally be chosen, rather
|
||||||
|
than keeping what's in the branch, which is the usual strategy with version.props merge
|
||||||
|
conflicts.
|
||||||
|
|
||||||
|
Basically: In this file, choose the highest version when resolving merge conflicts.
|
||||||
|
-->
|
||||||
|
<PropertyGroup>
|
||||||
|
<MicrosoftWindowsSDKNETRef10_0_17763PackageVersion>10.0.17763.31</MicrosoftWindowsSDKNETRef10_0_17763PackageVersion>
|
||||||
|
<MicrosoftWindowsSDKNETRef10_0_18362PackageVersion>10.0.18362.31</MicrosoftWindowsSDKNETRef10_0_18362PackageVersion>
|
||||||
|
<MicrosoftWindowsSDKNETRef10_0_19041PackageVersion>10.0.19041.31</MicrosoftWindowsSDKNETRef10_0_19041PackageVersion>
|
||||||
|
<MicrosoftWindowsSDKNETRef10_0_20348PackageVersion>10.0.20348.31</MicrosoftWindowsSDKNETRef10_0_20348PackageVersion>
|
||||||
|
<MicrosoftWindowsSDKNETRef10_0_22000PackageVersion>10.0.22000.31</MicrosoftWindowsSDKNETRef10_0_22000PackageVersion>
|
||||||
|
<MicrosoftWindowsSDKNETRef10_0_22621PackageVersion>10.0.22621.31</MicrosoftWindowsSDKNETRef10_0_22621PackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
150
eng/Publishing.props
Normal file
150
eng/Publishing.props
Normal file
|
@ -0,0 +1,150 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishingVersion>3</PublishingVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<Product>Sdk</Product>
|
||||||
|
<BlobStoragePartialRelativePath>$(Product)</BlobStoragePartialRelativePath>
|
||||||
|
|
||||||
|
<PublishBinariesAndBadge Condition=" '$(PublishBinariesAndBadge)' == '' ">true</PublishBinariesAndBadge>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Pulled from arcade's publish.proj see https://github.com/dotnet/arcade/issues/5790 for
|
||||||
|
issue on making this common in arcade so it doesn't have to be duplicated here -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<CollectionUri>$(SYSTEM_TEAMFOUNDATIONCOLLECTIONURI)</CollectionUri>
|
||||||
|
|
||||||
|
<!-- When we have dev.azure.com/<account>/ -->
|
||||||
|
<AzureDevOpsAccount Condition="$(CollectionUri.IndexOf('dev.azure.com')) >= 0">$(CollectionUri.Split('/')[3])</AzureDevOpsAccount>
|
||||||
|
|
||||||
|
<!-- When we have <account>.visualstudio.com -->
|
||||||
|
<AzureDevOpsAccount Condition="$(CollectionUri.IndexOf('visualstudio.com')) >= 0">$(CollectionUri.Split('.')[0].Split('/')[2])</AzureDevOpsAccount>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The new Maestro/BAR build model keeps separate Azure DevOps and GitHub build information.
|
||||||
|
The GitHub information will be extracted based on the Azure DevOps repository.
|
||||||
|
-->
|
||||||
|
<ItemGroup>
|
||||||
|
<ManifestBuildData Include="InitialAssetsLocation=$(SYSTEM_TEAMFOUNDATIONCOLLECTIONURI)$(SYSTEM_TEAMPROJECT)/_apis/build/builds/$(BUILD_BUILDID)/artifacts" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsBuildId=$(BUILD_BUILDID)" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsBuildDefinitionId=$(SYSTEM_DEFINITIONID)" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsAccount=$(AzureDevOpsAccount)" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsProject=$(SYSTEM_TEAMPROJECT)" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsBuildNumber=$(BUILD_BUILDNUMBER)" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsRepository=$(BUILD_REPOSITORY_URI)" />
|
||||||
|
<ManifestBuildData Include="AzureDevOpsBranch=$(BUILD_SOURCEBRANCH)" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Because we may be building in a container, we should use an asset manifest file path
|
||||||
|
that exists in the container. Disambiguate the manifests via available properties.
|
||||||
|
AGENT_OS and AGENT_JOBNAME are present on Azure DevOps agents. AssetManifestOS will also
|
||||||
|
be used by arcade to generate the name of the manifest file name for the built in publishing. -->
|
||||||
|
<AssetManifestOS Condition="'$(AGENT_OS)' != ''">$(AGENT_OS)</AssetManifestOS>
|
||||||
|
<AssetManifestOS Condition="'$(AGENT_OS)' == ''">$(OS)</AssetManifestOS>
|
||||||
|
<AssetManifestOS Condition="'$(AGENT_JOBNAME)' != ''">$(AssetManifestOS)-$(AGENT_JOBNAME)</AssetManifestOS>
|
||||||
|
<BaseAssetManifestFileName>$(AssetManifestOS)</BaseAssetManifestFileName>
|
||||||
|
<BaseAssetManifestFileName Condition="'$(AGENT_JOBNAME)' == '' and '$(Architecture)' != ''">$(AssetManifestOS)-$(Architecture)</BaseAssetManifestFileName>
|
||||||
|
<InstallersAssetManifestFileName>$(BaseAssetManifestFileName)-installers</InstallersAssetManifestFileName>
|
||||||
|
<!-- Property AssetManifestFilePath would be reassigned by the Arcade SDK, so use a different name (InstallersAssetManifestFilePath) -->
|
||||||
|
<InstallersAssetManifestFilePath>$(ArtifactsLogDir)AssetManifest\$(InstallersAssetManifestFileName).xml</InstallersAssetManifestFilePath>
|
||||||
|
|
||||||
|
<DotnetTempWorkingDirectory>$(ArtifactsDir)..\DotnetAssetsTmpDir\$([System.Guid]::NewGuid())</DotnetTempWorkingDirectory>
|
||||||
|
<ChecksumTempWorkingDirectory>$(ArtifactsDir)..\ChecksumAssetsTmpDir\$([System.Guid]::NewGuid())</ChecksumTempWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.zip" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.tar.gz" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.pkg" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.exe" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.deb" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.rpm" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.msi" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.cab" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.svg" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
|
||||||
|
<!-- Only publish this file from windows x64 so that we don't end up with duplicates -->
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)productVersion.txt"
|
||||||
|
Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)sdk-productVersion.txt"
|
||||||
|
Condition=" '$(PublishBinariesAndBadge)' == 'true' and '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x64' and '$(PgoInstrument)' != 'true'" />
|
||||||
|
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)productCommit-*.txt" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
|
||||||
|
<SdkNonShippingAssetsToPublish Include="$(ArtifactsNonShippingPackagesDir)*.swr" />
|
||||||
|
<SdkNonShippingAssetsToPublish Include="$(ArtifactsNonShippingPackagesDir)*.msi" />
|
||||||
|
<SdkNonShippingAssetsToPublish Condition="'$(PublishBinariesAndBadge)' != 'false'" Include="$(ArtifactsNonShippingPackagesDir)*.tar.gz" />
|
||||||
|
<SdkNonShippingAssetsToPublish Condition="'$(PublishBinariesAndBadge)' != 'false'" Include="$(ArtifactsNonShippingPackagesDir)*.zip" />
|
||||||
|
<SdkNonShippingAssetsToPublish Include="$(ArtifactsNonShippingPackagesDir)*.pkg" />
|
||||||
|
<CheckSumsToPublish Include="$(ArtifactsShippingPackagesDir)*.sha512" />
|
||||||
|
<CheckSumsToPublish Remove="$(ArtifactsShippingPackagesDir)productCommit-*.txt.sha512" Condition=" '$(PublishBinariesAndBadge)' == 'false'" />
|
||||||
|
<CheckSumsToPublish Remove="$(ArtifactsShippingPackagesDir)productVersion.txt.sha512" Condition=" '$(OS)' != 'Windows_NT' or '$(Architecture)' != 'x64'" />
|
||||||
|
<CheckSumsToPublish Remove="$(ArtifactsShippingPackagesDir)sdk-productVersion.txt.sha512" Condition=" '$(OS)' != 'Windows_NT' or '$(Architecture)' != 'x64'" />
|
||||||
|
<CheckSumsToPublish Remove="$(ArtifactsShippingPackagesDir)*.zip.sha512" Condition=" '$(PublishBinariesAndBadge)' == 'false' "/>
|
||||||
|
<CheckSumsToPublish Remove="$(ArtifactsShippingPackagesDir)*.tar.gz.sha512" Condition=" '$(PublishBinariesAndBadge)' == 'false' "/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="PublishSdkAssetsAndChecksums"
|
||||||
|
BeforeTargets="Publish"
|
||||||
|
Condition="$(DotNetPublishUsingPipelines)">
|
||||||
|
|
||||||
|
<ReadLinesFromFile File="$(ArtifactsTmpDir)FullNugetVersion.version">
|
||||||
|
<Output
|
||||||
|
TaskParameter="Lines"
|
||||||
|
PropertyName="FullNugetVersion"/>
|
||||||
|
</ReadLinesFromFile>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- Always publish blobs to a suffixed directory. -->
|
||||||
|
<SdkAssetsToPushToBlobFeed Include="@(SdkAssetsToPublish)">
|
||||||
|
<RelativeBlobPath>$(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)'))</RelativeBlobPath>
|
||||||
|
</SdkAssetsToPushToBlobFeed>
|
||||||
|
|
||||||
|
<SdkAssetsToPushToBlobFeed Include="@(SdkNonShippingAssetsToPublish)">
|
||||||
|
<RelativeBlobPath>$(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)'))</RelativeBlobPath>
|
||||||
|
<ManifestArtifactData>NonShipping=true</ManifestArtifactData>
|
||||||
|
</SdkAssetsToPushToBlobFeed>
|
||||||
|
|
||||||
|
<ChecksumsToPushToBlobFeed Include="@(CheckSumsToPublish)">
|
||||||
|
<RelativeBlobPath>$(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)'))</RelativeBlobPath>
|
||||||
|
</ChecksumsToPushToBlobFeed>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup Condition="'$(PostBuildSign)' == 'true'">
|
||||||
|
<ItemsToSignPostBuildWithPaths Include="$(ArtifactsShippingPackagesDir)*.zip" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
|
||||||
|
<ItemsToSignPostBuildWithPaths Include="$(ArtifactsShippingPackagesDir)*.exe" />
|
||||||
|
<ItemsToSignPostBuildWithPaths Include="$(ArtifactsShippingPackagesDir)*.msi" />
|
||||||
|
<ItemsToSignPostBuildWithPaths Include="$(ArtifactsNonShippingPackagesDir)*.msi" />
|
||||||
|
<ItemsToSignPostBuildWithPaths Include="$(ArtifactsNonShippingPackagesDir)*.zip" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
|
||||||
|
<ItemsToSignPostBuild Remove="@(ItemsToSignPostBuild)" />
|
||||||
|
<ItemsToSignPostBuild Include="@(ItemsToSignPostBuildWithPaths->'%(Filename)%(Extension)')" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsStableBuild>false</IsStableBuild>
|
||||||
|
<IsStableBuild Condition="'$(DotNetFinalVersionKind)' == 'release'">true</IsStableBuild>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PushToAzureDevOpsArtifacts
|
||||||
|
AzureDevOpsCollectionUri="$(SYSTEM_TEAMFOUNDATIONCOLLECTIONURI)"
|
||||||
|
AzureDevOpsProject="$(SYSTEM_TEAMPROJECT)"
|
||||||
|
AzureDevOpsBuildId="$(BUILD_BUILDID)"
|
||||||
|
ItemsToPush="@(SdkAssetsToPushToBlobFeed);@(ChecksumsToPushToBlobFeed)"
|
||||||
|
ItemsToSign="@(ItemsToSignPostBuild)"
|
||||||
|
CertificatesSignInfo="@(CertificatesSignInfo)"
|
||||||
|
StrongNameSignInfo="@(StrongNameSignInfo)"
|
||||||
|
FileSignInfo="@(FileSignInfo)"
|
||||||
|
FileExtensionSignInfo="@(FileExtensionSignInfo)"
|
||||||
|
ManifestBuildData="@(ManifestBuildData)"
|
||||||
|
ManifestRepoName="$(BUILD_REPOSITORY_NAME)"
|
||||||
|
ManifestBranch="$(BUILD_SOURCEBRANCH)"
|
||||||
|
ManifestBuildId="$(BUILD_BUILDNUMBER)"
|
||||||
|
ManifestCommit="$(BUILD_SOURCEVERSION)"
|
||||||
|
AssetManifestPath="$(InstallersAssetManifestFilePath)"
|
||||||
|
PublishFlatContainer="true"
|
||||||
|
IsStableBuild="$(IsStableBuild)"
|
||||||
|
PublishingVersion="3" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
8
eng/SignCheckExclusionsFile.txt
Normal file
8
eng/SignCheckExclusionsFile.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
;; Exclusions for SignCheck.
|
||||||
|
;; Format: https://github.com/dotnet/arcade/blob/397316e195639450b6c76bfeb9823b40bee72d6d/src/SignCheck/Microsoft.SignCheck/Verification/Exclusion.cs#L23-L35
|
||||||
|
|
||||||
|
*.js;; We do not sign JavaScript files.
|
||||||
|
*apphost.exe;;Template, DO-NOT-SIGN, https://github.com/dotnet/core-setup/pull/7549
|
||||||
|
*singlefilehost.exe;;Template, DO-NOT-SIGN, https://github.com/dotnet/core-setup/pull/7549
|
||||||
|
*comhost.dll;;Template, DO-NOT-SIGN, https://github.com/dotnet/core-setup/pull/7549
|
||||||
|
*apphosttemplateapphostexe.exe;;Template, DO-NOT-SIGN, https://github.com/dotnet/core-setup/pull/7549
|
54
eng/Signing.props
Normal file
54
eng/Signing.props
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
<Project>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- Remove the wixpacks from items to sign post build. These will be added explicitly by the
|
||||||
|
custom publishing target. And should not be picked up by arcade's default publishing logic. -->
|
||||||
|
<ItemsToSignPostBuild Remove="*.wixpack.zip" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup Condition="'$(PostBuildSign)' != 'true'">
|
||||||
|
<ItemsToSign Remove="@(ItemsToSign)" />
|
||||||
|
<ItemsToSign Include="$(ArtifactsPackagesDir)**\*.exe" />
|
||||||
|
<ItemsToSign Include="$(ArtifactsPackagesDir)**\*.zip" />
|
||||||
|
<ItemsToSign Include="$(ArtifactsPackagesDir)**\*.msi" />
|
||||||
|
<ItemsToSign Include="$(ArtifactsPackagesDir)**\*.nupkg" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<ExternalCertificateId Condition="'$(ExternalCertificateId)' == ''">3PartySHA2</ExternalCertificateId>
|
||||||
|
<InternalCertificateId Condition="'$(InternalCertificateId)' == ''">MicrosoftDotNet500</InternalCertificateId>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Signing of shipping artifacts (layout, msi, bundle) are handled separately.
|
||||||
|
It is therefore expected that <ItemsToSign> could be an empty set.
|
||||||
|
-->
|
||||||
|
<AllowEmptySignList>true</AllowEmptySignList>
|
||||||
|
<AllowEmptySignPostBuildList>true</AllowEmptySignPostBuildList>
|
||||||
|
|
||||||
|
<UseDotNetCertificate>true</UseDotNetCertificate>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<FileSignInfo Include="Newtonsoft.Json.dll" CertificateName="$(ExternalCertificateId)" />
|
||||||
|
<FileSignInfo Include="MessagePack.Annotations.dll" CertificateName="$(ExternalCertificateId)" />
|
||||||
|
<FileSignInfo Include="MessagePack.dll" CertificateName="$(ExternalCertificateId)" />
|
||||||
|
<FileSignInfo Include="Nerdbank.Streams.dll" CertificateName="$(ExternalCertificateId)" />
|
||||||
|
<FileSignInfo Include="StreamJsonRpc.dll" CertificateName="$(ExternalCertificateId)" />
|
||||||
|
|
||||||
|
<!-- Files in the layout that should not be signed -->
|
||||||
|
<FileSignInfo Include="apphost.exe" CertificateName="None" />
|
||||||
|
<FileSignInfo Include="comhost.dll" CertificateName="None" />
|
||||||
|
<FileSignInfo Include="singlefilehost.exe" CertificateName="None" />
|
||||||
|
|
||||||
|
<FileExtensionSignInfo Include=".msi" CertificateName="$(InternalCertificateId)" />
|
||||||
|
<!-- .ttf, .otf, and .js files come in from some older aspnetcore packages (e.g. 2.1).
|
||||||
|
These files in the 5.0 packages are NOT signed. When doing postbuild signing,
|
||||||
|
SignTool will recognize that the files in the installer zips came from the 5.0 packages
|
||||||
|
pulled in from aspnetcore, and aspnetcore said not to sign them. This info is not
|
||||||
|
available for the 2.1 packages, so we need to avoid signing these in this repo. -->
|
||||||
|
<FileExtensionSignInfo Include=".ttf" CertificateName="None" />
|
||||||
|
<FileExtensionSignInfo Include=".otf" CertificateName="None" />
|
||||||
|
<FileExtensionSignInfo Remove=".js" />
|
||||||
|
<FileExtensionSignInfo Include=".js" CertificateName="None" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
18
eng/SourceBuild.props
Normal file
18
eng/SourceBuild.props
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<Project>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<GitHubRepositoryName>installer</GitHubRepositoryName>
|
||||||
|
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="ConfigureInnerBuildArg" BeforeTargets="GetSourceBuildCommandConfiguration">
|
||||||
|
<PropertyGroup>
|
||||||
|
<InnerBuildArgs>$(InnerBuildArgs) /p:SkipBuildingInstallers=true</InnerBuildArgs>
|
||||||
|
<InnerBuildArgs>$(InnerBuildArgs) /p:IncludeNuGetPackageArchive=false</InnerBuildArgs>
|
||||||
|
<InnerBuildArgs>$(InnerBuildArgs) /p:IncludeAdditionalSharedFrameworks=false</InnerBuildArgs>
|
||||||
|
<InnerBuildArgs>$(InnerBuildArgs) /p:IncludeSharedFrameworksForBackwardsCompatibilityTests=false</InnerBuildArgs>
|
||||||
|
<InnerBuildArgs Condition="'$(SourceBuildUseMonoRuntime)' == 'true'">$(InnerBuildArgs) /p:DISABLE_CROSSGEN=true</InnerBuildArgs>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
</Project>
|
5
eng/SourceBuildPrebuiltBaseline.xml
Normal file
5
eng/SourceBuildPrebuiltBaseline.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<UsageData>
|
||||||
|
<IgnorePatterns>
|
||||||
|
<UsagePattern IdentityGlob="*/*" />
|
||||||
|
</IgnorePatterns>
|
||||||
|
</UsageData>
|
8
eng/TestVersions.props
Normal file
8
eng/TestVersions.props
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<NuGetFrameworksPackageVersion>5.3.0</NuGetFrameworksPackageVersion>
|
||||||
|
<MicrosoftDotNetCliUtilsPackageVersion>$(MicrosoftDotnetToolsetInternalPackageVersion)</MicrosoftDotNetCliUtilsPackageVersion>
|
||||||
|
<MicrosoftNETTestSdkPackageVersion>15.8.0</MicrosoftNETTestSdkPackageVersion>
|
||||||
|
<MicrosoftDotNetProjectJsonMigrationPackageVersion>1.3.1</MicrosoftDotNetProjectJsonMigrationPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
224
eng/Version.Details.xml
Normal file
224
eng/Version.Details.xml
Normal file
|
@ -0,0 +1,224 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Dependencies>
|
||||||
|
<ProductDependencies>
|
||||||
|
<Dependency Name="Microsoft.WindowsDesktop.App.Ref" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-windowsdesktop</Uri>
|
||||||
|
<Sha>d96741e3c0f3653534ab6d14ff85a7c36e511e36</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0" Version="7.0.19-servicing.24216.14" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-windowsdesktop</Uri>
|
||||||
|
<Sha>d96741e3c0f3653534ab6d14ff85a7c36e511e36</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0" Version="7.0.19-servicing.24216.14" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-windowsdesktop</Uri>
|
||||||
|
<Sha>d96741e3c0f3653534ab6d14ff85a7c36e511e36</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.WindowsDesktop.App.Runtime.win-x64" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-windowsdesktop</Uri>
|
||||||
|
<Sha>d96741e3c0f3653534ab6d14ff85a7c36e511e36</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="VS.Redist.Common.NetCore.SharedFramework.x64.7.0" Version="7.0.19-servicing.24215.23" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>19f489b8b49b0ffacdffaed17801a6bcb3375c7a</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NETCore.App.Ref" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>19f489b8b49b0ffacdffaed17801a6bcb3375c7a</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="VS.Redist.Common.NetCore.TargetingPack.x64.7.0" Version="7.0.19-servicing.24215.23" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>19f489b8b49b0ffacdffaed17801a6bcb3375c7a</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>19f489b8b49b0ffacdffaed17801a6bcb3375c7a</Sha>
|
||||||
|
<SourceBuildTarball RepoName="runtime" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NETCore.App.Host.win-x64" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>19f489b8b49b0ffacdffaed17801a6bcb3375c7a</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NETCore.DotNetHostResolver" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>19f489b8b49b0ffacdffaed17801a6bcb3375c7a</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<!-- Change blob version in GenerateLayout.targets if this is unpinned to service targeting pack -->
|
||||||
|
<!-- No new netstandard.library planned for 3.1 timeframe at this time. -->
|
||||||
|
<Dependency Name="NETStandard.Library.Ref" Version="2.1.0" Pinned="true">
|
||||||
|
<Uri>https://github.com/dotnet/core-setup</Uri>
|
||||||
|
<Sha>7d57652f33493fa022125b7f63aad0d70c52d810</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NETCore.Platforms" Version="7.0.4" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-runtime</Uri>
|
||||||
|
<Sha>8e9a17b2216f51a5788f8b1c467a4cf3b769e7d7</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="7.0.19-servicing.24223.6" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
<SourceBuild RepoName="aspnetcore" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.AspNetCore.App.Runtime.win-x64" Version="7.0.19" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0" Version="7.0.19-servicing.24223.6" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="dotnet-dev-certs" Version="7.0.19-servicing.24223.6" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="dotnet-user-jwts" Version="7.0.19-servicing.24223.6" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="dotnet-user-secrets" Version="7.0.19-servicing.24223.6" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
|
<Sha>06b2bc111203f9b9ff0914a7715675a9a66bdac9</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.2.1" Version="1.0.2-beta4.22406.1">
|
||||||
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
|
<Sha>0385265f4d0b6413d64aea0223172366a9b9858c</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.5.0" Version="1.1.0-rc.23213.1">
|
||||||
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
|
<Sha>45a41b353d078e4d1e5918246fddbacb452eb210</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.6.0" Version="1.1.0-rc.23213.1">
|
||||||
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
|
<Sha>45a41b353d078e4d1e5918246fddbacb452eb210</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.7.0" Version="1.1.0-rc.23213.1">
|
||||||
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
|
<Sha>45a41b353d078e4d1e5918246fddbacb452eb210</Sha>
|
||||||
|
<SourceBuild RepoName="test-templates" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Common.ItemTemplates" Version="7.0.316">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
||||||
|
<Sha>98554e0c58a2221a77a6469abbb4525d677447f6</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.TemplateEngine.Cli" Version="7.0.316-servicing.24223.9">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
||||||
|
<Sha>98554e0c58a2221a77a6469abbb4525d677447f6</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NET.Sdk" Version="7.0.316-servicing.24223.9">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
||||||
|
<Sha>98554e0c58a2221a77a6469abbb4525d677447f6</Sha>
|
||||||
|
<SourceBuild RepoName="sdk" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.MSBuildSdkResolver" Version="7.0.316-servicing.24223.9">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
||||||
|
<Sha>98554e0c58a2221a77a6469abbb4525d677447f6</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<!-- For coherency purposes, these versions should be gated by the versions of winforms and wpf routed via windowsdesktop -->
|
||||||
|
<Dependency Name="Microsoft.Dotnet.WinForms.ProjectTemplates" Version="7.0.19-servicing.24216.14" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-winforms</Uri>
|
||||||
|
<Sha>4341239442f0e08e4a230095f6ccc9deeeca9f3c</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Wpf.ProjectTemplates" Version="7.0.19-servicing.24216.3" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
|
||||||
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-wpf</Uri>
|
||||||
|
<Sha>fec2496fcc461acb4b77037a364677967ac68d9e</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.FSharp.Compiler" Version="12.5.0-beta.23203.7" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/fsharp</Uri>
|
||||||
|
<Sha>5b37dd5fea143baefbef2bd83836188af0815a30</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.fsharp" Version="7.0.300-beta.23203.7" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/fsharp</Uri>
|
||||||
|
<Sha>5b37dd5fea143baefbef2bd83836188af0815a30</Sha>
|
||||||
|
<SourceBuild RepoName="fsharp" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NET.Test.Sdk" Version="17.6.3" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/microsoft/vstest</Uri>
|
||||||
|
<Sha>e7ea853f64af5a4c240acaf9e54cdae3ae0eb7bb</Sha>
|
||||||
|
<SourceBuild RepoName="vstest" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="7.0.100-1.23401.1" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/linker</Uri>
|
||||||
|
<Sha>53b3303c57b3fe659500fb362a0eef12991c1197</Sha>
|
||||||
|
<SourceBuild RepoName="linker" ManagedOnly="true" />
|
||||||
|
<RepoName>linker</RepoName>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.6.0-3.23329.3" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||||
|
<Sha>5db000294db8cc634e7d8fc004844338c9747dbc</Sha>
|
||||||
|
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.Build" Version="17.6.11" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/msbuild</Uri>
|
||||||
|
<Sha>5eb99e6e9fc36042fa9de92f124981e23a250a66</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.msbuild" Version="17.6.11-preview-24222-15" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/msbuild</Uri>
|
||||||
|
<Sha>5eb99e6e9fc36042fa9de92f124981e23a250a66</Sha>
|
||||||
|
<SourceBuild RepoName="msbuild" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="NuGet.Build.Tasks" Version="6.6.2-rc.1" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
|
<Uri>https://dev.azure.com/devdiv/DevDiv/_git/NuGet-NuGet.Client-Trusted</Uri>
|
||||||
|
<Sha>07cf447d8f8b3d6b9e7bf641ab8ec7de966b1254</Sha>
|
||||||
|
<SourceBuildTarball RepoName="nuget-client" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.ApplicationInsights" Version="2.0.0">
|
||||||
|
<Uri>https://github.com/Microsoft/ApplicationInsights-dotnet</Uri>
|
||||||
|
<Sha>53b80940842204f78708a538628288ff5d741a1d</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NET.Workload.Emscripten.net6.Manifest-7.0.100" Version="7.0.19" CoherentParentDependency="VS.Redist.Common.NetCore.SharedFramework.x64.7.0">
|
||||||
|
<Uri>https://github.com/dotnet/emsdk</Uri>
|
||||||
|
<Sha>4f16685fd8c80b4666e6534e29d53e2ba1adeeea</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.NET.Workload.Emscripten.net7.Manifest-7.0.100" Version="7.0.19" CoherentParentDependency="VS.Redist.Common.NetCore.SharedFramework.x64.7.0">
|
||||||
|
<Uri>https://github.com/dotnet/emsdk</Uri>
|
||||||
|
<Sha>4f16685fd8c80b4666e6534e29d53e2ba1adeeea</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.Deployment.DotNet.Releases" Version="1.0.0-preview5.1.22263.1">
|
||||||
|
<Uri>https://github.com/dotnet/deployment-tools</Uri>
|
||||||
|
<Sha>c3ad00ae84489071080a606f6a8e43c9a91a5cc2</Sha>
|
||||||
|
<SourceBuildTarball RepoName="deployment-tools" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="7.0.0-alpha.1.24216.2">
|
||||||
|
<Uri>https://github.com/dotnet/source-build-externals</Uri>
|
||||||
|
<Sha>522d361e1cd703f1e8e526f5306e4ed18de1da41</Sha>
|
||||||
|
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.symreader" Version="1.4.0-beta2-21475-02">
|
||||||
|
<Uri>https://github.com/dotnet/symreader</Uri>
|
||||||
|
<Sha>7b9791daa3a3477eb22ec805946c9fff8b42d8ca</Sha>
|
||||||
|
<SourceBuild RepoName="symreader" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
</ProductDependencies>
|
||||||
|
<ToolsetDependencies>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.24266.2">
|
||||||
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
|
<Sha>4c7a2a3a3a23698ba4ce15cf9a98560c654483b6</Sha>
|
||||||
|
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.CMake.Sdk" Version="7.0.0-beta.24266.2">
|
||||||
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
|
<Sha>4c7a2a3a3a23698ba4ce15cf9a98560c654483b6</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="7.0.0-beta.24266.2">
|
||||||
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
|
<Sha>4c7a2a3a3a23698ba4ce15cf9a98560c654483b6</Sha>
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="7.0.0-alpha.1.24172.7">
|
||||||
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
|
<Sha>61fe34f8b2f37ae69875ba7206628df11d6abfe2</Sha>
|
||||||
|
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.2.0-beta-22429-01" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/sourcelink</Uri>
|
||||||
|
<Sha>e57efa1ed395dd6975b33052719facb24f03ee0b</Sha>
|
||||||
|
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.22427.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
|
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
||||||
|
<Sha>740189d758fb3bbdc118c5b6171ef1a7351a8c44</Sha>
|
||||||
|
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
||||||
|
</Dependency>
|
||||||
|
</ToolsetDependencies>
|
||||||
|
</Dependencies>
|
222
eng/Versions.props
Normal file
222
eng/Versions.props
Normal file
|
@ -0,0 +1,222 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<!-- Arcade features -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<VersionMajor>7</VersionMajor>
|
||||||
|
<VersionMinor>0</VersionMinor>
|
||||||
|
<VersionSDKMinor>3</VersionSDKMinor>
|
||||||
|
<VersionFeature>17</VersionFeature>
|
||||||
|
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionSDKMinor)$(VersionFeature)</VersionPrefix>
|
||||||
|
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
|
||||||
|
<PreReleaseVersionIteration>
|
||||||
|
</PreReleaseVersionIteration>
|
||||||
|
<MajorMinorVersion>$(VersionMajor).$(VersionMinor)</MajorMinorVersion>
|
||||||
|
<CliProductBandVersion>$(MajorMinorVersion).$(VersionSDKMinor)</CliProductBandVersion>
|
||||||
|
<!-- Enable to remove prerelease label. -->
|
||||||
|
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>
|
||||||
|
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<VersionFeature21>30</VersionFeature21>
|
||||||
|
<VersionFeature31>32</VersionFeature31>
|
||||||
|
<VersionFeature50>17</VersionFeature50>
|
||||||
|
<VersionFeature60>$([MSBuild]::Add($(VersionFeature), 14))</VersionFeature60>
|
||||||
|
</PropertyGroup>
|
||||||
|
<!-- Restore feeds -->
|
||||||
|
<PropertyGroup Label="Restore feeds">
|
||||||
|
<!-- In an orchestrated build, this may be overridden to other Azure feeds. -->
|
||||||
|
<DotNetAssetRootUrl Condition="'$(DotNetAssetRootUrl)'==''">https://dotnetbuilds.blob.core.windows.net/public/</DotNetAssetRootUrl>
|
||||||
|
<DotNetPrivateAssetRootUrl Condition="'$(DotNetPrivateAssetRootUrl)'==''">https://dotnetclimsrc.blob.core.windows.net/dotnet/</DotNetPrivateAssetRootUrl>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependency from https://github.com/dotnet/arcade -->
|
||||||
|
<MicrosoftDotNetBuildTasksInstallersPackageVersion>7.0.0-beta.24266.2</MicrosoftDotNetBuildTasksInstallersPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependency from https://github.com/dotnet/winforms -->
|
||||||
|
<MicrosoftDotnetWinFormsProjectTemplatesPackageVersion>7.0.19-servicing.24216.14</MicrosoftDotnetWinFormsProjectTemplatesPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependency from https://github.com/dotnet/wpf -->
|
||||||
|
<MicrosoftDotNetWpfProjectTemplatesPackageVersion>7.0.19-servicing.24216.3</MicrosoftDotNetWpfProjectTemplatesPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependency from https://github.com/dotnet/test-templates -->
|
||||||
|
<MicrosoftDotNetTestProjectTemplates60PackageVersion>1.1.0-rc.23213.1</MicrosoftDotNetTestProjectTemplates60PackageVersion>
|
||||||
|
<MicrosoftDotNetTestProjectTemplates70PackageVersion>1.1.0-rc.23213.1</MicrosoftDotNetTestProjectTemplates70PackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- NUnit3.DotNetNew.Template versions do not 'flow in' -->
|
||||||
|
<NUnit3DotNetNewTemplatePackageVersion>1.8.1</NUnit3DotNetNewTemplatePackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/aspnet/AspNetCore -->
|
||||||
|
<MicrosoftAspNetCoreAppRuntimewinx64PackageVersion>7.0.19</MicrosoftAspNetCoreAppRuntimewinx64PackageVersion>
|
||||||
|
<MicrosoftAspNetCoreAppRefPackageVersion>7.0.19</MicrosoftAspNetCoreAppRefPackageVersion>
|
||||||
|
<MicrosoftAspNetCoreAppRefInternalPackageVersion>7.0.19-servicing.24223.6</MicrosoftAspNetCoreAppRefInternalPackageVersion>
|
||||||
|
<VSRedistCommonAspNetCoreSharedFrameworkx6470PackageVersion>7.0.19-servicing.24223.6</VSRedistCommonAspNetCoreSharedFrameworkx6470PackageVersion>
|
||||||
|
<dotnetdevcertsPackageVersion>7.0.19-servicing.24223.6</dotnetdevcertsPackageVersion>
|
||||||
|
<dotnetuserjwtsPackageVersion>7.0.19-servicing.24223.6</dotnetuserjwtsPackageVersion>
|
||||||
|
<dotnetusersecretsPackageVersion>7.0.19-servicing.24223.6</dotnetusersecretsPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<MicroBuildCorePackageVersion>0.2.0</MicroBuildCorePackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/dotnet/sdk -->
|
||||||
|
<MicrosoftDotNetCommonItemTemplatesPackageVersion>7.0.316</MicrosoftDotNetCommonItemTemplatesPackageVersion>
|
||||||
|
<MicrosoftNETSdkPackageVersion>7.0.316-servicing.24223.9</MicrosoftNETSdkPackageVersion>
|
||||||
|
<MicrosoftDotNetMSBuildSdkResolverPackageVersion>7.0.316-servicing.24223.9</MicrosoftDotNetMSBuildSdkResolverPackageVersion>
|
||||||
|
<MicrosoftNETBuildExtensionsPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftNETBuildExtensionsPackageVersion>
|
||||||
|
<MicrosoftDotnetToolsetInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetToolsetInternalPackageVersion>
|
||||||
|
<MicrosoftDotnetTemplateLocatorPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetTemplateLocatorPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/dotnet/roslyn -->
|
||||||
|
<MicrosoftNetCompilersToolsetPackageVersion>4.6.0-3.23329.3</MicrosoftNetCompilersToolsetPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/dotnet/corefx -->
|
||||||
|
<MicrosoftNETCorePlatformsPackageVersion>7.0.4</MicrosoftNETCorePlatformsPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/dotnet/core-setup -->
|
||||||
|
<VSRedistCommonNetCoreSharedFrameworkx6470PackageVersion>7.0.19-servicing.24215.23</VSRedistCommonNetCoreSharedFrameworkx6470PackageVersion>
|
||||||
|
<VSRedistCommonNetCoreTargetingPackx6470PackageVersion>7.0.19-servicing.24215.23</VSRedistCommonNetCoreTargetingPackx6470PackageVersion>
|
||||||
|
<MicrosoftNETCoreAppRuntimewinx64PackageVersion>7.0.19</MicrosoftNETCoreAppRuntimewinx64PackageVersion>
|
||||||
|
<MicrosoftNETCoreAppHostwinx64PackageVersion>7.0.19</MicrosoftNETCoreAppHostwinx64PackageVersion>
|
||||||
|
<MicrosoftNETCoreAppRefPackageVersion>7.0.19</MicrosoftNETCoreAppRefPackageVersion>
|
||||||
|
<MicrosoftNETCoreDotNetHostResolverPackageVersion>7.0.19</MicrosoftNETCoreDotNetHostResolverPackageVersion>
|
||||||
|
<NETStandardLibraryRefPackageVersion>2.1.0</NETStandardLibraryRefPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/dotnet/windowsdesktop -->
|
||||||
|
<VSRedistCommonWindowsDesktopSharedFrameworkx6470PackageVersion>7.0.19-servicing.24216.14</VSRedistCommonWindowsDesktopSharedFrameworkx6470PackageVersion>
|
||||||
|
<VSRedistCommonWindowsDesktopTargetingPackx6470PackageVersion>7.0.19-servicing.24216.14</VSRedistCommonWindowsDesktopTargetingPackx6470PackageVersion>
|
||||||
|
<MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion>7.0.19</MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion>
|
||||||
|
<MicrosoftWindowsDesktopAppRefPackageVersion>7.0.19</MicrosoftWindowsDesktopAppRefPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Runtime and Apphost pack versions are the same for all RIDs. We flow the x64 -->
|
||||||
|
<!-- version above and create aliases without the winx64 here for clarity elsewhere. -->
|
||||||
|
<MicrosoftNETCoreAppHostPackageVersion>$(MicrosoftNETCoreAppHostwinx64PackageVersion)</MicrosoftNETCoreAppHostPackageVersion>
|
||||||
|
<MicrosoftNETCoreAppRuntimePackageVersion>$(MicrosoftNETCoreAppRuntimewinx64PackageVersion)</MicrosoftNETCoreAppRuntimePackageVersion>
|
||||||
|
<MicrosoftAspNetCoreAppRuntimePackageVersion>$(MicrosoftAspNetCoreAppRuntimewinx64PackageVersion)</MicrosoftAspNetCoreAppRuntimePackageVersion>
|
||||||
|
<MicrosoftWindowsDesktopAppRuntimePackageVersion>$(MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion)</MicrosoftWindowsDesktopAppRuntimePackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/NuGet/NuGet.Client -->
|
||||||
|
<NuGetBuildTasksPackageVersion>6.6.2-rc.1</NuGetBuildTasksPackageVersion>
|
||||||
|
<NuGetVersioningPackageVersion>$(NuGetBuildTasksPackageVersion)</NuGetVersioningPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Dependencies from https://github.com/dotnet/msbuild -->
|
||||||
|
<MicrosoftBuildPackageVersion>17.6.11</MicrosoftBuildPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Automated versions for asp.net templates -->
|
||||||
|
<!-- Grab just the patch version from MicrosoftNETSdkPackageVersion (7.0.103-servicing becomes 03) -->
|
||||||
|
<MicrosoftNETSdkFeatureAndPatchVersion>$(MicrosoftNETSdkPackageVersion.Split('.')[2])</MicrosoftNETSdkFeatureAndPatchVersion>
|
||||||
|
<MicrosoftNETSdkFeatureAndPatchVersion>$(MicrosoftNETSdkFeatureAndPatchVersion.Split('-')[0])</MicrosoftNETSdkFeatureAndPatchVersion>
|
||||||
|
<MicrosoftNETSdkPatchVersion>$(MicrosoftNETSdkFeatureAndPatchVersion.Substring(1))</MicrosoftNETSdkPatchVersion>
|
||||||
|
<!--
|
||||||
|
Between branding and shipping, the templates should stay at last month's version.
|
||||||
|
If the incoming SDK version is 2 versions behind us, we know we just branded but haven't done the internal -> public merge yet.
|
||||||
|
Therefore we stay at last month's version.
|
||||||
|
We also need to special case the 1st patch release, because the incoming SDK version will never be 2 versions behind us in that case.
|
||||||
|
Instead the indicator is that the incoming SDK version is not RTM or greater yet.
|
||||||
|
-->
|
||||||
|
<SubtractOneFromTemplateVersions Condition="$([MSBuild]::Subtract($(VersionFeature), $(MicrosoftNETSdkPatchVersion))) >= 2">true</SubtractOneFromTemplateVersions>
|
||||||
|
<SubtractOneFromTemplateVersions Condition="$(VersionFeature) >= 1 AND ! $(MicrosoftNETSdkPackageVersion.Contains('rtm')) AND ! $(MicrosoftNETSdkPackageVersion.Contains('servicing'))">true</SubtractOneFromTemplateVersions>
|
||||||
|
<AspNetCoreTemplateFeature60>$([MSBuild]::Subtract($(VersionFeature60), 1))</AspNetCoreTemplateFeature60>
|
||||||
|
<AspNetCoreTemplateFeature60 Condition="'$(SubtractOneFromTemplateVersions)' == 'true'">$([MSBuild]::Subtract($(AspNetCoreTemplateFeature60), 1))</AspNetCoreTemplateFeature60>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- Cross-release dependency versions -->
|
||||||
|
<MicrosoftDotNetCommonItemTemplates60PackageVersion>6.0.302</MicrosoftDotNetCommonItemTemplates60PackageVersion>
|
||||||
|
<MicrosoftWinFormsProjectTemplates60PackageVersion>6.0.7-servicing.22322.3</MicrosoftWinFormsProjectTemplates60PackageVersion>
|
||||||
|
<MicrosoftWPFProjectTemplates60PackageVersion>6.0.7-servicing.22322.2</MicrosoftWPFProjectTemplates60PackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<HostFxrVersion>$(MicrosoftNETCoreAppRuntimePackageVersion)</HostFxrVersion>
|
||||||
|
<SharedHostVersion>$(MicrosoftNETCoreAppRuntimePackageVersion)</SharedHostVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- This is the version of the zip archive for the WiX toolset and is different from the NuGet package version format. -->
|
||||||
|
<WixVersion>3.14.1.8722</WixVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- 7.0 Template versions -->
|
||||||
|
<MicrosoftDotnetWinFormsProjectTemplates70PackageVersion>$(MicrosoftDotnetWinFormsProjectTemplatesPackageVersion)</MicrosoftDotnetWinFormsProjectTemplates70PackageVersion>
|
||||||
|
<MicrosoftDotNetWpfProjectTemplates70PackageVersion>$(MicrosoftDotNetWpfProjectTemplatesPackageVersion)</MicrosoftDotNetWpfProjectTemplates70PackageVersion>
|
||||||
|
<NUnit3Templates70PackageVersion>$(NUnit3DotNetNewTemplatePackageVersion)</NUnit3Templates70PackageVersion>
|
||||||
|
<MicrosoftDotNetCommonItemTemplates70PackageVersion>$(MicrosoftDotNetCommonItemTemplatesPackageVersion)</MicrosoftDotNetCommonItemTemplates70PackageVersion>
|
||||||
|
<MicrosoftDotNetCommonProjectTemplates70PackageVersion>$(MicrosoftDotNetCommonItemTemplatesPackageVersion)</MicrosoftDotNetCommonProjectTemplates70PackageVersion>
|
||||||
|
<AspNetCorePackageVersionFor70Templates>$(MicrosoftAspNetCoreAppRuntimePackageVersion)</AspNetCorePackageVersionFor70Templates>
|
||||||
|
<!-- 6.0 Template versions -->
|
||||||
|
<MicrosoftDotnetWinFormsProjectTemplates60PackageVersion>$(MicrosoftWinFormsProjectTemplates60PackageVersion)</MicrosoftDotnetWinFormsProjectTemplates60PackageVersion>
|
||||||
|
<MicrosoftDotNetWpfProjectTemplates60PackageVersion>$(MicrosoftWPFProjectTemplates60PackageVersion)</MicrosoftDotNetWpfProjectTemplates60PackageVersion>
|
||||||
|
<NUnit3Templates60PackageVersion>$(NUnit3DotNetNewTemplatePackageVersion)</NUnit3Templates60PackageVersion>
|
||||||
|
<MicrosoftDotNetCommonItemTemplates60PackageVersion>$(MicrosoftDotNetCommonItemTemplates60PackageVersion)</MicrosoftDotNetCommonItemTemplates60PackageVersion>
|
||||||
|
<MicrosoftDotNetCommonProjectTemplates60PackageVersion>$(MicrosoftDotNetCommonItemTemplates60PackageVersion)</MicrosoftDotNetCommonProjectTemplates60PackageVersion>
|
||||||
|
<AspNetCorePackageVersionFor60Templates>6.0.$(AspNetCoreTemplateFeature60)</AspNetCorePackageVersionFor60Templates>
|
||||||
|
</PropertyGroup>
|
||||||
|
<!-- infrastructure and test only dependencies -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<VersionToolsVersion>2.2.0-beta.19072.10</VersionToolsVersion>
|
||||||
|
<DotnetDebToolVersion>2.0.0</DotnetDebToolVersion>
|
||||||
|
<MicrosoftNETTestSdkVersion>17.6.3</MicrosoftNETTestSdkVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<!-- dependencies for source-build tarball -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- These two MicrosoftBuild versions are required to build tarball tasks
|
||||||
|
These tasks will eventually move to Arcade and then these can be
|
||||||
|
removed. See https://github.com/dotnet/source-build/issues/2295 -->
|
||||||
|
<MicrosoftBuildFrameworkVersion>15.7.179</MicrosoftBuildFrameworkVersion>
|
||||||
|
<MicrosoftBuildUtilitiesCoreVersion>15.7.179</MicrosoftBuildUtilitiesCoreVersion>
|
||||||
|
<!--
|
||||||
|
Building .NET from source depends on one or two tar.gz files depending on the branch's current
|
||||||
|
source-buildability status.
|
||||||
|
|
||||||
|
PrivateSourceBuiltArtifactsPackageVersion is a tar.gz of .NET build outputs from a previous
|
||||||
|
build needed to build the current version of .NET. This is always defined, because .NET needs
|
||||||
|
to be bootstrappable at any point in time.
|
||||||
|
|
||||||
|
PrivateSourceBuiltPrebuiltsPackageVersion is a tar.gz of assets downloaded from the internet
|
||||||
|
that are needed to build the current version of .NET. Early in the lifecycle of a .NET major
|
||||||
|
or minor release, prebuilts may be needed. When the release is mature, prebuilts are not
|
||||||
|
necessary, and this property is removed from the file.
|
||||||
|
-->
|
||||||
|
<PrivateSourceBuiltSDKVersion>7.0.118</PrivateSourceBuiltSDKVersion>
|
||||||
|
<PrivateSourceBuiltArtifactsPackageVersion>7.0.118</PrivateSourceBuiltArtifactsPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<!-- Workload manifest package versions -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<MauiFeatureBand>7.0.100</MauiFeatureBand>
|
||||||
|
<MauiWorkloadManifestVersion>7.0.49</MauiWorkloadManifestVersion>
|
||||||
|
<XamarinAndroidWorkloadManifestVersion>33.0.4</XamarinAndroidWorkloadManifestVersion>
|
||||||
|
<XamarinIOSWorkloadManifestVersion>16.0.1478</XamarinIOSWorkloadManifestVersion>
|
||||||
|
<XamarinMacCatalystWorkloadManifestVersion>15.4.2372</XamarinMacCatalystWorkloadManifestVersion>
|
||||||
|
<XamarinMacOSWorkloadManifestVersion>12.3.2372</XamarinMacOSWorkloadManifestVersion>
|
||||||
|
<XamarinTvOSWorkloadManifestVersion>16.0.1478</XamarinTvOSWorkloadManifestVersion>
|
||||||
|
<MonoWorkloadManifestVersion>$(MicrosoftNETCoreAppRefPackageVersion)</MonoWorkloadManifestVersion>
|
||||||
|
<MicrosoftNETWorkloadEmscriptennet6Manifest70100Version>7.0.19</MicrosoftNETWorkloadEmscriptennet6Manifest70100Version>
|
||||||
|
<MicrosoftNETWorkloadEmscriptennet7Manifest70100Version>7.0.19</MicrosoftNETWorkloadEmscriptennet7Manifest70100Version>
|
||||||
|
<EmscriptenWorkloadManifestVersion>$(MicrosoftNETWorkloadEmscriptennet7Manifest70100Version)</EmscriptenWorkloadManifestVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!-- pinned dependency. This package is not being produced outside of the 2.0 branch of corefx and should not change. -->
|
||||||
|
<CLI_NETStandardLibraryNETFrameworkVersion>2.0.1-servicing-26011-01</CLI_NETStandardLibraryNETFrameworkVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<!--
|
||||||
|
pinned dependency. This package is not being produced outside of the 2.0 branch of corefx and should not change.
|
||||||
|
If changed, the Microsoft.Deployment.DotNet.Releases dependency in Version.Details.xml must be updated to be kept in sync.
|
||||||
|
-->
|
||||||
|
<DotNetDeploymentReleasesPackageVersion>1.0.0-preview5.1.22263.1</DotNetDeploymentReleasesPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(RepositoryEngineeringDir)ManualVersions.props" />
|
||||||
|
</Project>
|
63
eng/_prettyprint.sh
Normal file
63
eng/_prettyprint.sh
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||||
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Detect build servers
|
||||||
|
if [[ ! -z "$JENKINS_URL" || ! -z "$BUILD_BUILDID" || ! -z "$DOTNET_CORESDK_NOPRETTYPRINT" ]]; then
|
||||||
|
# Jenkins or VSO build, disable colors because they make things gross.
|
||||||
|
NO_COLOR=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$NO_COLOR" != "1" ]; then
|
||||||
|
# ANSI Colors
|
||||||
|
RCol='\e[0m' # Text Reset
|
||||||
|
|
||||||
|
# Regular Bold Underline High Intensity BoldHigh Intens Background High Intensity Backgrounds
|
||||||
|
Bla='\e[0;30m'; BBla='\e[1;30m'; UBla='\e[4;30m'; IBla='\e[0;90m'; BIBla='\e[1;90m'; On_Bla='\e[40m'; On_IBla='\e[0;100m';
|
||||||
|
Red='\e[0;31m'; BRed='\e[1;31m'; URed='\e[4;31m'; IRed='\e[0;91m'; BIRed='\e[1;91m'; On_Red='\e[41m'; On_IRed='\e[0;101m';
|
||||||
|
Gre='\e[0;32m'; BGre='\e[1;32m'; UGre='\e[4;32m'; IGre='\e[0;92m'; BIGre='\e[1;92m'; On_Gre='\e[42m'; On_IGre='\e[0;102m';
|
||||||
|
Yel='\e[0;33m'; BYel='\e[1;33m'; UYel='\e[4;33m'; IYel='\e[0;93m'; BIYel='\e[1;93m'; On_Yel='\e[43m'; On_IYel='\e[0;103m';
|
||||||
|
Blu='\e[0;34m'; BBlu='\e[1;34m'; UBlu='\e[4;34m'; IBlu='\e[0;94m'; BIBlu='\e[1;94m'; On_Blu='\e[44m'; On_IBlu='\e[0;104m';
|
||||||
|
Pur='\e[0;35m'; BPur='\e[1;35m'; UPur='\e[4;35m'; IPur='\e[0;95m'; BIPur='\e[1;95m'; On_Pur='\e[45m'; On_IPur='\e[0;105m';
|
||||||
|
Cya='\e[0;36m'; BCya='\e[1;36m'; UCya='\e[4;36m'; ICya='\e[0;96m'; BICya='\e[1;96m'; On_Cya='\e[46m'; On_ICya='\e[0;106m';
|
||||||
|
Whi='\e[0;37m'; BWhi='\e[1;37m'; UWhi='\e[4;37m'; IWhi='\e[0;97m'; BIWhi='\e[1;97m'; On_Whi='\e[47m'; On_IWhi='\e[0;107m';
|
||||||
|
fi
|
||||||
|
|
||||||
|
cecho()
|
||||||
|
{
|
||||||
|
local text=$1
|
||||||
|
printf "%b\n" "$text"
|
||||||
|
}
|
||||||
|
|
||||||
|
header()
|
||||||
|
{
|
||||||
|
local text=$1
|
||||||
|
cecho "${BGre}*** $text ***${RCol}"
|
||||||
|
}
|
||||||
|
|
||||||
|
info()
|
||||||
|
{
|
||||||
|
local text=$1
|
||||||
|
cecho "${Gre}info :${RCol} $text"
|
||||||
|
}
|
||||||
|
|
||||||
|
warning()
|
||||||
|
{
|
||||||
|
local text=$1
|
||||||
|
cecho "${Yel}warn :${RCol} $text" 1>&2
|
||||||
|
}
|
||||||
|
|
||||||
|
error()
|
||||||
|
{
|
||||||
|
local text=$1
|
||||||
|
cecho "${Red}error:${RCol} $text" 1>&2
|
||||||
|
}
|
||||||
|
|
||||||
|
die()
|
||||||
|
{
|
||||||
|
local text=$1
|
||||||
|
error "$text"
|
||||||
|
exit 1
|
||||||
|
}
|
156
eng/build-pr.yml
Normal file
156
eng/build-pr.yml
Normal file
|
@ -0,0 +1,156 @@
|
||||||
|
parameters:
|
||||||
|
# Agent OS identifier and used as job name
|
||||||
|
agentOs: ''
|
||||||
|
|
||||||
|
# Agent pool
|
||||||
|
pool: {}
|
||||||
|
|
||||||
|
# Additional variables
|
||||||
|
variables: {}
|
||||||
|
|
||||||
|
# Build strategy - matrix
|
||||||
|
strategy: {}
|
||||||
|
|
||||||
|
# Job timeout
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
|
||||||
|
# Publish using pipelines
|
||||||
|
enablePublishUsingPipelines: true
|
||||||
|
|
||||||
|
phases:
|
||||||
|
- template: /eng/common/templates/job/job.yml
|
||||||
|
parameters:
|
||||||
|
${{ if parameters.pgoInstrument }}:
|
||||||
|
name: PGO_${{ parameters.agentOs }}
|
||||||
|
${{ if not(parameters.pgoInstrument) }}:
|
||||||
|
name: ${{ parameters.agentOs }}
|
||||||
|
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
|
||||||
|
${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
enableMicrobuild: true
|
||||||
|
enablePublishBuildAssets: true
|
||||||
|
enablePublishUsingPipelines: ${{parameters.enablePublishUsingPipelines}}
|
||||||
|
enableTelemetry: true
|
||||||
|
helixRepo: dotnet/installer
|
||||||
|
pool: ${{ parameters.pool }}
|
||||||
|
${{ if ne(parameters.strategy, '') }}:
|
||||||
|
strategy: ${{ parameters.strategy }}
|
||||||
|
workspace:
|
||||||
|
clean: all
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- _PgoInstrument: ''
|
||||||
|
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- _PackArg: '-pack'
|
||||||
|
- ${{ if ne(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- _PackArg: '--pack'
|
||||||
|
- ${{ if parameters.pgoInstrument }}:
|
||||||
|
- _PgoInstrument: '/p:PgoInstrument=true'
|
||||||
|
- _PackArg: ''
|
||||||
|
- _AgentOSName: ${{ parameters.agentOs }}
|
||||||
|
- _TeamName: Roslyn-Project-System
|
||||||
|
- _SignType: test
|
||||||
|
- _BuildArgs: '/p:DotNetSignType=$(_SignType) $(_PgoInstrument)'
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- group: DotNet-Symbol-Server-PATs
|
||||||
|
- group: DotNet-HelixApi-Access
|
||||||
|
- group: DotNet-Blob-Feed
|
||||||
|
- _DotNetPublishToBlobFeed: true
|
||||||
|
- _PushToVSFeed: true
|
||||||
|
- _SignType: real
|
||||||
|
- _BuildArgs: /p:OfficialBuildId=$(BUILD.BUILDNUMBER)
|
||||||
|
/p:DotNetSignType=$(_SignType)
|
||||||
|
/p:TeamName=$(_TeamName)
|
||||||
|
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
|
||||||
|
$(_PgoInstrument)
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
clean: true
|
||||||
|
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
|
||||||
|
- task: PowerShell@2
|
||||||
|
displayName: Setup Private Feeds Credentials
|
||||||
|
inputs:
|
||||||
|
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
|
||||||
|
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
|
||||||
|
env:
|
||||||
|
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
||||||
|
- script: build.cmd
|
||||||
|
$(_TestArg) $(_PackArg)
|
||||||
|
-publish -ci -sign
|
||||||
|
-Configuration $(_BuildConfig)
|
||||||
|
-Architecture $(_BuildArchitecture)
|
||||||
|
$(_BuildArgs)
|
||||||
|
$(_AdditionalBuildParameters)
|
||||||
|
$(_InternalRuntimeDownloadArgs)
|
||||||
|
displayName: Build
|
||||||
|
env:
|
||||||
|
DOTNET_CLI_UI_LANGUAGE: $(_DOTNET_CLI_UI_LANGUAGE)
|
||||||
|
|
||||||
|
- ${{ if ne(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Setup Private Feeds Credentials
|
||||||
|
inputs:
|
||||||
|
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
|
||||||
|
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
|
||||||
|
env:
|
||||||
|
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||||
|
- script: ./build.sh
|
||||||
|
$(_TestArg) $(_PackArg)
|
||||||
|
--publish --ci
|
||||||
|
--noprettyprint
|
||||||
|
--configuration $(_BuildConfig)
|
||||||
|
$(_DockerParameter)
|
||||||
|
--architecture $(_BuildArchitecture)
|
||||||
|
$(_LinuxPortable)
|
||||||
|
$(_RuntimeIdentifier)
|
||||||
|
$(_BuildArgs)
|
||||||
|
$(_AdditionalBuildParameters)
|
||||||
|
$(_InternalRuntimeDownloadArgs)
|
||||||
|
displayName: Build
|
||||||
|
|
||||||
|
- ${{ if or(eq(parameters.agentOs, 'Darwin'), eq(parameters.agentOs, 'FreeBSD')) }}:
|
||||||
|
- script: ./build.sh
|
||||||
|
$(_TestArg)
|
||||||
|
--pack --publish --ci
|
||||||
|
--noprettyprint
|
||||||
|
--configuration $(_BuildConfig)
|
||||||
|
--architecture $(_BuildArchitecture)
|
||||||
|
$(_RuntimeIdentifier)
|
||||||
|
$(_BuildArgs)
|
||||||
|
$(_AdditionalBuildParameters)
|
||||||
|
$(_InternalRuntimeDownloadArgs)
|
||||||
|
displayName: Build
|
||||||
|
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
displayName: Publish Test Results
|
||||||
|
inputs:
|
||||||
|
testRunner: XUnit
|
||||||
|
testResultsFiles: 'artifacts/TestResults/$(_BuildConfig)/*.xml'
|
||||||
|
testRunTitle: '$(_AgentOSName)_$(Agent.JobName)'
|
||||||
|
platform: '$(BuildPlatform)'
|
||||||
|
configuration: '$(_BuildConfig)'
|
||||||
|
condition: ne(variables['_TestArg'], '')
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Gather Logs
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(Build.SourcesDirectory)/artifacts'
|
||||||
|
Contents: |
|
||||||
|
log/$(_BuildConfig)/**/*
|
||||||
|
TestResults/$(_BuildConfig)/**/*
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
continueOnError: true
|
||||||
|
condition: always()
|
||||||
|
|
||||||
|
- task: PublishBuildArtifacts@1
|
||||||
|
displayName: Publish Logs to VSTS
|
||||||
|
inputs:
|
||||||
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
ArtifactName: '$(_AgentOSName)_$(Agent.JobName)_$(Build.BuildNumber)'
|
||||||
|
publishLocation: Container
|
||||||
|
continueOnError: true
|
||||||
|
condition: always()
|
156
eng/build.yml
Normal file
156
eng/build.yml
Normal file
|
@ -0,0 +1,156 @@
|
||||||
|
parameters:
|
||||||
|
# Agent OS identifier and used as job name
|
||||||
|
agentOs: ''
|
||||||
|
|
||||||
|
# Agent pool
|
||||||
|
pool: {}
|
||||||
|
|
||||||
|
# Additional variables
|
||||||
|
variables: {}
|
||||||
|
|
||||||
|
# Build strategy - matrix
|
||||||
|
strategy: {}
|
||||||
|
|
||||||
|
# Job timeout
|
||||||
|
timeoutInMinutes: 180
|
||||||
|
|
||||||
|
# Publish using pipelines
|
||||||
|
enablePublishUsingPipelines: true
|
||||||
|
|
||||||
|
phases:
|
||||||
|
- template: /eng/common/templates-official/job/job.yml
|
||||||
|
parameters:
|
||||||
|
${{ if parameters.pgoInstrument }}:
|
||||||
|
name: PGO_${{ parameters.agentOs }}
|
||||||
|
${{ if not(parameters.pgoInstrument) }}:
|
||||||
|
name: ${{ parameters.agentOs }}
|
||||||
|
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
|
||||||
|
${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
enableMicrobuild: true
|
||||||
|
enablePublishBuildAssets: true
|
||||||
|
enablePublishUsingPipelines: ${{parameters.enablePublishUsingPipelines}}
|
||||||
|
enableTelemetry: true
|
||||||
|
helixRepo: dotnet/installer
|
||||||
|
pool: ${{ parameters.pool }}
|
||||||
|
${{ if ne(parameters.strategy, '') }}:
|
||||||
|
strategy: ${{ parameters.strategy }}
|
||||||
|
workspace:
|
||||||
|
clean: all
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- _PgoInstrument: ''
|
||||||
|
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- _PackArg: '-pack'
|
||||||
|
- ${{ if ne(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- _PackArg: '--pack'
|
||||||
|
- ${{ if parameters.pgoInstrument }}:
|
||||||
|
- _PgoInstrument: '/p:PgoInstrument=true'
|
||||||
|
- _PackArg: ''
|
||||||
|
- _AgentOSName: ${{ parameters.agentOs }}
|
||||||
|
- _TeamName: Roslyn-Project-System
|
||||||
|
- _SignType: test
|
||||||
|
- _BuildArgs: '/p:DotNetSignType=$(_SignType) $(_PgoInstrument)'
|
||||||
|
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
- group: DotNet-Symbol-Server-PATs
|
||||||
|
- group: DotNet-HelixApi-Access
|
||||||
|
- group: DotNet-Blob-Feed
|
||||||
|
- _DotNetPublishToBlobFeed: true
|
||||||
|
- _PushToVSFeed: true
|
||||||
|
- _SignType: real
|
||||||
|
- _BuildArgs: /p:OfficialBuildId=$(BUILD.BUILDNUMBER)
|
||||||
|
/p:DotNetSignType=$(_SignType)
|
||||||
|
/p:TeamName=$(_TeamName)
|
||||||
|
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
|
||||||
|
$(_PgoInstrument)
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
clean: true
|
||||||
|
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
|
||||||
|
- task: PowerShell@2
|
||||||
|
displayName: Setup Private Feeds Credentials
|
||||||
|
inputs:
|
||||||
|
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
|
||||||
|
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
|
||||||
|
env:
|
||||||
|
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
||||||
|
- script: build.cmd
|
||||||
|
$(_TestArg) $(_PackArg)
|
||||||
|
-publish -ci -sign
|
||||||
|
-Configuration $(_BuildConfig)
|
||||||
|
-Architecture $(_BuildArchitecture)
|
||||||
|
$(_BuildArgs)
|
||||||
|
$(_AdditionalBuildParameters)
|
||||||
|
$(_InternalRuntimeDownloadArgs)
|
||||||
|
displayName: Build
|
||||||
|
env:
|
||||||
|
DOTNET_CLI_UI_LANGUAGE: $(_DOTNET_CLI_UI_LANGUAGE)
|
||||||
|
|
||||||
|
- ${{ if ne(parameters.agentOs, 'Windows_NT') }}:
|
||||||
|
- ${{ if ne(variables['System.TeamProject'], 'public') }}:
|
||||||
|
- task: Bash@3
|
||||||
|
displayName: Setup Private Feeds Credentials
|
||||||
|
inputs:
|
||||||
|
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
|
||||||
|
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
|
||||||
|
env:
|
||||||
|
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
||||||
|
|
||||||
|
- ${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||||
|
- script: ./build.sh
|
||||||
|
$(_TestArg) $(_PackArg)
|
||||||
|
--publish --ci
|
||||||
|
--noprettyprint
|
||||||
|
--configuration $(_BuildConfig)
|
||||||
|
$(_DockerParameter)
|
||||||
|
--architecture $(_BuildArchitecture)
|
||||||
|
$(_LinuxPortable)
|
||||||
|
$(_RuntimeIdentifier)
|
||||||
|
$(_BuildArgs)
|
||||||
|
$(_AdditionalBuildParameters)
|
||||||
|
$(_InternalRuntimeDownloadArgs)
|
||||||
|
displayName: Build
|
||||||
|
|
||||||
|
- ${{ if or(eq(parameters.agentOs, 'Darwin'), eq(parameters.agentOs, 'FreeBSD')) }}:
|
||||||
|
- script: ./build.sh
|
||||||
|
$(_TestArg)
|
||||||
|
--pack --publish --ci
|
||||||
|
--noprettyprint
|
||||||
|
--configuration $(_BuildConfig)
|
||||||
|
--architecture $(_BuildArchitecture)
|
||||||
|
$(_RuntimeIdentifier)
|
||||||
|
$(_BuildArgs)
|
||||||
|
$(_AdditionalBuildParameters)
|
||||||
|
$(_InternalRuntimeDownloadArgs)
|
||||||
|
displayName: Build
|
||||||
|
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
displayName: Publish Test Results
|
||||||
|
inputs:
|
||||||
|
testRunner: XUnit
|
||||||
|
testResultsFiles: 'artifacts/TestResults/$(_BuildConfig)/*.xml'
|
||||||
|
testRunTitle: '$(_AgentOSName)_$(Agent.JobName)'
|
||||||
|
platform: '$(BuildPlatform)'
|
||||||
|
configuration: '$(_BuildConfig)'
|
||||||
|
condition: ne(variables['_TestArg'], '')
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Gather Logs
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(Build.SourcesDirectory)/artifacts'
|
||||||
|
Contents: |
|
||||||
|
log/$(_BuildConfig)/**/*
|
||||||
|
TestResults/$(_BuildConfig)/**/*
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
continueOnError: true
|
||||||
|
condition: always()
|
||||||
|
|
||||||
|
- task: 1ES.PublishBuildArtifacts@1
|
||||||
|
displayName: Publish Logs to VSTS
|
||||||
|
inputs:
|
||||||
|
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
ArtifactName: '$(_AgentOSName)_$(Agent.JobName)_$(Build.BuildNumber)'
|
||||||
|
publishLocation: Container
|
||||||
|
continueOnError: true
|
||||||
|
condition: always()
|
2
eng/common/CIBuild.cmd
Normal file
2
eng/common/CIBuild.cmd
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
@echo off
|
||||||
|
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*"
|
11
eng/common/PSScriptAnalyzerSettings.psd1
Normal file
11
eng/common/PSScriptAnalyzerSettings.psd1
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@{
|
||||||
|
IncludeRules=@('PSAvoidUsingCmdletAliases',
|
||||||
|
'PSAvoidUsingWMICmdlet',
|
||||||
|
'PSAvoidUsingPositionalParameters',
|
||||||
|
'PSAvoidUsingInvokeExpression',
|
||||||
|
'PSUseDeclaredVarsMoreThanAssignments',
|
||||||
|
'PSUseCmdletCorrectly',
|
||||||
|
'PSStandardDSCFunctionsInResource',
|
||||||
|
'PSUseIdenticalMandatoryParametersForDSC',
|
||||||
|
'PSUseIdenticalParametersForDSC')
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue