73
73
<Reference Include =" CommonServiceLocator, Version=2.0.3.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL" >
74
74
<HintPath >..\packages\CommonServiceLocator.2.0.3\lib\net47\CommonServiceLocator.dll</HintPath >
75
75
</Reference >
76
+ <Reference Include =" DeltaCompressionDotNet, Version=1.1.0.0, Culture=neutral, PublicKeyToken=1d14d6e5194e7f4a, processorArchitecture=MSIL" >
77
+ <HintPath >..\packages\DeltaCompressionDotNet.1.1.0\lib\net20\DeltaCompressionDotNet.dll</HintPath >
78
+ </Reference >
79
+ <Reference Include =" DeltaCompressionDotNet.MsDelta, Version=1.1.0.0, Culture=neutral, PublicKeyToken=46b2138a390abf55, processorArchitecture=MSIL" >
80
+ <HintPath >..\packages\DeltaCompressionDotNet.1.1.0\lib\net20\DeltaCompressionDotNet.MsDelta.dll</HintPath >
81
+ </Reference >
82
+ <Reference Include =" DeltaCompressionDotNet.PatchApi, Version=1.1.0.0, Culture=neutral, PublicKeyToken=3e8888ee913ed789, processorArchitecture=MSIL" >
83
+ <HintPath >..\packages\DeltaCompressionDotNet.1.1.0\lib\net20\DeltaCompressionDotNet.PatchApi.dll</HintPath >
84
+ </Reference >
76
85
<Reference Include =" GalaSoft.MvvmLight, Version=5.4.1.0, Culture=neutral, PublicKeyToken=e7570ab207bcb616, processorArchitecture=MSIL" >
77
86
<HintPath >..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.dll</HintPath >
78
87
</Reference >
109
118
<Reference Include =" Microsoft.ApplicationInsights.NLogTarget, Version=2.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" >
110
119
<HintPath >..\packages\Microsoft.ApplicationInsights.NLogTarget.2.5.0\lib\net45\Microsoft.ApplicationInsights.NLogTarget.dll</HintPath >
111
120
</Reference >
121
+ <Reference Include =" Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
122
+ <HintPath >..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.dll</HintPath >
123
+ </Reference >
124
+ <Reference Include =" Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
125
+ <HintPath >..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Mdb.dll</HintPath >
126
+ </Reference >
127
+ <Reference Include =" Mono.Cecil.Pdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
128
+ <HintPath >..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Pdb.dll</HintPath >
129
+ </Reference >
130
+ <Reference Include =" Mono.Cecil.Rocks, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL" >
131
+ <HintPath >..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Rocks.dll</HintPath >
132
+ </Reference >
112
133
<Reference Include =" Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" >
113
134
<HintPath >..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath >
114
135
</Reference >
124
145
<Reference Include =" NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL" >
125
146
<HintPath >..\packages\NLog.4.5.2\lib\net45\NLog.dll</HintPath >
126
147
</Reference >
148
+ <Reference Include =" NuGet.Squirrel, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL" >
149
+ <HintPath >..\packages\squirrel.windows.1.7.9\lib\Net45\NuGet.Squirrel.dll</HintPath >
150
+ </Reference >
127
151
<Reference Include =" Polly, Version=5.9.0.0, Culture=neutral, processorArchitecture=MSIL" >
128
152
<HintPath >..\packages\Polly.5.9.0\lib\net45\Polly.dll</HintPath >
129
153
</Reference >
132
156
<Reference Include =" Semver, Version=2.0.4.0, Culture=neutral, processorArchitecture=MSIL" >
133
157
<HintPath >..\packages\Semver.2.0.4\lib\net452\Semver.dll</HintPath >
134
158
</Reference >
159
+ <Reference Include =" SharpCompress, Version=0.17.1.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL" >
160
+ <HintPath >..\packages\SharpCompress.0.17.1\lib\net45\SharpCompress.dll</HintPath >
161
+ </Reference >
135
162
<Reference Include =" SharpDX, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL" >
136
163
<HintPath >..\packages\SharpDX.4.0.1\lib\net45\SharpDX.dll</HintPath >
137
164
</Reference >
141
168
<Reference Include =" SharpDX.DXGI, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL" >
142
169
<HintPath >..\packages\SharpDX.DXGI.4.0.1\lib\net45\SharpDX.DXGI.dll</HintPath >
143
170
</Reference >
171
+ <Reference Include =" Splat, Version=1.6.2.0, Culture=neutral, processorArchitecture=MSIL" >
172
+ <HintPath >..\packages\Splat.1.6.2\lib\Net45\Splat.dll</HintPath >
173
+ </Reference >
174
+ <Reference Include =" Squirrel, Version=1.7.9.0, Culture=neutral, processorArchitecture=MSIL" >
175
+ <HintPath >..\packages\squirrel.windows.1.7.9\lib\Net45\Squirrel.dll</HintPath >
176
+ </Reference >
144
177
<Reference Include =" System" />
145
178
<Reference Include =" System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" >
146
179
<HintPath >..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll</HintPath >
195
228
<Compile Include =" Settings\IUserSettings.cs" />
196
229
<Compile Include =" Settings\UserSettings.cs" />
197
230
<Compile Include =" Messaging\TraceFrameMessage.cs" />
231
+ <None Include =" adrilight.nuspec" />
198
232
<None Include =" ApplicationInsights.config" >
199
233
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
200
234
</None >
238
272
<DependentUpon >SettingsWindow.xaml</DependentUpon >
239
273
</Compile >
240
274
<Compile Include =" ViewModel\ViewModelLocator.cs" />
241
- <EmbeddedResource Include =" ..\version.txt" >
242
- <Link >version.txt</Link >
243
- </EmbeddedResource >
244
275
<Resource Include =" View\Images\adrilight_icon.ico" />
245
276
<Content Include =" NLog.config" >
246
277
<CopyToOutputDirectory >Always</CopyToOutputDirectory >
317
348
<Target Name="AfterBuild">
318
349
</Target>
319
350
-->
351
+ <Target Name =" AfterBuild" Condition =" '$(Configuration)' == 'Release'" >
352
+ <GetAssemblyIdentity AssemblyFiles =" $(TargetPath)" >
353
+ <Output TaskParameter =" Assemblies" ItemName =" myAssemblyInfo" />
354
+ </GetAssemblyIdentity >
355
+ <Exec Command =" nuget pack adrilight.nuspec -Version %(myAssemblyInfo.Version) -Properties Configuration=Release -OutputDirectory $(OutDir) -BasePath $(OutDir)" />
356
+ <Exec Command =" squirrel --framework-version=net471 --releasify $(OutDir)adrilight.$([System.Version]::Parse(%(myAssemblyInfo.Version)).ToString(3)).nupkg" />
357
+ </Target >
320
358
</Project >
0 commit comments