Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Commit 968b700

Browse files
authored
Publish a nuget package of the model (#22)
* Created nuget Package for the models assembly. * Version info moved to common GlobalAssemblyInfo.cs. * Incuded MSBuild response file * Generate binlog * Quite nuget output * Only publish to the project feed. * Do publish symbols * Deploys to nuget * Added a readme to the models folder with badges. * Got latest .gitignore from gitignore.io.
2 parents c51ada8 + 3b1aa62 commit 968b700

File tree

13 files changed

+289
-116
lines changed

13 files changed

+289
-116
lines changed

.gitignore

Lines changed: 190 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,52 @@
1-
# User-specific stuff:
2-
.idea/**/workspace.xml
3-
.idea/**/tasks.xml
4-
.idea/dictionaries
1+
# Created by https://www.gitignore.io/api/visualstudio
2+
# Edit at https://www.gitignore.io/?templates=visualstudio
53

4+
### VisualStudio ###
65
## Ignore Visual Studio temporary files, build results, and
76
## files generated by popular Visual Studio add-ons.
7+
##
8+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
89

910
# User-specific files
11+
*.rsuser
1012
*.suo
1113
*.user
14+
*.userosscache
1215
*.sln.docstates
13-
.vs/
16+
17+
# User-specific files (MonoDevelop/Xamarin Studio)
18+
*.userprefs
19+
20+
# Mono auto generated files
21+
mono_crash.*
1422

1523
# Build results
1624
[Dd]ebug/
1725
[Dd]ebugPublic/
1826
[Rr]elease/
27+
[Rr]eleases/
1928
x64/
20-
build/
29+
x86/
30+
[Aa][Rr][Mm]/
31+
[Aa][Rr][Mm]64/
2132
bld/
2233
[Bb]in/
2334
[Oo]bj/
35+
[Ll]og/
2436

2537
# Visual Studio 2015/2017 cache/options directory
2638
.vs/
39+
# Uncomment if you have tasks that create the project's static files in wwwroot
40+
#wwwroot/
2741

28-
# Roslyn cache directories
29-
*.ide/
42+
# Visual Studio 2017 auto generated files
43+
Generated\ Files/
3044

3145
# MSTest test Results
3246
[Tt]est[Rr]esult*/
3347
[Bb]uild[Ll]og.*
3448

35-
#NUNIT
49+
# NUNIT
3650
*.VisualState.xml
3751
TestResult.xml
3852

@@ -41,14 +55,28 @@ TestResult.xml
4155
[Rr]eleasePS/
4256
dlldata.c
4357

58+
# Benchmark Results
59+
BenchmarkDotNet.Artifacts/
60+
61+
# .NET Core
62+
project.lock.json
63+
project.fragment.lock.json
64+
artifacts/
65+
66+
# StyleCop
67+
StyleCopReport.xml
68+
69+
# Files built by Visual Studio
4470
*_i.c
4571
*_p.c
46-
*_i.h
72+
*_h.h
4773
*.ilk
4874
*.meta
4975
*.obj
76+
*.iobj
5077
*.pch
5178
*.pdb
79+
*.ipdb
5280
*.pgc
5381
*.pgd
5482
*.rsp
@@ -58,6 +86,7 @@ dlldata.c
5886
*.tlh
5987
*.tmp
6088
*.tmp_proj
89+
*_wpftmp.csproj
6190
*.log
6291
*.vspscc
6392
*.vssscc
@@ -73,14 +102,21 @@ _Chutzpah*
73102
ipch/
74103
*.aps
75104
*.ncb
105+
*.opendb
76106
*.opensdf
77107
*.sdf
78108
*.cachefile
109+
*.VC.db
110+
*.VC.VC.opendb
79111

80112
# Visual Studio profiler
81113
*.psess
82114
*.vsp
83115
*.vspx
116+
*.sap
117+
118+
# Visual Studio Trace Files
119+
*.e2e
84120

85121
# TFS 2012 Local Workspace
86122
$tf/
@@ -93,7 +129,7 @@ _ReSharper*/
93129
*.[Rr]e[Ss]harper
94130
*.DotSettings.user
95131

96-
# JustCode is a .NET coding addin-in
132+
# JustCode is a .NET coding add-in
97133
.JustCode
98134

99135
# TeamCity is a build add-in
@@ -102,9 +138,18 @@ _TeamCity*
102138
# DotCover is a Code Coverage Tool
103139
*.dotCover
104140

141+
# AxoCover is a Code Coverage Tool
142+
.axoCover/*
143+
!.axoCover/settings.json
144+
145+
# Visual Studio code coverage results
146+
*.coverage
147+
*.coveragexml
148+
105149
# NCrunch
106150
_NCrunch_*
107151
.*crunch*.local.xml
152+
nCrunchTemp_*
108153

109154
# MightyMoose
110155
*.mm.*
@@ -132,42 +177,69 @@ publish/
132177
# Publish Web Output
133178
*.[Pp]ublish.xml
134179
*.azurePubxml
135-
## TODO: Comment the next line if you want to checkin your
136-
## web deploy settings but do note that will include unencrypted
137-
## passwords
138-
#*.pubxml
139-
140-
# NuGet Packages Directory
141-
packages/*
142-
## TODO: If the tool you use requires repositories.config
143-
## uncomment the next line
144-
#!packages/repositories.config
145-
146-
# Enable "build/" folder in the NuGet Packages folder since
147-
# NuGet packages use it for MSBuild targets.
148-
# This line needs to be after the ignore of the build folder
149-
# (and the packages folder if the line above has been uncommented)
150-
!packages/build/
151-
152-
# Windows Azure Build Output
180+
# Note: Comment the next line if you want to checkin your web deploy settings,
181+
# but database connection strings (with potential passwords) will be unencrypted
182+
*.pubxml
183+
*.publishproj
184+
185+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
186+
# checkin your Azure Web App publish settings, but sensitive information contained
187+
# in these scripts will be unencrypted
188+
PublishScripts/
189+
190+
# NuGet Packages
191+
*.nupkg
192+
# The packages folder can be ignored because of Package Restore
193+
**/[Pp]ackages/*
194+
# except build/, which is used as an MSBuild target.
195+
!**/[Pp]ackages/build/
196+
# Uncomment if necessary however generally it will be regenerated when needed
197+
#!**/[Pp]ackages/repositories.config
198+
# NuGet v3's project.json files produces more ignorable files
199+
*.nuget.props
200+
*.nuget.targets
201+
202+
# Microsoft Azure Build Output
153203
csx/
154204
*.build.csdef
155205

156-
# Windows Store app package directory
206+
# Microsoft Azure Emulator
207+
ecf/
208+
rcf/
209+
210+
# Windows Store app package directories and files
157211
AppPackages/
212+
BundleArtifacts/
213+
Package.StoreAssociation.xml
214+
_pkginfo.txt
215+
*.appx
216+
*.appxbundle
217+
*.appxupload
218+
219+
# Visual Studio cache files
220+
# files ending in .cache can be ignored
221+
*.[Cc]ache
222+
# but keep track of directories ending in .cache
223+
!?*.[Cc]ache/
158224

159225
# Others
160-
sql/
161-
*.Cache
162226
ClientBin/
163-
[Ss]tyle[Cc]op.*
164227
~$*
165228
*~
166229
*.dbmdl
167230
*.dbproj.schemaview
231+
*.jfm
168232
*.pfx
169233
*.publishsettings
170-
node_modules/
234+
orleans.codegen.cs
235+
236+
# Including strong name files can present a security risk
237+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
238+
#*.snk
239+
240+
# Since there are multiple workflows, uncomment next line to ignore bower_components
241+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
242+
#bower_components/
171243

172244
# RIA/Silverlight projects
173245
Generated_Code/
@@ -179,23 +251,103 @@ _UpgradeReport_Files/
179251
Backup*/
180252
UpgradeLog*.XML
181253
UpgradeLog*.htm
254+
ServiceFabricBackup/
255+
*.rptproj.bak
182256

183257
# SQL Server files
184258
*.mdf
185259
*.ldf
260+
*.ndf
186261

187262
# Business Intelligence projects
188263
*.rdl.data
189264
*.bim.layout
190265
*.bim_*.settings
266+
*.rptproj.rsuser
267+
*- Backup*.rdl
191268

192269
# Microsoft Fakes
193270
FakesAssemblies/
194271

195-
# LightSwitch generated files
196-
GeneratedArtifacts/
197-
_Pvt_Extensions/
198-
ModelManifest.xml
272+
# GhostDoc plugin setting file
273+
*.GhostDoc.xml
274+
275+
# Node.js Tools for Visual Studio
276+
.ntvs_analysis.dat
277+
node_modules/
278+
279+
# Visual Studio 6 build log
280+
*.plg
281+
282+
# Visual Studio 6 workspace options file
283+
*.opt
284+
285+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
286+
*.vbw
287+
288+
# Visual Studio LightSwitch build output
289+
**/*.HTMLClient/GeneratedArtifacts
290+
**/*.DesktopClient/GeneratedArtifacts
291+
**/*.DesktopClient/ModelManifest.xml
292+
**/*.Server/GeneratedArtifacts
293+
**/*.Server/ModelManifest.xml
294+
_Pvt_Extensions
295+
296+
# Paket dependency manager
297+
.paket/paket.exe
298+
paket-files/
299+
300+
# FAKE - F# Make
301+
.fake/
302+
303+
# CodeRush personal settings
304+
.cr/personal
305+
306+
# Python Tools for Visual Studio (PTVS)
307+
__pycache__/
308+
*.pyc
309+
310+
# Cake - Uncomment if you are using it
311+
# tools/**
312+
# !tools/packages.config
313+
314+
# Tabs Studio
315+
*.tss
316+
317+
# Telerik's JustMock configuration file
318+
*.jmconfig
319+
320+
# BizTalk build output
321+
*.btp.cs
322+
*.btm.cs
323+
*.odx.cs
324+
*.xsd.cs
325+
326+
# OpenCover UI analysis results
327+
OpenCover/
328+
329+
# Azure Stream Analytics local run output
330+
ASALocalRun/
331+
332+
# MSBuild Binary and Structured Log
333+
*.binlog
334+
335+
# NVidia Nsight GPU debugger configuration file
336+
*.nvuser
337+
338+
# MFractors (Xamarin productivity tool) working folder
339+
.mfractor/
340+
341+
# Local History for Visual Studio
342+
.localhistory/
343+
344+
# BeatPulse healthcheck temp database
345+
healthchecksdb
346+
347+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
348+
MigrationBackup/
349+
350+
# End of https://www.gitignore.io/api/visualstudio
199351

200352
#Docker stuff
201353
volumes/

AlwaysEncryptedSample.Models/AlwaysEncryptedSample.Models.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@
111111
<Compile Include="IdentityModels.cs" />
112112
<Compile Include="ManageViewModels.cs" />
113113
<Compile Include="Properties\AssemblyInfo.cs" />
114+
<Compile Include="..\GlobalAssemblyInfo.cs">
115+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
116+
</Compile>
114117
<Compile Include="Properties\Resources.Designer.cs">
115118
<AutoGen>True</AutoGen>
116119
<DesignTime>True</DesignTime>
@@ -123,6 +126,7 @@
123126
</Compile>
124127
</ItemGroup>
125128
<ItemGroup>
129+
<None Include="AlwaysEncryptedSample.Models.nuspec" />
126130
<None Include="app.config" />
127131
<None Include="packages.config">
128132
<SubType>Designer</SubType>
@@ -131,6 +135,7 @@
131135
<Generator>SettingsSingleFileGenerator</Generator>
132136
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
133137
</None>
138+
<None Include="Readme.md" />
134139
</ItemGroup>
135140
<ItemGroup>
136141
<EmbeddedResource Include="Properties\Resources.resx">

0 commit comments

Comments
 (0)