File tree Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Expand file tree Collapse file tree 1 file changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -49,34 +49,31 @@ You can also build the SDK or create local nuget package from source code direct
4949### Basic Setup
5050
51511 . Prerequisites:
52- - Visual Studio 2013 or above.
53- - Python 2.7 or above.
54- - Sandcastle Help File Builder installed (https://github.com/EWSoftware/SHFB/releases ).
52+ - Visual Studio 2013 or above.
53+ - Python 2.7 or above.
54+ - [ Optional ] Sandcastle Help File Builder installed (https://github.com/EWSoftware/SHFB/releases ). This is only required for doc generation .
5555
56- 2 . Run `` git submodule init `` followed by a
57- `` git submodule update `` to pull in the `` spec `` and `` stone `` sub repos.
58-
59- 4 . Install stone and its dependencies by running.
56+ 2 . Clone the repository and update submodules.
57+ ```
58+ git clone https://github.com/dropbox/dropbox-sdk-dotnet.git
59+ cd dropbox-sdk-dotnet
60+ git submodule init
61+ git submodule update # also do this after every "git checkout" and "git pull"
62+ ```
63+ 3 . Install stone and its dependencies by running
6064 ```
6165 cd stone
6266 python setup.py install
6367 ```
6468
6569### Generate latest source code
66- 1 . Update spec folder to the desired commit. To update to
67- the latest, simply use:
68- ```
69- git submodule update
70- cd spec
71- git pull
72- ```
7370
74- 2 . Run ` generate.py ` script to generatedi class for latest data types.
71+ 1 . Inside ` dropbox-sdk-dotnet ` repo, run ` generate.py ` script to generate class for latest data types. This will also generate all csproj files .
7572 ```
7673 python generate.py
7774 ```
7875
79- 3 . Open up the ` Dropbox.Api.sln ` in Visual Studio and run
76+ 2 . Open up the ` Dropbox.Api.sln ` in Visual Studio and run
8077 the included examples as a sanity check.
8178
8279### Create nuget package (This needs to be done on Windows)
You can’t perform that action at this time.
0 commit comments