Skip to content

Commit 19aa9a3

Browse files
committed
Add nuget dependencies config file
1 parent 60e3305 commit 19aa9a3

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Dependencies/packages.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net461" />
4+
</packages>

appveyor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ deploy:
4141
platform: Any CPU
4242
appveyor_repo_tag: true # deploy on tag push only
4343

44+
cache:
45+
- packages -> **\packages.config
4446

4547
build:
4648
project: C:/projects/dependencies/Dependencies.sln
@@ -57,6 +59,9 @@ before_build:
5759
&secure-file/tools/secure-file -decrypt "C:/projects/dependencies/DependenciesAppx/DependenciesAppx_TemporaryKey.pfx.enc" -secret "$($env:certsecret)" -out "C:/projects/dependencies/DependenciesAppx/DependenciesAppx_TemporaryKey.pfx";
5860
}
5961
62+
# download all the necessary packages
63+
nuget restore
64+
6065
after_test:
6166
- ps: |
6267
if ( $($env:platform) -eq "Any CPU") {

0 commit comments

Comments
 (0)