Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
02202c4
Fix #4139 - escape quoted strings for process start
Mar 8, 2018
30caede
Fix list tool command tests to be localizable.
Mar 15, 2018
6edbaea
Merge pull request #8807 from peterhuene/fix-list-tool-command-tests
Mar 16, 2018
04ba0c9
Better using facing string (#8809)
Mar 17, 2018
d3244e8
Ensure tool package store root is a full path.
Mar 17, 2018
95c0359
Implement the --tool-path option for the list tool command.
Mar 16, 2018
ec3bdf6
Merge pull request #8830 from peterhuene/list-tool-path
Mar 19, 2018
f6bd006
Merge pull request #8827 from dotnet/merges/release/2.1.3xx-to-master
johnbeisner Mar 19, 2018
c5e58ee
Updating the CLI branding to 2.1.300-preview3.
livarcocc Mar 19, 2018
6eea994
Merge pull request #8843 from livarcocc/update_branding
Mar 19, 2018
f033eac
LOC CHECKIN | cli master | 20180315
v-zbsail Mar 15, 2018
b5510ae
Update translations following merge with conflicts.
Mar 19, 2018
4343118
Merge pull request #8753 from natemcmaster/master
Mar 19, 2018
0bd5241
Merge pull request #8799 from v-zbsail/loc_20180312_master
tmeschter Mar 20, 2018
48605d1
Merge branch 'master' into merges/release/2.1.3xx-to-master
Mar 20, 2018
f44b0e2
Merge pull request #8850 from dotnet/merges/release/2.1.3xx-to-master
johnbeisner Mar 22, 2018
6b15f12
Update Roslyn to 2.8.0-beta3-62722-05
Mar 22, 2018
47d0f50
Merge pull request #8878 from dotnet/update_roslyn
Mar 23, 2018
1129267
Merge branch 'release/2.1.3xx' into master
Mar 23, 2018
d0780d8
Merge pull request #8882 from dotnet/merges/release/2.1.3xx-to-master
Mar 23, 2018
c551b88
added in use info to the --version option
mairaw Mar 27, 2018
9b5a41f
updated xliff files
mairaw Mar 27, 2018
04b3ff3
add xliff scenario
mairaw Mar 27, 2018
538df12
Merge pull request #8913 from mairaw/xliff
Mar 27, 2018
f72e692
Merge pull request #8897 from dotnet/merges/release/2.1.3xx-to-master
Mar 28, 2018
423010b
Merge pull request #8906 from mairaw/sdk-help
Mar 29, 2018
2e9c0b7
Add CLI docs build tools
Mar 30, 2018
b828418
Update dotnet manpages for Unix
Mar 30, 2018
ee24d81
Add readme for tool and make script generic
Mar 30, 2018
f807388
Fix example in readme
Mar 30, 2018
40cbb71
Add a note on older version of pandoc
Mar 30, 2018
6b24092
Merge pull request #8938 from kasper3/master
nguerrera Mar 30, 2018
7c37c9a
Changing the /m /v:m default parameters to msbuild to -m and -v:m to …
livarcocc Apr 2, 2018
1028950
Replacing all implicit msbuild parameters from using a forward slash …
livarcocc Apr 2, 2018
b1fca8c
Replacing the short form version of implicit msbuild parameters with …
livarcocc Apr 2, 2018
4883d96
Merge pull request #8969 from livarcocc/change_msbuild_default_parame…
Apr 3, 2018
0181c67
Fix validation of tool-path option for tool list and uninstall commands.
Apr 3, 2018
bcbfd02
Update CoreSetup, CoreSetup, CoreSetup, Roslyn to preview3-26404-01, …
dotnet-maestro-bot Apr 4, 2018
a7bfaac
Merge branch 'master' into merges/release/2.1.3xx-to-master
Apr 4, 2018
f496a9b
Updating windows msi code to use variables for the SDK and Runtime br…
livarcocc Apr 4, 2018
ed98e00
Merge pull request #8901 from dotnet-maestro-bot/master-UpdateDepende…
eerhardt Apr 4, 2018
5e8c807
Merge pull request #8980 from peterhuene/tool-path-validation
Apr 4, 2018
ffc1d28
Update Roslyn to beta4-62804-05
dotnet-maestro-bot Apr 4, 2018
1fc07e5
Fix build warning about duplicate msbuild import
nguerrera Apr 4, 2018
1e2e813
Merge pull request #8992 from dotnet-maestro-bot/master-UpdateDepende…
Apr 4, 2018
ed35c63
[Arm64] Enable arm64 cli builds
sdmaclea Mar 25, 2018
b6174af
Implement `dotnet publish --no-build`
nguerrera Apr 4, 2018
2d3b35f
Merge pull request #8993 from nguerrera/fix-build-warning
nguerrera Apr 4, 2018
b09b6bf
Generating the conclusion.html files dynamically so that we don't nee…
livarcocc Apr 5, 2018
d26719d
Modifying branding.props to no longer have the version there manually…
livarcocc Apr 5, 2018
4c948fe
Merge branch 'master' into merges/release/2.1.3xx-to-master
Apr 5, 2018
9706863
Disabling msbuild node reuse for CLI full build.
livarcocc Apr 3, 2018
921c384
Update CoreSetup, CoreSetup, CoreSetup, Roslyn to preview3-26405-02, …
dotnet-maestro-bot Apr 5, 2018
c3a1fec
Merge pull request #9001 from livarcocc/automatic_build_numbers_insta…
Apr 5, 2018
94a69a9
Merge pull request #8933 from dotnet/merges/release/2.1.3xx-to-master
Apr 5, 2018
d8eed79
Merge branch 'master' into master-UpdateDependencies
Apr 5, 2018
42e0aff
Tweak --no-build messages based on PR feedback
nguerrera Apr 5, 2018
60e7985
Add test cases per PR feedback
nguerrera Apr 6, 2018
4956bfe
Merge pull request #8996 from nguerrera/publish-no-build
nguerrera Apr 6, 2018
a6cf823
Merge pull request #9000 from dotnet-maestro-bot/master-UpdateDepende…
eerhardt Apr 6, 2018
7cb7535
Merge branch 'master' into merges/release/2.1.3xx-to-master
Apr 6, 2018
b9f50a0
Merge pull request #8896 from sdmaclea/PR-ARM64-CI-Official
Apr 6, 2018
2b2d9c2
Merge pull request #8987 from livarcocc/disable_msbuild_node_reuse
Apr 6, 2018
900e11c
Revert links on Readme to master
Apr 6, 2018
936cc73
Update CoreSetup, CoreSetup, CoreSetup, Roslyn to preview3-26406-06, …
dotnet-maestro-bot Apr 6, 2018
cbd6434
Adapt to no config file Apphost shim
Apr 3, 2018
56c10f6
Merge pull request #9012 from dotnet/merges/release/2.1.3xx-to-master
Apr 6, 2018
2f01bb4
Add TryGetMostFitRuntimeIdentifier (#8997)
Apr 7, 2018
5cdfca4
LOC CHECKIN | dotnet/cli master | 20180409
v-zbsail Apr 9, 2018
47bda58
Merge branch 'master' into master-UpdateDependencies
eerhardt Apr 9, 2018
fbd5154
Fix merge to only update core-setup and Roslyn versions.
eerhardt Apr 9, 2018
646f612
Merge pull request #9015 from dotnet-maestro-bot/master-UpdateDepende…
Apr 9, 2018
82a85aa
Updating the dev-certs message displayed in the first run experience.
livarcocc Apr 9, 2018
f1fe113
Merge pull request #9024 from livarcocc/update_dev_certs_message
Apr 9, 2018
23f2d27
Fixing typos...
Apr 9, 2018
98a1ee6
Merge pull request #9031 from johnbeisner/RPMTargetsFix
johnbeisner Apr 10, 2018
b0ee5db
consume bring your own shim(byos) (#9018)
Apr 10, 2018
11eace0
Merge branch 'master' into merges/release/2.1.3xx-to-master
johnbeisner Apr 11, 2018
98e8857
Update coresetup, coresetup, coresetup, roslyn to preview3-26411-06, …
dotnet-maestro-bot Apr 11, 2018
3356157
Merge pull request #9044 from dotnet-maestro-bot/master-UpdateDepende…
Apr 11, 2018
7cd9176
Merge branch 'master' into merges/release/2.1.3xx-to-master
Apr 11, 2018
07a15f9
Terminate the 'StartsWith' string in the badge existence check. (#9049)
johnbeisner Apr 11, 2018
a86d529
Insert NuGet Build 4.7.0-rtm.5081 into cli
nugetlurker Apr 10, 2018
ea90e58
Trim back the 'unnecessary' nuget feeds.
Apr 11, 2018
3d7ff40
Add back 'Roslyn' feed for: Microsoft.NETCore.Compilers 2.8.0-beta4-6…
Apr 11, 2018
7f2554c
Slight re-ordering...
Apr 11, 2018
0ea6fda
Merge pull request #9047 from dotnet/merges/release/2.1.3xx-to-master
johnbeisner Apr 11, 2018
c12e472
Merge remote-tracking branch 'upstream/master' into NugetFeeds
Apr 11, 2018
c01e4f0
Merge pull request #9053 from dsplaisted/update-nuget
dsplaisted Apr 11, 2018
c2713b4
Merge pull request #9020 from v-zbsail/loc_20180403_master
nguerrera Apr 12, 2018
93928eb
Merge remote-tracking branch 'upstream/master' into NugetFeeds
Apr 13, 2018
da0ac9a
Add back 'nuget-build' feed for: NuGet.Versioning 4.7.0-rtm.5081
Apr 13, 2018
3002958
Merge pull request #9059 from dotnet/merges/release/2.1.3xx-to-master
johnbeisner Apr 13, 2018
6f1f2b1
Merge pull request #9054 from johnbeisner/NugetFeeds
johnbeisner Apr 13, 2018
d6c0890
Merge branch 'master' into merge_master_into_3xx
livarcocc Apr 16, 2018
aa87769
Reverting the changes to README.md so that it keeps pointing to relea…
livarcocc Apr 16, 2018
617551d
Update latest patch versions of .NET Core runtime
dsplaisted Apr 17, 2018
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
  •  
  •  
  •  
90 changes: 90 additions & 0 deletions Documentation/manpages/sdk/dotnet-add-package.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
.\" Automatically generated by Pandoc 2.1.3
.\"
.TH "dotnet add package command \- .NET Core CLI" "1" "" "" ".NET Core"
.hy
.SH dotnet add package
.PP
.SH NAME
.PP
\f[C]dotnet\ add\ package\f[] \- Adds a package reference to a project file.
.SH SYNOPSIS
.PP
\f[C]dotnet\ add\ [<PROJECT>]\ package\ <PACKAGE_NAME>\ [\-h|\-\-help]\ [\-v|\-\-version]\ [\-f|\-\-framework]\ [\-n|\-\-no\-restore]\ [\-s|\-\-source]\ [\-\-package\-directory]\f[]
.SH DESCRIPTION
.PP
The \f[C]dotnet\ add\ package\f[] command provides a convenient option to add a package reference to a project file.
After running the command, there's a compatibility check to ensure the package is compatible with the frameworks in the project.
If the check passes, a \f[C]<PackageReference>\f[] element is added to the project file and dotnet restore is run.
.PP
.PP
For example, adding \f[C]Newtonsoft.Json\f[] to \f[I]ToDo.csproj\f[] produces output similar to the following example:
.IP
.nf
\f[C]
\ \ Writing\ C:\\Users\\mairaw\\AppData\\Local\\Temp\\tmp95A8.tmp
info\ :\ Adding\ PackageReference\ for\ package\ \[aq]Newtonsoft.Json\[aq]\ into\ project\ \[aq]C:\\projects\\ToDo\\ToDo.csproj\[aq].
log\ \ :\ Restoring\ packages\ for\ C:\\projects\\ToDo\\ToDo.csproj...
info\ :\ \ \ GET\ https://api.nuget.org/v3\-flatcontainer/newtonsoft.json/index.json
info\ :\ \ \ OK\ https://api.nuget.org/v3\-flatcontainer/newtonsoft.json/index.json\ 235ms
info\ :\ Package\ \[aq]Newtonsoft.Json\[aq]\ is\ compatible\ with\ all\ the\ specified\ frameworks\ in\ project\ \[aq]C:\\projects\\ToDo\\ToDo.csproj\[aq].
info\ :\ PackageReference\ for\ package\ \[aq]Newtonsoft.Json\[aq]\ version\ \[aq]10.0.3\[aq]\ added\ to\ file\ \[aq]C:\\projects\\ToDo\\ToDo.csproj\[aq].
\f[]
.fi
.PP
The \f[I]ToDo.csproj\f[] file now contains a \f[C]<PackageReference>\f[] element for the referenced package.
.IP
.nf
\f[C]
<PackageReference\ Include="Newtonsoft.Json"\ Version="9.0.1"\ />
\f[]
.fi
.SS Arguments
.PP
\f[C]PROJECT\f[]
.PP
Specifies the project file.
If not specified, the command searches the current directory for one.
.PP
\f[C]PACKAGE_NAME\f[]
.PP
The package reference to add.
.SH OPTIONS
.PP
\f[C]\-h|\-\-help\f[]
.PP
Prints out a short help for the command.
.PP
\f[C]\-v|\-\-version\ <VERSION>\f[]
.PP
Version of the package.
.PP
\f[C]\-f|\-\-framework\ <FRAMEWORK>\f[]
.PP
Adds a package reference only when targeting a specific framework.
.PP
\f[C]\-n|\-\-no\-restore\f[]
.PP
Adds a package reference without performing a restore preview and compatibility check.
.PP
\f[C]\-s|\-\-source\ <SOURCE>\f[]
.PP
Uses a specific NuGet package source during the restore operation.
.PP
\f[C]\-\-package\-directory\ <PACKAGE_DIRECTORY>\f[]
.PP
Restores the package to the specified directory.
.SH EXAMPLES
.PP
Add \f[C]Newtonsoft.Json\f[] NuGet package to a project:
.PP
\f[C]dotnet\ add\ package\ Newtonsoft.Json\f[]
.PP
Add a specific version of a package to a project:
.PP
\f[C]dotnet\ add\ ToDo.csproj\ package\ Microsoft.Azure.DocumentDB.Core\ \-v\ 1.0.0\f[]
.PP
Add a package using a specific NuGet source:
.PP
\f[C]dotnet\ add\ package\ Microsoft.AspNetCore.StaticFiles\ \-s\ https://dotnet.myget.org/F/dotnet\-core/api/v3/index.json\f[]
.SH AUTHORS
mairaw.
62 changes: 62 additions & 0 deletions Documentation/manpages/sdk/dotnet-add-reference.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
.\" Automatically generated by Pandoc 2.1.3
.\"
.TH "dotnet\-add reference command \- .NET Core CLI" "1" "" "" ".NET Core"
.hy
.SH dotnet\-add reference
.PP
.SH NAME
.PP
\f[C]dotnet\ add\ reference\f[] \- Adds project\-to\-project (P2P) references.
.SH SYNOPSIS
.PP
\f[C]dotnet\ add\ [<PROJECT>]\ reference\ [\-f|\-\-framework]\ <PROJECT_REFERENCES>\ [\-h|\-\-help]\f[]
.SH DESCRIPTION
.PP
The \f[C]dotnet\ add\ reference\f[] command provides a convenient option to add project references to a project.
After running the command, the \f[C]<ProjectReference>\f[] elements are added to the project file.
.IP
.nf
\f[C]
<ItemGroup>
\ \ <ProjectReference\ Include="app.csproj"\ />
\ \ <ProjectReference\ Include="..\\lib2\\lib2.csproj"\ />
\ \ <ProjectReference\ Include="..\\lib1\\lib1.csproj"\ />
</ItemGroup>
\f[]
.fi
.SS Arguments
.PP
\f[C]PROJECT\f[]
.PP
Specifies the project file.
If not specified, the command searches the current directory for one.
.PP
\f[C]PROJECT_REFERENCES\f[]
.PP
Project\-to\-project (P2P) references to add.
Specify one or more projects.
Glob patterns are supported on Unix/Linux\-based systems.
.SH OPTIONS
.PP
\f[C]\-h|\-\-help\f[]
.PP
Prints out a short help for the command.
.PP
\f[C]\-f|\-\-framework\ <FRAMEWORK>\f[]
.PP
Adds project references only when targeting a specific framework.
.SH EXAMPLES
.PP
Add a project reference:
.PP
\f[C]dotnet\ add\ app/app.csproj\ reference\ lib/lib.csproj\f[]
.PP
Add multiple project references to the project in the current directory:
.PP
\f[C]dotnet\ add\ reference\ lib1/lib1.csproj\ lib2/lib2.csproj\f[]
.PP
Add multiple project references using a globbing pattern on Linux/Unix:
.PP
\f[C]dotnet\ add\ app/app.csproj\ reference\ **/*.csproj\f[]
.SH AUTHORS
mairaw.
Loading