-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.txt
29 lines (19 loc) · 1.01 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Commands for the demos
subst x: C:\conferences\dep-conf-demo\DependencyConfusionDemo
cd x:\CorporateApp
NuGet.exe verify -signatures X:\demo4\sonaranalyzer.csharp.8.44.0.52574.nupkg
BEFORE EACH:
nuget locals all -clear
dotnet restore -verbosity:n .\Corporate.Private.App.HybridConfig.csproj
dotnet restore -verbosity:n .\Corporate.Private.App.HybridConfig.csproj | select-string Installed
dotnet build -verbosity:n .\Corporate.Private.App.HybridConfig.csproj
__
IF OFFLINE, just copy
<add key="NuGet.org" value="X:/offline/nuget.org" />
instead of the public URL.
__
Check in %AppData%\NuGet\NuGet.Config
<repository name="nugettest.org" serviceIndex="https://apiint.nugettest.org/v3/index.json">
<certificate fingerprint="CF6CE6768EF858A3A667BE1AF8AA524D386C7F59A34542713F5DFB0D79ACF3DD" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
<certificate fingerprint="BA5A630994B2B8F562B307A2A3245998232EF0A94EE80BECE5CEA0B5CECA61F9" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
</repository>