-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdotnet-build-notes.txt
More file actions
36 lines (31 loc) · 909 Bytes
/
dotnet-build-notes.txt
File metadata and controls
36 lines (31 loc) · 909 Bytes
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
30
31
32
33
34
35
36
#
dotnet publish -c release -f netstandard1.6
#publish a release configuration.
dotnet publish -c release
#make nuget package
dotnet pack -c release;
cp -R ~/git-coranos/<dir>/<dir>/bin/Release/ ~/local-nuget/<dir>;
#nuget config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="local nuget" value="~/local-nuget" />
</packageSources>
</configuration>
#fully rebuild neo
rm -r ~/.nuget/packages;
rm -r ~/local-nuget/neo-vm;
rm -r ~/local-nuget/neo;
cd ~/git-coranos/neo-vm;
rm -r neo-vm/bin;
rm -r neo-vm/obj;
dotnet restore;
dotnet pack -c release;
cp -R ~/git-coranos/neo-vm/neo-vm/bin/Release/ ~/local-nuget/neo-vm;
cd ~/git-coranos/neo;
rm -r neo/bin;
rm -r neo/obj;
dotnet restore;
dotnet pack -c release;
cp -R ~/git-coranos/neo/neo/bin/Release/ ~/local-nuget/neo;