Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Merge 3.0 into 3.1 #1355

Merged
merged 165 commits into from
Nov 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
8348aed
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Sep 26, 2019
6581f0c
Re-destabilize for building 3.0.1 dev builds.
crummel Oct 1, 2019
c480abd
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 1, 2019
d428ac0
Update websdk patch
crummel Oct 1, 2019
fb8e52c
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 1, 2019
7e6ae31
Make sure we fail the build when build script fails
crummel Oct 2, 2019
4044769
Upgrade SDK to 3.0.100
crummel Oct 2, 2019
fe3b15c
Update patches
crummel Oct 2, 2019
60f0ed9
Fix patch again
crummel Oct 2, 2019
bdeaf25
Really fix the patch
crummel Oct 2, 2019
5b467eb
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 2, 2019
af3a19a
Turn warnings as errors off for arcade
crummel Oct 2, 2019
b44ac7a
Warnings as errors also off for templating
crummel Oct 2, 2019
3b2e755
Fix patch again
crummel Oct 2, 2019
30d8f16
Remove patch that's no longer needed.
crummel Oct 2, 2019
74600c5
We don't have the Windows package, so try faking it.
crummel Oct 2, 2019
28deb04
Try a different approach to the ASP.NET version.
crummel Oct 2, 2019
42ea01d
Add logging back to source-build's build itself
crummel Oct 2, 2019
2c39fe4
Rework stable versions so repos can be stable independent of each other.
crummel Oct 3, 2019
0907e3c
Fix function casing
crummel Oct 3, 2019
a08fa3a
Restore patch for now
crummel Oct 3, 2019
89f9e2a
Update online prebuilt baseline
crummel Oct 3, 2019
f016d90
Add patch for corefx not to call dotnet without a path
crummel Oct 3, 2019
6126f38
Fix CoreFX patch
crummel Oct 3, 2019
89432e0
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 3, 2019
c9b8f20
fix websdk patch
crummel Oct 3, 2019
6327200
Same patch for core-setup
crummel Oct 3, 2019
142041f
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 4, 2019
9ae0206
fix websdk patch
crummel Oct 4, 2019
9f4eebb
Add another psuedo package for CLI
crummel Oct 4, 2019
46c7564
Another psuedo package for toolset
crummel Oct 4, 2019
69ff7b6
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 4, 2019
0650e6f
Remove upstreamed patch
crummel Oct 4, 2019
6715146
Update core-sdk ASP.NET version patch
crummel Oct 4, 2019
2401514
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 5, 2019
32d1bd4
another psuedo package for core-sdk
crummel Oct 5, 2019
8fcfe0c
Another psuedo package
crummel Oct 5, 2019
ab20414
another psuedo package
crummel Oct 6, 2019
a8f4887
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 7, 2019
ddcb495
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 7, 2019
c64a236
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 8, 2019
caedca0
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 8, 2019
ff9dc4e
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 10, 2019
313f952
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 11, 2019
416f945
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 11, 2019
7328f5a
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 11, 2019
643cecb
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 11, 2019
3a9a623
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 12, 2019
9387f89
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 12, 2019
c995613
directly call darc-init
adaggarwal Oct 15, 2019
708d09f
add runtime to support darc, add tools-path, remove un-needed projects
adaggarwal Oct 15, 2019
aa93577
Use the latest darc version
adaggarwal Oct 15, 2019
4dc1272
wip
adaggarwal Oct 15, 2019
55be598
remove darc and dependent stuff from tarball
adaggarwal Oct 15, 2019
a5aa9df
test: experimental
adaggarwal Oct 15, 2019
b8ecf18
test: experimental
adaggarwal Oct 15, 2019
0cf3b27
remove extra stuff from tarball
adaggarwal Oct 16, 2019
c35ad46
wip
adaggarwal Oct 16, 2019
e181585
update to fedora30
adaggarwal Oct 16, 2019
0c2cfc2
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 16, 2019
1114df3
wip
adaggarwal Oct 16, 2019
739cfef
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 17, 2019
504c5be
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 17, 2019
b0e3e7c
wip
adaggarwal Oct 17, 2019
074aaf2
Merge remote-tracking branch 'upstream/release/3.0' into darc-release…
crummel Oct 17, 2019
7f298e6
wip
adaggarwal Oct 17, 2019
aed09a6
wip
adaggarwal Oct 18, 2019
5904e1d
add environment ld_path to build tarball
adaggarwal Oct 18, 2019
3fd9230
code review resolve
adaggarwal Oct 18, 2019
06e57f1
code review resolve
adaggarwal Oct 18, 2019
0c2cdc6
code review resolve
adaggarwal Oct 18, 2019
dc6a44f
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 19, 2019
1ba1c55
add darcVersion to tarball
adaggarwal Oct 20, 2019
8cbaf0a
[release/3.0] Update dependencies from dotnet/source-build-reference-…
dotnet-maestro[bot] Oct 20, 2019
fae4fa8
Install darc rather than building it via arcade-services (#1315)
adaggarwal Oct 21, 2019
80330d9
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 21, 2019
be813df
Patch update 2019-10-23.
crummel Oct 23, 2019
c7e1e92
Update dependencies from https://github.com/dotnet/core-sdk build 201…
dotnet-maestro[bot] Oct 23, 2019
7647ceb
[release/3.0] Update dependencies from dotnet/source-build-reference-…
dotnet-maestro[bot] Oct 23, 2019
9dd007e
Switch to PROD pool (#1257)
NikolaMilosavljevic Oct 24, 2019
baf1484
Remove patches for fixed issue
crummel Oct 24, 2019
9d0ba1c
Patch status update 2019-10-24.
crummel Oct 24, 2019
c9939cb
Patch ASP.NET to use released crossgen version
crummel Oct 24, 2019
6c62990
Merge branch 'release/3.0' of https://github.com/dotnet/source-build …
adaggarwal Oct 24, 2019
07303a5
Add patches to fix Arcade prebuilts (#1331)
dseefeld Oct 25, 2019
904d238
[release/3.0] Update dependencies from dotnet/source-build-reference-…
dotnet-maestro[bot] Oct 25, 2019
90be5b7
Merge branch 'release/3.0' of https://github.com/dotnet/source-build …
adaggarwal Oct 25, 2019
e01dae6
Match our core-setup package name with core-sdk's to hopefully fix co…
crummel Oct 25, 2019
725b190
Fixed version number so this patch isn't needed
crummel Oct 25, 2019
2848084
Merge remote-tracking branch 'upstream/release/3.0' into darc-release…
crummel Oct 25, 2019
41f822b
Set BuildAllPackages in corefx (#1334)
dseefeld Oct 29, 2019
ee15380
Add patch to use non-portable NETCoreAppRuntime for crossgen
dseefeld Oct 29, 2019
b33e330
Don't update RID when on OSX
dseefeld Oct 29, 2019
3ecb90b
Add patch to use non-portable NETCoreAppRuntime for crossgen (#1335)
dseefeld Oct 29, 2019
6afa0ee
Update ASP.NET crossgen version - upcoming patch will obsolete this.
crummel Oct 30, 2019
a954236
Add new ProdCon feeds to NuGet.config.
crummel Oct 30, 2019
b0c96b8
Core-setup is being built as stable for intermediate servicing builds.
crummel Oct 30, 2019
93def3a
Conditionally override PackageVersions in coreclr (#1336)
dseefeld Nov 1, 2019
f4d2a75
remove RuntimeToolsetVer from props experiment
Nov 1, 2019
fa50336
Remove old ref-assembly src that is no longer used (#1341)
dseefeld Nov 4, 2019
7d5ce96
Remove app host prebuilt from aspnetcore (#1342)
dseefeld Nov 4, 2019
5cfd9ee
Final prebuilt update
dseefeld Nov 5, 2019
8c69674
Revert
adaggarwal Nov 5, 2019
381cdcd
Make OSX package installs more failure-resistant.
crummel Nov 5, 2019
ae075b0
[release/3.0] Update dependencies from dotnet/source-build-reference-…
dotnet-maestro[bot] Nov 5, 2019
524444c
Set property in Templating build to not use AppHost (#1346)
dseefeld Nov 5, 2019
e8cfea9
merge 3.0
adaggarwal Nov 5, 2019
65ad490
change dir props to set runtime to stable 3.0.1 for core-sdk
adaggarwal Nov 5, 2019
3aaa6ad
Get latest aspnetcore patches from release/3.0
adaggarwal Nov 5, 2019
c133b98
wip
adaggarwal Nov 5, 2019
5f344be
Baseline Changes
adaggarwal Nov 5, 2019
fdbc2f1
Merge pull request #1347 from crummel/osxFixUpgrade
crummel Nov 6, 2019
0f16afe
Patch corefx to not call dotnet without a path
crummel Nov 6, 2019
c0e1c65
coresetup patch for not calling dotnet without path
adaggarwal Nov 6, 2019
969361b
Remove ilasm/ildasm workaround (#1352)
dseefeld Nov 6, 2019
afdf3d6
Manually update to Tuesday's coherent build.
crummel Nov 7, 2019
b9f2cdb
Patch not needed after all
crummel Nov 7, 2019
a00eb2f
Patch ASP.NET target frameworks.
crummel Nov 7, 2019
481f88f
Patch netstandard2.1 into ASP.NET Extensions for AspNetCore.
crummel Nov 7, 2019
fc3b6ef
more target framework
crummel Nov 7, 2019
71e2e23
Update dependencies
mmitche Nov 7, 2019
976dcda
Merge remote-tracking branch 'upstream/darc-release/3.0-b4a326b9-5d30…
mmitche Nov 7, 2019
df9b49a
more target framework
crummel Nov 7, 2019
3e5dcd5
more target framework
crummel Nov 8, 2019
8d21290
more target framework
crummel Nov 8, 2019
02d163a
more target framework
crummel Nov 8, 2019
4700f36
more target framework
crummel Nov 8, 2019
00f0852
more target framework
crummel Nov 8, 2019
a1b6b75
more target framework
crummel Nov 8, 2019
39a2255
Patch ASP.NET Extensions to build MS.Internal.Extensions.Refs - used …
crummel Nov 8, 2019
13f1a9c
Try to just build and not pack MS.Internal.Ext.Refs
crummel Nov 8, 2019
e2bceff
Merge 30 in 31
adaggarwal Nov 8, 2019
d0134d7
Disable warnings as errors for ASP.NET Extensions
crummel Nov 8, 2019
f977799
Using set -e instead of exit
crummel Nov 8, 2019
e84f6d5
change online baseline
adaggarwal Nov 8, 2019
48a4624
Add version info to smoke-test
crummel Nov 8, 2019
cafd17a
Patch ASP.NET extensions to make ref and implementation versions match
crummel Nov 8, 2019
a5cd250
try skipping crossgen for ASP.NET
crummel Nov 9, 2019
9017a93
Patch core-sdk core-setup version
crummel Nov 10, 2019
9a36725
another dummy property for ASP.NET package version
crummel Nov 10, 2019
3f65003
Fix bad quoting
crummel Nov 10, 2019
87e49aa
Patch AspNetCore to use our reference packages
crummel Nov 10, 2019
8f19457
Update online prebuilt baseline
crummel Nov 10, 2019
21a0e27
Patch core-setup to not call dotnet without a path
crummel Nov 10, 2019
1802441
Patch ASP.NET extensions to not call dotnet without a path
crummel Nov 10, 2019
1fb7e19
Patch ASP.NET Tooling to not call dotnet without a path
crummel Nov 11, 2019
c28d8ba
Get latest 3.0.1 changes
adaggarwal Nov 11, 2019
41259da
Remove old patches
adaggarwal Nov 12, 2019
fb0780c
Add core-sdk patch for core-setup version
adaggarwal Nov 12, 2019
57b9b47
add Core-setup patches
adaggarwal Nov 13, 2019
d4d9452
update aspnetcore-tooling patches
adaggarwal Nov 13, 2019
f30b279
update aspnetcore-extension patches
adaggarwal Nov 13, 2019
dc0c07a
turn off UseStableVersions
adaggarwal Nov 13, 2019
834e733
Re-arrange patches
adaggarwal Nov 13, 2019
d27f382
Re-arrange patches
adaggarwal Nov 13, 2019
f4122ee
Re-arrange patches
adaggarwal Nov 13, 2019
71a0403
aspnetcore: add patches from 3.0
adaggarwal Nov 14, 2019
043a6bb
aspnetcore: add patches from 3.0 (yarn and version number)
adaggarwal Nov 14, 2019
b8fabb0
aspnetcore: add patches from 3.0 (tfm and ref assem)
adaggarwal Nov 14, 2019
9ad5a1f
aspnetcore: change tfm 3.0 -> 3.1
adaggarwal Nov 14, 2019
c03e87c
aspnetcore-tooling: change tfm 3.0 -> 3.1
adaggarwal Nov 15, 2019
2f46502
online: baseline changes
adaggarwal Nov 15, 2019
1217f78
offline: baseline changes
adaggarwal Nov 15, 2019
e64398f
core-setup: stablize package version
adaggarwal Nov 15, 2019
e147381
aspnetCore: remove fullfx patch
adaggarwal Nov 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions DarcVersion.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.0-beta.19515.3
224 changes: 112 additions & 112 deletions Documentation/SourceBuildPrebuiltRepoStatus.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
<packageSources>
<clear />
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<add key="darc-pub-microsoft-msbuild-e481bbf" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-microsoft-msbuild-e481bbf8/nuget/v3/index.json" />
<add key="darc-pub-dotnet-standard-a5b5f2e" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-standard-a5b5f2e1/nuget/v3/index.json" />
<add key="darc-pub-aspnet-Extensions-7dbc3eb" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-aspnet-Extensions-7dbc3ebd/nuget/v3/index.json" />
<add key="darc-pub-aspnet-AspNetCore-Tooling-7471a3d" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-aspnet-AspNetCore-Tooling-7471a3da/nuget/v3/index.json" />
<add key="darc-pub-aspnet-AspNetCore-22dedcb" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-aspnet-AspNetCore-22dedcb2/nuget/v3/index.json" />
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="nuget-build" value="https://dotnet.myget.org/F/nuget-build/api/v3/index.json" />
Expand Down
12 changes: 11 additions & 1 deletion build-source-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ if [[ $sdkLine =~ $sdkPattern ]]; then
fi
echo "Found bootstrap SDK $SDK_VERSION"
CLI_PATH="$SCRIPT_ROOT/.dotnet"
DARC_DLL="$SCRIPT_ROOT/tools-local/arcade-services/artifacts/bin/Microsoft.DotNet.Darc/Release/netcoreapp3.0/Microsoft.DotNet.Darc.dll"
DarcVersion=$(cat $SCRIPT_ROOT/DarcVersion.txt)
DARC_DLL="$CLI_PATH/tools/.store/microsoft.dotnet.darc/$DarcVersion/microsoft.dotnet.darc/$DarcVersion/tools/netcoreapp2.1/any/Microsoft.DotNet.Darc.dll"

if [ $SKIP_BUILD -ne 1 ]; then

Expand Down Expand Up @@ -146,6 +147,10 @@ git submodule foreach --quiet --recursive '

# Now re-uberclone into the tarball src directory. Since we reuse the .gitdirs, this shouldn't hit the network at all.
ignored_repos="https://dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/devdiv/DevDiv/_git/DotNet-Trusted;https://devdiv.visualstudio.com/DevDiv/_git/DotNet-Trusted;https://[email protected]/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/dnceng/internal/_git/dotnet-core-setup;https://github.com/dotnet/source-build-reference-packages"

#export the LC_LIB_PATH for libgit2 so file as fedora fails to find it in the repodir
export LD_LIBRARY_PATH=$CLI_PATH/tools/.store/microsoft.dotnet.darc/$DarcVersion/microsoft.dotnet.darc/$DarcVersion/tools/netcoreapp2.1/any/runtimes/rhel-x64/native/

"$CLI_PATH/dotnet" "$DARC_DLL" clone --repos-folder=$TARBALL_ROOT/src/ --git-dir-folder $SCRIPT_ROOT/.git/modules/src/ --include-toolset --ignore-repos "$ignored_repos" --azdev-pat bogus --github-pat bogus --depth 0 --debug

# now we don't need .git/modules/src or Darc anymore
Expand Down Expand Up @@ -182,6 +187,7 @@ cp $SCRIPT_ROOT/*.proj $TARBALL_ROOT/
cp $SCRIPT_ROOT/*.props $TARBALL_ROOT/
cp $SCRIPT_ROOT/*.targets $TARBALL_ROOT/
cp $SCRIPT_ROOT/global.json $TARBALL_ROOT/
cp $SCRIPT_ROOT/DarcVersion.txt $TARBALL_ROOT/
cp $SCRIPT_ROOT/ProdConFeed.txt $TARBALL_ROOT/
cp $SCRIPT_ROOT/smoke-test* $TARBALL_ROOT/
cp -r $CLI_PATH $TARBALL_ROOT/
Expand All @@ -192,6 +198,9 @@ cp -r $SCRIPT_ROOT/scripts $TARBALL_ROOT/
cp -r $SCRIPT_ROOT/repos $TARBALL_ROOT/
cp -r $SCRIPT_ROOT/tools-local $TARBALL_ROOT/
rm -rf $TARBALL_ROOT/tools-local/arcade-services/
rm -rf $TARBALL_ROOT/.dotnet/shared/2.1.0/
rm -rf $TARBALL_ROOT/.dotnet/tools/
rm -rf $TARBALL_ROOT/.dotnet/host/fxr/2.1.0/
cp -r $SCRIPT_ROOT/bin/git-info $TARBALL_ROOT/

cp $SCRIPT_ROOT/support/tarball/build.sh $TARBALL_ROOT/build.sh
Expand Down Expand Up @@ -303,6 +312,7 @@ for path in ${ilSrcPaths[@]}; do
fi
if [[ "$remove" == "true" ]]; then
rm -rf "$TARBALL_ROOT/packages/reference/staging/$path"
rm -rf "$TARBALL_ROOT/packages/reference/source/$path"
fi
done

Expand Down
71 changes: 0 additions & 71 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -89,77 +89,6 @@
<ReferenceOnlyPackageDlls Include="$(ReferencePackagesSourceDir)**/*.dll" />
</ItemGroup>

<!-- Temporary workaround to exclude dlls that can't be round-tripped. See: https://github.com/dotnet/coreclr/issues/20262
They'll end up in the source directory as dlls for now
-->
<ItemGroup>
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/System.Runtime.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/netstandard.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)netstandard.library/**/*.dll" />
<!-- Microsoft.AspNet.App DLLs that include .resource files -->
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Antiforgery.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authentication.OAuth.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authentication.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authorization.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Cors.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Cryptography.Internal.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.DataProtection.Abstractions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.DataProtection.Extensions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.DataProtection.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Diagnostics.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Hosting.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Http.Abstractions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Identity.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Localization.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Abstractions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Core.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Cors.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.DataAnnotations.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Formatters.Xml.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.Razor.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.RazorPages.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.TagHelpers.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Mvc.ViewFeatures.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Authorization.Policy.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Razor.Runtime.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Rewrite.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Routing.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.HttpSys.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.IIS.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.IIS.CoreStrings.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Core.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Core.CoreStrings.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketsStrings.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.Session.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.StaticFiles.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.AspNetCore.WebUtilities.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Binder.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.CommandLine.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.FileExtensions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Ini.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Json.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.UserSecrets.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Configuration.Xml.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.DependencyInjection.Abstractions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.DependencyInjection.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.DependencyModel.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Http.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Identity.Core.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Localization.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Logging.Abstractions.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Logging.Abstractions.Resource.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Options.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/Microsoft.Extensions.Primitives.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/System.Diagnostics.Contracts.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/System.IO.Pipelines.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/System.Memory.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/System.Text.Encodings.Web.dll" />
<ReferenceOnlyPackageDlls Remove="$(ReferencePackagesSourceDir)**/System.Threading.Channels.dll" />
</ItemGroup>
<!-- End Temporary workaround -->

<Message Importance="High" Text="Reference-only Packages:" />
<Message Importance="High" Text="%(ReferenceOnlyPackages.Identity)" />

Expand Down
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export NUGET_PACKAGES="$scriptroot/packages/restored/"
set -x
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"

# runtime 2.1.0 required for darc
"$scriptroot/eng/common/dotnet-install.sh" -runtime dotnet -version 2.1.0

if [ "$alternateTarget" == "true" ]; then
CLIPATH="$scriptroot/.dotnet"
SDKPATH="$CLIPATH/sdk/$SDK_VERSION"
Expand Down
12 changes: 8 additions & 4 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@
<ToolPackageExtractDir>$(ToolsDir)source-built/</ToolPackageExtractDir>
<ToolsLocalDir>$(ProjectDir)tools-local/</ToolsLocalDir>
<TaskDirectory>$(ToolsLocalDir)tasks/</TaskDirectory>
<DarcDll>$(ToolsLocalDir)arcade-services/artifacts/bin/Microsoft.DotNet.Darc/Release/netcoreapp3.0/Microsoft.DotNet.Darc.dll</DarcDll>
<DarcInstallDir>$(DotNetCliToolDir)tools/</DarcInstallDir>
<DarcVersion>$([System.IO.File]::ReadAllText('$(ProjectDir)DarcVersion.txt').Trim())</DarcVersion>
<DarcDll>$(DotNetCliToolDir)tools/.store/microsoft.dotnet.darc/$(DarcVersion)/microsoft.dotnet.darc/$(DarcVersion)/tools/netcoreapp2.1/any/Microsoft.DotNet.Darc.dll</DarcDll>
<TasksBinDir>$(TaskDirectory)Microsoft.DotNet.SourceBuild.Tasks/bin/Debug/netstandard2.0/</TasksBinDir>
<SourceBuildTasksAssembly>$(TasksBinDir)Microsoft.DotNet.SourceBuild.Tasks.dll</SourceBuildTasksAssembly>
<XPlatTasksBinDir>$(TaskDirectory)Microsoft.DotNet.SourceBuild.Tasks.XPlat/bin/Debug/netstandard2.0/</XPlatTasksBinDir>
Expand Down Expand Up @@ -193,12 +195,14 @@
<!-- same thing here for CLI -->
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimewinx64Version" Version="$(coresetupOutputPackageVersion)" />
<!-- same thing here for toolset -->
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimewinx64PackageVersion" Version="$(coresetupOutputPackageVersion)" />
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimewinx64PackageVersion" Version="%24(MicrosoftNETCoreDotNetAppHostPackageVersion)" />
<!-- same thing here for core-sdk -->
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimePackageVersion" Version="%24(MicrosoftNETCoreAppVersion)" />
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimeVersion" Version="%24(MicrosoftNETCoreAppVersion)" />
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimePackageVersion" Version="%24(MicrosoftNETCoreDotNetAppHostPackageVersion)" />
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppRuntimeVersion" Version="%24(MicrosoftNETCoreDotNetAppHostPackageVersion)" />
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftNETCoreAppHostPackageVersion" Version="%24(MicrosoftNETCoreDotNetAppHostPackageVersion)" />
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftAspNetCoreAppRuntimePackageVersion" Version="%24(MicrosoftAspNetCoreAppRuntimeLinuxX64PackageVersion)" />
<!-- core-sdk uses this property for ASP.NET blob directory -->
<ExtraPackageVersionPropsPackageInfo Include="VSRedistCommonAspNetCoreTargetingPackx6430PackageVersion" Version="$(aspnetcoreOutputPackageVersion)" />
<!-- OSX needs the OSX version instead of Linux. We don't have a lot of flexibility in how we output these properties so we're relying on the previous one being blank if the Linux version of the package is missing. -->
<ExtraPackageVersionPropsPackageInfo Include="MicrosoftAspNetCoreAppRuntimePackageVersion" Version="%24(MicrosoftAspNetCoreAppRuntimeOsxX64PackageVersion)" DoNotOverwrite="true" />
</ItemGroup>
Expand Down
32 changes: 25 additions & 7 deletions eng/common/darc-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source="${BASH_SOURCE[0]}"
darcVersion=''
versionEndpoint="https://maestro-prod.westus2.cloudapp.azure.com/api/assets/darc-version?api-version=2019-01-16"
verbosity=m

while [[ $# > 0 ]]; do
opt="$(echo "$1" | awk '{print tolower($0)}')"
Expand All @@ -15,6 +16,14 @@ while [[ $# > 0 ]]; do
versionEndpoint=$2
shift
;;
--verbosity)
verbosity=$2
shift
;;
--toolpath)
toolpath=$2
shift
;;
*)
echo "Invalid argument: $1"
usage
Expand All @@ -34,7 +43,6 @@ while [[ -h "$source" ]]; do
[[ $source != /* ]] && source="$scriptroot/$source"
done
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
verbosity=m

. "$scriptroot/tools.sh"

Expand All @@ -48,17 +56,27 @@ function InstallDarcCli {
InitializeDotNetCli
local dotnet_root=$_InitializeDotNetCli

local uninstall_command=`$dotnet_root/dotnet tool uninstall $darc_cli_package_name -g`
local tool_list=$($dotnet_root/dotnet tool list -g)
if [[ $tool_list = *$darc_cli_package_name* ]]; then
echo $($dotnet_root/dotnet tool uninstall $darc_cli_package_name -g)
if [ -z "$toolpath" ]; then
local tool_list=$($dotnet_root/dotnet tool list -g)
if [[ $tool_list = *$darc_cli_package_name* ]]; then
echo $($dotnet_root/dotnet tool uninstall $darc_cli_package_name -g)
fi
else
local tool_list=$($dotnet_root/dotnet tool list --tool-path "$toolpath")
if [[ $tool_list = *$darc_cli_package_name* ]]; then
echo $($dotnet_root/dotnet tool uninstall $darc_cli_package_name --tool-path "$toolpath")
fi
fi

local arcadeServicesSource="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json"
local arcadeServicesSource="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json"

echo "Installing Darc CLI version $darcVersion..."
echo "You may need to restart your command shell if this is the first dotnet tool you have installed."
echo $($dotnet_root/dotnet tool install $darc_cli_package_name --version $darcVersion --add-source "$arcadeServicesSource" -v $verbosity -g)
if [ -z "$toolpath" ]; then
echo $($dotnet_root/dotnet tool install $darc_cli_package_name --version $darcVersion --add-source "$arcadeServicesSource" -v $verbosity -g)
else
echo $($dotnet_root/dotnet tool install $darc_cli_package_name --version $darcVersion --add-source "$arcadeServicesSource" -v $verbosity --tool-path "$toolpath")
fi
}

InstallDarcCli
37 changes: 0 additions & 37 deletions patches/arcade/0004-Import-PackageVersions-props-if-exists.patch

This file was deleted.

Loading