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.1.4xx branches to 5.0.100/master #12424

Merged
merged 1,063 commits into from
Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1063 commits
Select commit Hold shift + click to select a range
5605fb2
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] May 6, 2020
211eca6
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] May 8, 2020
95e89c0
Fix NullReferenceException in dotnet store
dsplaisted Apr 24, 2020
eb0fb1e
Increase minimum required MSBuild to 16.7.0
drewnoakes May 11, 2020
f3663e3
Merge pull request #11596 from dsplaisted/fix-packages-to-prune-3.1.4xx
dsplaisted May 11, 2020
10816d2
Update dependencies from https://github.com/dotnet/sdk build 20200511…
dotnet-maestro[bot] May 11, 2020
c65e15f
Remove unused property setters
drewnoakes Mar 17, 2020
4148ba5
Update documentation
drewnoakes Mar 17, 2020
ce14bf9
Simplify lazy initialization
drewnoakes Mar 17, 2020
1e77c0a
Make methods static
drewnoakes Mar 17, 2020
e71eec1
Reduce string allocations
drewnoakes Mar 17, 2020
6a54585
Avoid array covariance
drewnoakes Mar 17, 2020
69d73a1
Remove redundant assignments
drewnoakes Mar 17, 2020
046b8e9
Array cannot be null or have negative item length
drewnoakes Mar 17, 2020
4b9f980
Inline out var declarations
drewnoakes Mar 17, 2020
2c9da2b
Reduce constructor visibilities
drewnoakes Mar 17, 2020
b556fab
Use local function
drewnoakes Mar 17, 2020
4f69a00
Formatting
drewnoakes Mar 17, 2020
23256d3
Remove diagnostics from PreprocessPackageDependenciesDesignTime
drewnoakes Mar 19, 2020
4535ef6
Documentation
drewnoakes Apr 1, 2020
dfcbaf3
Make local functions static
drewnoakes Apr 1, 2020
a3971a1
Convert property to local variable
drewnoakes Apr 1, 2020
0343967
Replace O(N) with O(1) lookup
drewnoakes Apr 1, 2020
10fce0c
Reduce allocation when applying item metadata
drewnoakes Apr 2, 2020
78088a7
Remove assemblies from PreprocessPackageDependenciesDesignTime
drewnoakes Apr 2, 2020
82c9d0e
Remove non-top-level packages from PreprocessPackageDependenciesDesig…
drewnoakes Apr 2, 2020
4632176
Filter DTB packages by TargetFrameworkMoniker
drewnoakes Apr 2, 2020
aa3947c
Don't set IsTopLevelDependency metadata
drewnoakes Apr 2, 2020
455892a
Don't set Type metadata
drewnoakes Apr 2, 2020
b286e4b
Require Name for DTB resolved package reference items
drewnoakes Apr 2, 2020
24672f7
Extract var for common subexpression
drewnoakes Apr 2, 2020
a515ab9
Update unit tests for PreprocessPackageDependenciesDesignTime
drewnoakes Apr 3, 2020
f868606
Remove ReportAssetsLogMessages task
drewnoakes May 11, 2020
88f514f
Make methods static
drewnoakes May 11, 2020
0f1b57e
Discard unused out parameters
drewnoakes May 11, 2020
d1a5111
Inline methods
drewnoakes May 11, 2020
28e7900
ResolvePackageDependencies produces fewer outputs
drewnoakes May 11, 2020
e441594
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] May 12, 2020
f7c4f1d
Update dependencies from https://github.com/dotnet/sdk build 20200511…
dotnet-maestro[bot] May 12, 2020
61f958c
Update dependencies from https://github.com/dotnet/cli build 20200511…
dotnet-maestro[bot] May 12, 2020
ba692e6
Merge pull request #4542 from drewnoakes/bump-minimum-version
dsplaisted May 12, 2020
22b6552
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] May 12, 2020
e5e26b7
Document property value
drewnoakes May 13, 2020
b9874ce
Merge pull request #11358 from drewnoakes/design-time-package-references
drewnoakes May 13, 2020
c64e80b
Update dependencies from https://github.com/dotnet/sdk build 20200513…
dotnet-maestro[bot] May 13, 2020
d5d6ca9
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] May 13, 2020
e5e713e
Update dependencies from https://github.com/dotnet/sdk build 20200513…
dotnet-maestro[bot] May 13, 2020
58e5ae1
Update dependencies from https://github.com/dotnet/cli build 20200513…
dotnet-maestro[bot] May 13, 2020
f9bb37a
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#11594)
dotnet-maestro[bot] May 14, 2020
dbdb967
Update dependencies from https://github.com/dotnet/sdk build 20200513…
dotnet-maestro[bot] May 14, 2020
04fca9f
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] May 15, 2020
c81545d
Update dependencies from https://github.com/dotnet/cli build 20200515…
dotnet-maestro[bot] May 15, 2020
45d1508
[release/3.1.4xx] Update dependencies from dotnet/sdk (#13353)
dotnet-maestro[bot] May 19, 2020
ceda5b1
Update dependencies from https://github.com/dotnet/cli build 20200518…
dotnet-maestro[bot] May 19, 2020
1093cdb
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 19, 2020
c8070a6
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 19, 2020
8fb250b
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 19, 2020
402b9bf
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 19, 2020
9ef5ef0
Update dependencies from https://github.com/dotnet/cli build 20200519…
dotnet-maestro[bot] May 19, 2020
6809d65
Update dependencies from https://github.com/dotnet/sdk build 20200519…
dotnet-maestro[bot] May 19, 2020
8ef03a4
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 19, 2020
d124881
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 19, 2020
ea94581
Update dependencies from https://github.com/dotnet/sdk build 20200519…
dotnet-maestro[bot] May 20, 2020
71cc2fe
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] May 20, 2020
f3cf1be
[release/3.1.4xx] Update dependencies from dotnet/sdk (#13369)
dotnet-maestro[bot] May 20, 2020
d8cfed2
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 20, 2020
a25b7ad
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] May 20, 2020
a372121
Update dependencies from https://github.com/dotnet/cli build 20200520…
dotnet-maestro[bot] May 20, 2020
245d99f
Update dependencies from https://github.com/dotnet/cli build 20200520…
dotnet-maestro[bot] May 20, 2020
4d3175a
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 20, 2020
0490c93
Publish NuGet.Build.Tasks.Console
May 21, 2020
f4f2027
Add tests for RestoreUseStaticGraphEvaluation
May 21, 2020
8b40105
[release/3.1.4xx] Update dependencies from Microsoft/msbuild (#4584)
dotnet-maestro[bot] May 21, 2020
a0ae849
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 21, 2020
112cd1f
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#11696)
dotnet-maestro[bot] May 21, 2020
bffe1aa
Update dependencies from https://github.com/dotnet/sdk build 20200521…
dotnet-maestro[bot] May 22, 2020
9347815
Update dependencies from https://github.com/dotnet/sdk build 20200521…
dotnet-maestro[bot] May 22, 2020
e4f4874
Update dependencies from https://github.com/dotnet/cli build 20200521…
dotnet-maestro[bot] May 22, 2020
cb097a5
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 26, 2020
6878ebb
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 28, 2020
86cfb2a
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 28, 2020
a149275
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] May 28, 2020
319cdf3
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 29, 2020
8cda800
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 29, 2020
7d6f67c
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 29, 2020
8d0d969
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 29, 2020
fc6048f
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] May 29, 2020
fefa075
Correct tool path append
Jun 1, 2020
1e35cc0
Merge pull request #4592 from dotnet/darc-release/3.1.4xx-3ba0a684-96…
v-qizh10 Jun 1, 2020
df651f8
Merge pull request #13378 from wli3/dotetdefault-path-3.1.4xx
Jun 1, 2020
9ccecd5
Update dependencies from https://github.com/dotnet/cli build 20200601…
dotnet-maestro[bot] Jun 1, 2020
c92a7d6
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
9e0b0d1
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
d65cbad
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
395c903
Merge pull request #4583 from wli3/port-NuGetBuildTasksConsole
Jun 2, 2020
054a131
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
5fddd50
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
72b2f1e
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
69c544b
Merge pull request #13374 from wli3/port-NuGetBuildTasksConsole
Jun 3, 2020
9205f10
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 4, 2020
4de7c16
[release/3.1.4xx] Update dependencies from dotnet/fsharp (#4594)
dotnet-maestro[bot] Jun 4, 2020
1ae2687
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 4, 2020
8905b67
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 5, 2020
b7405a1
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 5, 2020
7d5cb92
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 5, 2020
2f25ad9
Add support for reading the extern alias (#11451)
nkolev92 May 29, 2020
7ccff2b
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 8, 2020
7366e16
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 8, 2020
d72fa1b
use core msbuild only fact
nkolev92 Jun 9, 2020
fd1c2fa
[release/3.1.4xx] Update dependencies from microsoft/vstest (#4600)
dotnet-maestro[bot] Jun 9, 2020
66b71ef
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 9, 2020
a926911
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 9, 2020
81b91dd
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 10, 2020
14d9306
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 10, 2020
fe65587
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 10, 2020
03e7f63
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 10, 2020
c5395c2
Update GivenThatWeHaveAPackageReferenceWithAliases.cs
nkolev92 Jun 10, 2020
adef720
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 10, 2020
731868b
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 10, 2020
361fa66
Merge pull request #4607 from dotnet/darc-release/3.1.4xx-ecb108ee-2a…
v-qizh10 Jun 11, 2020
33618c6
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] Jun 11, 2020
89e2d29
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 11, 2020
09cb09c
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] Jun 11, 2020
6f444cc
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] Jun 12, 2020
aabf652
Update dependencies from https://github.com/microsoft/vstest build 20…
dotnet-maestro[bot] Jun 12, 2020
871ac9f
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 12, 2020
0be2ac0
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] Jun 12, 2020
32e8cf2
Merge pull request #11954 from nkolev92/release314xx-aliasesSupport
Jun 12, 2020
d46fa3c
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 12, 2020
1cf3a0a
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 12, 2020
369bb08
Update dependencies from https://github.com/dotnet/sdk build 20200612…
dotnet-maestro[bot] Jun 12, 2020
4f92825
Update dependencies from https://github.com/dotnet/sdk build 20200612…
dotnet-maestro[bot] Jun 12, 2020
fa55d7a
Update dependencies from https://github.com/dotnet/cli build 20200612…
dotnet-maestro[bot] Jun 12, 2020
7620618
Update stage 0
joeloff Jun 12, 2020
4ccc416
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 13, 2020
17bf658
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#13397)
dotnet-maestro[bot] Jun 14, 2020
da9a1fb
Update dependencies from https://github.com/dotnet/cli build 20200613…
dotnet-maestro[bot] Jun 14, 2020
4e37ad2
Include diagnostic level metadata on ResolvedPackageReference
drewnoakes Jun 15, 2020
6f5f5c1
Consider target when joining diagnostic to package reference
drewnoakes Jun 16, 2020
9aae857
Update global.json
Jun 17, 2020
d554b5e
Merge pull request #12056 from dotnet/darc-release/3.1.4xx-ea19a2c5-8…
v-wuzhai Jun 17, 2020
8e288ea
Update dependencies from https://github.com/dotnet/sdk build 20200617…
dotnet-maestro[bot] Jun 17, 2020
7594743
Merge pull request #12069 from drewnoakes/include-library-diagnostic-…
drewnoakes Jun 17, 2020
5555354
Update dependencies from https://github.com/dotnet/sdk build 20200617…
dotnet-maestro[bot] Jun 17, 2020
fa53ed0
[release/3.1.4xx] Update dependencies from dotnet/sdk (#13399)
dotnet-maestro[bot] Jun 18, 2020
cfa8e70
Update dependencies from https://github.com/dotnet/cli build 20200617…
dotnet-maestro[bot] Jun 18, 2020
da8e818
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 18, 2020
8e5afef
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 18, 2020
dcafb92
Update dependencies from https://github.com/dotnet/cli build 20200618…
dotnet-maestro[bot] Jun 18, 2020
abe0d39
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 19, 2020
04526d9
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#12102)
dotnet-maestro[bot] Jun 19, 2020
7b53821
Update dependencies from https://github.com/dotnet/sdk build 20200619…
dotnet-maestro[bot] Jun 19, 2020
fa96ea2
Update dependencies from https://github.com/dotnet/sdk build 20200619…
dotnet-maestro[bot] Jun 19, 2020
f464a93
Update dependencies from https://github.com/dotnet/cli build 20200619…
dotnet-maestro[bot] Jun 19, 2020
39e697f
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 22, 2020
7936d60
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 23, 2020
e4869f8
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 23, 2020
868f61e
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 23, 2020
8907e4e
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 23, 2020
1df0d9a
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 23, 2020
9b956a2
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 23, 2020
2fd0695
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#13406)
dotnet-maestro[bot] Jun 24, 2020
8b1865e
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 24, 2020
f5cf646
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 24, 2020
c1d5902
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#12127)
dotnet-maestro[bot] Jun 24, 2020
c776df9
Update dependencies from https://github.com/dotnet/sdk build 20200624…
dotnet-maestro[bot] Jun 24, 2020
936e5d3
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 25, 2020
1b26ace
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 25, 2020
e083025
Update dependencies from https://github.com/dotnet/cli build 20200623…
dotnet-maestro[bot] Jun 25, 2020
578eedc
Update dependencies from https://github.com/dotnet/sdk build 20200624…
dotnet-maestro[bot] Jun 25, 2020
f1bcf96
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 26, 2020
e85d8d4
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 26, 2020
c6bf33d
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 26, 2020
ecae9a6
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 26, 2020
94dcf3f
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 26, 2020
687263f
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 26, 2020
b538248
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 26, 2020
c107830
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 26, 2020
ecaddc7
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 26, 2020
6f4d531
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 26, 2020
a1aae55
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 26, 2020
d07192f
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 27, 2020
677b4c9
Merge pull request #4649 from dotnet/darc-release/3.1.4xx-ac87ce38-5d…
v-qizh10 Jun 28, 2020
f6f9d92
Merge pull request #13377 from dotnet/darc-release/3.1.4xx-51847ac0-3…
v-qizh10 Jun 28, 2020
dc049eb
Update dependencies from https://github.com/dotnet/cli build 20200627…
dotnet-maestro[bot] Jun 28, 2020
3a59c1f
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 29, 2020
16e4cfd
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 29, 2020
2b66a5b
Remove unnecessary reference
Jun 29, 2020
892f797
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 29, 2020
4f6c111
Merge pull request #4589 from dotnet/darc-release/3.1.4xx-069e7e98-06…
joeloff Jun 29, 2020
15c823a
Merge pull request #11806 from dotnet/darc-release/3.1.4xx-5758c537-c…
joeloff Jun 29, 2020
3007d4d
Merge pull request #13414 from dotnet/dev/release/3.1.4xx-remove-extr…
Jun 29, 2020
2143424
Update dependencies from https://github.com/dotnet/sdk build 20200629…
dotnet-maestro[bot] Jun 29, 2020
5ef9353
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 29, 2020
7d7b247
Update dependencies from https://github.com/dotnet/cli build 20200629…
dotnet-maestro[bot] Jun 29, 2020
0d8146d
Update dependencies from https://github.com/dotnet/sdk build 20200629…
dotnet-maestro[bot] Jun 29, 2020
2b6b35e
Update dependencies from https://github.com/dotnet/cli build 20200629…
dotnet-maestro[bot] Jun 29, 2020
d8f1dea
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 29, 2020
31bc1d8
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jun 30, 2020
ab7a852
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 30, 2020
9426777
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 30, 2020
563dd87
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jun 30, 2020
785bf3d
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 30, 2020
e314f99
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#13417)
dotnet-maestro[bot] Jun 30, 2020
17e027c
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 30, 2020
fc9c13d
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jun 30, 2020
d63dd41
Update dependencies from https://github.com/dotnet/cli build 20200630…
dotnet-maestro[bot] Jun 30, 2020
a99cb0a
[release/3.1.4xx] Update dependencies from nuget/nuget.client (#12283)
dotnet-maestro[bot] Jul 1, 2020
2ff250c
Update dependencies from https://github.com/dotnet/sdk build 20200630…
dotnet-maestro[bot] Jul 1, 2020
0ba47b9
Update dependencies from https://github.com/dotnet/sdk build 20200630…
dotnet-maestro[bot] Jul 1, 2020
d4b19d0
Update dependencies from https://github.com/dotnet/cli build 20200630…
dotnet-maestro[bot] Jul 1, 2020
6598bc2
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jul 6, 2020
842a30d
Update stage 0
Jul 7, 2020
802a411
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jul 7, 2020
d888761
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jul 7, 2020
06c2426
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jul 8, 2020
6e3ecb1
Update dependencies from https://github.com/dotnet/cli build 20200707…
dotnet-maestro[bot] Jul 8, 2020
d73281b
Update stage 0
Jul 8, 2020
e3f2649
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jul 9, 2020
7a07692
Merge pull request #12342 from dotnet/darc-release/3.1.4xx-ec0e581d-0…
v-wuzhai Jul 9, 2020
41ecfd6
Update dependencies from https://github.com/dotnet/sdk build 20200708…
dotnet-maestro[bot] Jul 9, 2020
56e244d
Update dependencies from https://github.com/dotnet/sdk build 20200708…
dotnet-maestro[bot] Jul 9, 2020
f82edc0
Update dependencies from https://github.com/dotnet/cli build 20200708…
dotnet-maestro[bot] Jul 9, 2020
aa0fb1f
Update dependencies from https://github.com/microsoft/msbuild build 2…
dotnet-maestro[bot] Jul 10, 2020
1e090d8
Merge remote-tracking branch 'sdk/release/3.1.4xx' into merge-3.1
rainersigwald Jul 10, 2020
4391667
Merge remote-tracking branch 'cli/release/3.1.4xx' into merge-3.1
rainersigwald Jul 10, 2020
5a3d2f8
Merge remote-tracking branch 'toolset/release/3.1.4xx' into merge-3.1
rainersigwald Jul 10, 2020
a9f81b4
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jul 10, 2020
fff865a
Update dependencies from https://github.com/dotnet/sdk build 20200710…
dotnet-maestro[bot] Jul 11, 2020
5099b65
Update dependencies from https://github.com/dotnet/sdk build 20200710…
dotnet-maestro[bot] Jul 11, 2020
ea6f5ec
Update dependencies from https://github.com/dotnet/cli build 20200710…
dotnet-maestro[bot] Jul 11, 2020
d2ebe89
Update dependencies from https://github.com/dotnet/fsharp build 20200…
dotnet-maestro[bot] Jul 11, 2020
004ce0c
Update dependencies from https://github.com/NuGet/NuGet.Client build …
dotnet-maestro[bot] Jul 13, 2020
1963117
Update dependencies from https://github.com/dotnet/cli build 20200713…
dotnet-maestro[bot] Jul 13, 2020
551845e
Fixing merge issues
Jul 13, 2020
0c810c9
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] Jul 14, 2020
e2a91b6
Update dependencies from https://github.com/dotnet/roslyn build 20200…
dotnet-maestro[bot] Jul 15, 2020
d8ac267
Insert 3.1.6 runtime (#4685)
wtgodbe Jul 15, 2020
db1e18b
Insert 3.1.6 runtime (#13428)
wtgodbe Jul 15, 2020
d6add9e
[release/3.1.4xx] Update dependencies from dotnet/cli (#4687)
dotnet-maestro[bot] Jul 15, 2020
dfaa012
[release/3.1.4xx] Update dependencies from dotnet/sdk (#4691)
dotnet-maestro[bot] Jul 17, 2020
5e9fcfd
[release/3.1.4xx] Update dependencies from dotnet/arcade (#4689)
dotnet-maestro[bot] Jul 17, 2020
87363be
[release/3.1.4xx] Update dependencies from dotnet/roslyn (#4688)
dotnet-maestro[bot] Jul 17, 2020
409cc2a
[release/3.1.4xx] Update dependencies from dotnet/arcade (#13435)
dotnet-maestro[bot] Jul 17, 2020
1c31b91
[release/3.1.4xx] Update dependencies from dotnet/sdk (#13437)
dotnet-maestro[bot] Jul 17, 2020
01eb9ad
[release/3.1.4xx] Update dependencies from dotnet/cli (#4693)
dotnet-maestro[bot] Jul 20, 2020
8c7dca4
Merge remote-tracking branch 'upstream/master' into merge-3.1
rainersigwald Jul 20, 2020
c1bc777
Merge remote-tracking branch 'toolset/release/3.1.4xx' into merge-3.1
rainersigwald Jul 20, 2020
8493de3
Merge remote-tracking branch 'old-cli/release/3.1.4xx' into merge-3.1
rainersigwald Jul 20, 2020
1a8a8a3
Merge branch 'merge-3.1' of https://github.com/rainersigwald/sdk into…
rainersigwald Jul 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
<Uri>https://github.com/dotnet/CliCommandLineParser</Uri>
<Sha>0e89c2116ad28e404ba56c14d1c3f938caa25a01</Sha>
</Dependency>
<Dependency Name="Microsoft.Build" Version="16.7.0-preview-20359-01">
<Dependency Name="Microsoft.Build" Version="16.7.0-preview-20360-03">
<Uri>https://github.com/microsoft/msbuild</Uri>
<Sha>29609438b47acb32744163fa618a60f3aa478435</Sha>
<Sha>188921e2ffecf6c74dd4583cf01b62465fcbee3c</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Localization" Version="16.7.0-preview-20359-01">
<Dependency Name="Microsoft.Build.Localization" Version="16.7.0-preview-20360-03">
<Uri>https://github.com/microsoft/msbuild</Uri>
<Sha>29609438b47acb32744163fa618a60f3aa478435</Sha>
<Sha>188921e2ffecf6c74dd4583cf01b62465fcbee3c</Sha>
</Dependency>
<Dependency Name="Microsoft.FSharp.Compiler" Version="10.10.0-beta.20329.5">
<Uri>https://github.com/dotnet/fsharp</Uri>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
</PropertyGroup>
<PropertyGroup>
<!-- Dependencies from https://github.com/Microsoft/msbuild -->
<MicrosoftBuildPackageVersion>16.7.0-preview-20359-01</MicrosoftBuildPackageVersion>
<MicrosoftBuildPackageVersion>16.7.0-preview-20360-03</MicrosoftBuildPackageVersion>
<MicrosoftBuildFrameworkPackageVersion>$(MicrosoftBuildPackageVersion)</MicrosoftBuildFrameworkPackageVersion>
<MicrosoftBuildRuntimePackageVersion>$(MicrosoftBuildPackageVersion)</MicrosoftBuildRuntimePackageVersion>
<MicrosoftBuildLocalizationPackageVersion>16.7.0-preview-20359-01</MicrosoftBuildLocalizationPackageVersion>
<MicrosoftBuildLocalizationPackageVersion>16.7.0-preview-20360-03</MicrosoftBuildLocalizationPackageVersion>
<MicrosoftBuildUtilitiesCorePackageVersion>$(MicrosoftBuildPackageVersion)</MicrosoftBuildUtilitiesCorePackageVersion>
<MicrosoftBuildVersion>$(MicrosoftBuildPackageVersion)</MicrosoftBuildVersion>
<MicrosoftBuildFrameworkVersion>$(MicrosoftBuildFrameworkPackageVersion)</MicrosoftBuildFrameworkVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,21 @@ public class DotnetFirstRunConfiguration
public bool GenerateAspNetCertificate { get; }

public bool TelemetryOptout { get; }

public bool AddGlobalToolsToPath { get; }

public bool NoLogo { get; }

public DotnetFirstRunConfiguration(
bool generateAspNetCertificate,
bool telemetryOptout,
bool addGlobalToolsToPath)
bool addGlobalToolsToPath,
bool nologo)
{
GenerateAspNetCertificate = generateAspNetCertificate;
TelemetryOptout = telemetryOptout;
AddGlobalToolsToPath = addGlobalToolsToPath;
NoLogo = nologo;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ public void Configure()

if (ShouldPrintFirstTimeUseNotice())
{
PrintFirstTimeMessageWelcome();
if (ShouldPrintTelemetryMessageWhenFirstTimeUseNoticeIsEnabled())
if (!_dotnetFirstRunConfiguration.NoLogo)
{
PrintTelemetryMessage();
PrintFirstTimeMessageWelcome();
if (ShouldPrintTelemetryMessageWhenFirstTimeUseNoticeIsEnabled())
{
PrintTelemetryMessage();
}

PrintFirstTimeMessageMoreInformation();
}

PrintFirstTimeMessageMoreInformation();
_firstTimeUseNoticeSentinel.CreateIfNotExists();
}

Expand Down
7 changes: 5 additions & 2 deletions src/Cli/dotnet/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ internal static int ProcessArgs(string[] args, ITelemetry telemetryClient = null
environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: false);
bool addGlobalToolsToPath =
environmentProvider.GetEnvironmentVariableAsBool("DOTNET_ADD_GLOBAL_TOOLS_TO_PATH", defaultValue: true);
bool nologo =
environmentProvider.GetEnvironmentVariableAsBool("DOTNET_NOLOGO", defaultValue: false);

ReportDotnetHomeUsage(environmentProvider);

Expand All @@ -158,13 +160,14 @@ internal static int ProcessArgs(string[] args, ITelemetry telemetryClient = null
aspNetCertificateSentinel = new NoOpAspNetCertificateSentinel();
firstTimeUseNoticeSentinel = new NoOpFirstTimeUseNoticeSentinel();
toolPathSentinel = new NoOpFileSentinel(exists: false);
isDotnetBeingInvokedFromNativeInstaller = true;
isDotnetBeingInvokedFromNativeInstaller = true;
}

var dotnetFirstRunConfiguration = new DotnetFirstRunConfiguration(
generateAspNetCertificate: generateAspNetCertificate,
telemetryOptout: telemetryOptout,
addGlobalToolsToPath: addGlobalToolsToPath);
addGlobalToolsToPath: addGlobalToolsToPath,
nologo: nologo);

ConfigureDotNetForFirstTimeUse(
firstTimeUseNoticeSentinel,
Expand Down
3 changes: 2 additions & 1 deletion src/Cli/dotnet/commands/dotnet-nuget/NuGetCommandParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public static Command NuGet() =>
Create.Option("-d|--disable-buffering", Parser.CompletionOnlyDescription),
Create.Option("-n|--no-symbols", Parser.CompletionOnlyDescription),
Create.Option("--no-service-endpoint", Parser.CompletionOnlyDescription),
Create.Option("--interactive", Parser.CompletionOnlyDescription)
Create.Option("--interactive", Parser.CompletionOnlyDescription),
Create.Option("--skip-duplicate", Parser.CompletionOnlyDescription)
));
}
}
2 changes: 1 addition & 1 deletion src/Layout/redist/minimumMSBuildVersion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.5.0
16.7.0
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<WarningsAsErrors>true</WarningsAsErrors>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
<IsPackable>true</IsPackable>
<!-- Create FileDefinitions items for ResolveHostfxrCopyLocalContent target -->
<EmitLegacyAssetsFileItems>true</EmitLegacyAssetsFileItems>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ Copyright (c) .NET Foundation. All rights reserved.
_ComputeResolvedFilesToPublishTypes

Splits ResolvedFileToPublish items into 'PreserveNewest' and 'Always' buckets.
Then further splits those into 'Unbundled' buckets based on the single file setting.
============================================================
-->
<Target Name="_ComputeResolvedFilesToPublishTypes">
Expand All @@ -461,6 +462,19 @@ Copyright (c) .NET Foundation. All rights reserved.
<_ResolvedFileToPublishAlways Include="@(ResolvedFileToPublish)"
Condition="'%(ResolvedFileToPublish.CopyToPublishDirectory)'=='Always'" />
</ItemGroup>

<ItemGroup>

<_ResolvedUnbundledFileToPublishPreserveNewest
Include="@(_ResolvedFileToPublishPreserveNewest)"
Condition="'$(PublishSingleFile)' != 'true' or
'%(_ResolvedFileToPublishPreserveNewest.ExcludeFromSingleFile)'=='true'" />

<_ResolvedUnbundledFileToPublishAlways
Include="@(_ResolvedFileToPublishAlways)"
Condition="'$(PublishSingleFile)' != 'true' or
'%(_ResolvedFileToPublishAlways.ExcludeFromSingleFile)'=='true'" />
</ItemGroup>
</Target>

<!--
Expand Down Expand Up @@ -541,7 +555,7 @@ Copyright (c) .NET Foundation. All rights reserved.

<!-- Copy generated COM References. -->
<ResolvedFileToPublish Include="@(ReferenceComWrappersToCopyLocal)">
<RelativePath>@(ReferenceComWrappersToCopyLocal->'%(Filename)%(Extension)')</RelativePath>
<RelativePath>%(Filename)%(Extension)</RelativePath>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</ResolvedFileToPublish>

Expand Down Expand Up @@ -1112,11 +1126,11 @@ Copyright (c) .NET Foundation. All rights reserved.
============================================================
ComputeFilesCopiedToPublishDir

Gathers all the files that were copied to the publish directory. This is used by wapproj and is required for back compat.
Gathers all the files that will be copied to the publish directory. This is used by wapproj and is required for back compat.
============================================================
-->
<Target Name="ComputeFilesCopiedToPublishDir"
DependsOnTargets="ComputeResolvedFilesToPublishList;
DependsOnTargets="_ComputeResolvedFilesToPublishTypes;
_ComputeFilesToBundle">
<ItemGroup>
<FilesCopiedToPublishDir Include="@(ResolvedFileToPublish)"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public void It_does_not_print_the_first_time_use_notice_if_the_sentinel_exists()
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -72,7 +73,8 @@ public void It_prints_the_telemetry_if_the_sentinel_does_not_exist()
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -98,7 +100,8 @@ public void It_adds_the_tool_path_to_the_environment_if_the_tool_path_sentinel_d
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -124,7 +127,8 @@ public void It_does_not_add_the_tool_path_to_the_environment_if_the_tool_path_se
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -150,7 +154,8 @@ public void It_does_not_generate_the_aspnet_https_development_certificate_if_the
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -175,7 +180,8 @@ public void It_does_not_generate_the_aspnet_https_development_certificate_when_t
(
generateAspNetCertificate: false,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -200,7 +206,8 @@ public void It_generates_the_aspnet_https_development_certificate_if_the_sentine
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -224,7 +231,8 @@ public void It_adds_the_tool_path_to_the_environment_if_addGlobalToolsToPath_is_
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: true
addGlobalToolsToPath: true,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand All @@ -247,7 +255,8 @@ public void It_does_not_add_the_tool_path_to_the_environment_if_addGlobalToolsTo
(
generateAspNetCertificate: true,
telemetryOptout: false,
addGlobalToolsToPath: false
addGlobalToolsToPath: false,
nologo: false
),
_reporterMock.Object,
CliFallbackFolderPath,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,27 @@ private void ResetObjectState()
}

[Theory]
[InlineData(false, false, false, Never, FirstRun, FirstRun, true, true)]
[InlineData(true, false, false, FirstRun, FirstRun, FirstRun, true, true)]
[InlineData(false, true, false, Never, FirstRun, Never, false, false)]
[InlineData(true, true, false, FirstRun, FirstRun, Never, false, false)]
[InlineData(false, false, true, Never, SecondRun, SecondRun, true, true)]
[InlineData(true, false, true, SecondRun, SecondRun, SecondRun, true, true)]
[InlineData(false, true, true, Never, SecondRun, Never, false, false)]
[InlineData(true, true, true, SecondRun, SecondRun, Never, false, false)]
[InlineData(false, false, false, false, Never, FirstRun, FirstRun, true, true)]
[InlineData(true, false, false, false, FirstRun, FirstRun, FirstRun, true, true)]
[InlineData(false, true, false, false, Never, FirstRun, Never, false, false)]
[InlineData(true, true, false, false, FirstRun, FirstRun, Never, false, false)]
[InlineData(false, false, true, false, Never, Never, Never, true, true)]
[InlineData(true, false, true, false, FirstRun, Never, Never, true, true)]
[InlineData(false, true, true, false, Never, Never, Never, false, false)]
[InlineData(true, true, true, false, FirstRun, Never, Never, false, false)]
[InlineData(false, false, false, true, Never, SecondRun, SecondRun, true, true)]
[InlineData(true, false, false, true, SecondRun, SecondRun, SecondRun, true, true)]
[InlineData(false, true, false, true, Never, SecondRun, Never, false, false)]
[InlineData(true, true, false, true, SecondRun, SecondRun, Never, false, false)]
[InlineData(false, false, true, true, Never, Never, Never, true, true)]
[InlineData(true, false, true, true, SecondRun, Never, Never, true, true)]
[InlineData(false, true, true, true, Never, Never, Never, false, false)]
[InlineData(true, true, true, true, SecondRun, Never, Never, false, false)]
public void FlagsCombinationAndAction(
// Inputs
bool DOTNET_GENERATE_ASPNET_CERTIFICATE,
bool DOTNET_CLI_TELEMETRY_OPTOUT,
bool DOTNET_NOLOGO,
// true to simulate install via installer. The first run is during installer,
// silent but has sudo permission
// false to simulate install via zip/tar.gz
Expand All @@ -75,11 +84,14 @@ bool telemetrySecondRunShouldBeEnabled
ResetObjectState();

_environmentProvider
.Setup(p => p.GetEnvironmentVariableAsBool("DOTNET_GENERATE_ASPNET_CERTIFICATE", It.IsAny<bool>()))
.Returns(DOTNET_GENERATE_ASPNET_CERTIFICATE);
.Setup(p => p.GetEnvironmentVariableAsBool("DOTNET_GENERATE_ASPNET_CERTIFICATE", It.IsAny<bool>()))
.Returns(DOTNET_GENERATE_ASPNET_CERTIFICATE);
_environmentProvider
.Setup(p => p.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", It.IsAny<bool>()))
.Returns(DOTNET_CLI_TELEMETRY_OPTOUT);
_environmentProvider
.Setup(p => p.GetEnvironmentVariableAsBool("DOTNET_NOLOGO", It.IsAny<bool>()))
.Returns(DOTNET_NOLOGO);
_environmentProvider
.Setup(p => p.GetEnvironmentVariableAsBool("DOTNET_ADD_GLOBAL_TOOLS_TO_PATH", It.IsAny<bool>()))
.Returns(true);
Expand Down Expand Up @@ -206,6 +218,8 @@ private Telemetry RunConfigUsingMocks(bool isInstallerRun)
_environmentProviderObject.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", false);
bool addGlobalToolsToPath =
_environmentProviderObject.GetEnvironmentVariableAsBool("DOTNET_ADD_GLOBAL_TOOLS_TO_PATH", defaultValue: true);
bool nologo =
_environmentProviderObject.GetEnvironmentVariableAsBool("DOTNET_NOLOGO", defaultValue: false);

IAspNetCertificateSentinel aspNetCertificateSentinel;
IFirstTimeUseNoticeSentinel firstTimeUseNoticeSentinel;
Expand Down Expand Up @@ -233,7 +247,8 @@ private Telemetry RunConfigUsingMocks(bool isInstallerRun)
(
generateAspNetCertificate: generateAspNetCertificate,
telemetryOptout: telemetryOptout,
addGlobalToolsToPath: addGlobalToolsToPath
addGlobalToolsToPath: addGlobalToolsToPath,
nologo: nologo
),
reporter: _reporterMock,
cliFallbackFolderPath: CliFallbackFolderPath,
Expand Down
Loading