|
10 | 10 | <PropertyGroup> |
11 | 11 | <BuildSolutionDir>$(MSBuildProjectDirectory)/..</BuildSolutionDir> |
12 | 12 | <SrcDir>$(BuildSolutionDir)/src</SrcDir> |
13 | | - <Configuration Condition="$(Configuration) == ''">Signed</Configuration> |
| 13 | + <Configuration>Signed</Configuration> |
14 | 14 | <NUnitConsoleArgs>/noshadow</NUnitConsoleArgs> |
15 | 15 | <NuGetPath>$(SrcDir)/.nuget/nuget.exe</NuGetPath> |
16 | 16 | <NuGetPackageDir>$(BuildSolutionDir)/NuGet.Signed/</NuGetPackageDir> |
|
33 | 33 | <Target Name="Default" DependsOnTargets="$(DoBuildSolutionsDependsOn)" /> |
34 | 34 |
|
35 | 35 | <Target Name="TeamCityBuild"> |
36 | | - <!--<Copy SourceFiles="$(BuildSolutionDir)/tests/ServiceStack.Common.Tests/ci.app.config" DestinationFiles="$(BuildSolutionDir)/tests/ServiceStack.Common.Tests/app.config" />--> |
37 | 36 | <CallTarget Targets="Default" /> |
38 | 37 | </Target> |
39 | 38 |
|
|
109 | 108 |
|
110 | 109 | <MSBuild Projects="$(SrcDir)/ServiceStack.Api.Swagger/ServiceStack.Api.Swagger.Signed.csproj" |
111 | 110 | Targets="Build" |
112 | | - Properties="Version=$(PackageVersion);Configuration=$(Configuration)" /> |
| 111 | + Properties="Version=$(PackageVersion)" /> |
113 | 112 |
|
114 | 113 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Api.Swagger.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Api.Swagger.Signed/lib/net45')" /> |
115 | 114 | <Copy SourceFiles="%(SwaggerFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Api.Swagger.Signed/lib/net45" /> |
|
122 | 121 |
|
123 | 122 | <MSBuild Projects="$(SrcDir)/ServiceStack.Api.OpenApi/ServiceStack.Api.OpenApi.Signed.csproj" |
124 | 123 | Targets="Build" |
125 | | - Properties="Version=$(PackageVersion);Configuration=$(Configuration)" /> |
| 124 | + Properties="Version=$(PackageVersion)" /> |
126 | 125 |
|
127 | 126 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Api.OpenApi.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Api.OpenApi.Signed/lib/net45')" /> |
128 | 127 | <Copy SourceFiles="%(OpenApiFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Api.OpenApi.Signed/lib/net45" /> |
|
133 | 132 |
|
134 | 133 | <!-- ServiceStack.Client --> |
135 | 134 |
|
136 | | - <MSBuild Projects="../src/ServiceStack.Client/ServiceStack.Client.Signed.csproj" Properties="Configuration=$(Configuration)"/> |
| 135 | + <MSBuild Projects="../src/ServiceStack.Client/ServiceStack.Client.Signed.csproj" |
| 136 | + Targets="Build" |
| 137 | + Properties="Version=$(PackageVersion)" /> |
137 | 138 | <Copy SourceFiles="%(ClientFiles.Identity)" DestinationFolder="$(BuildSolutionDir)/lib/signed" /> |
138 | 139 |
|
139 | 140 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Client.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Client.Signed/lib/net45')" /> |
|
144 | 145 |
|
145 | 146 | <!-- ServiceStack.HttpClient --> |
146 | 147 |
|
147 | | - <MSBuild Projects="../src/ServiceStack.HttpClient/ServiceStack.HttpClient.Signed.csproj" Properties="Configuration=$(Configuration)"/> |
| 148 | + <MSBuild Projects="../src/ServiceStack.HttpClient/ServiceStack.HttpClient.Signed.csproj" |
| 149 | + Targets="Build" |
| 150 | + Properties="Version=$(PackageVersion)" /> |
148 | 151 | <Copy SourceFiles="%(HttpClientFiles.Identity)" DestinationFolder="$(BuildSolutionDir)/lib/signed" /> |
149 | 152 |
|
150 | 153 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.HttpClient.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.HttpClient.Signed/lib/net45')" /> |
|
155 | 158 |
|
156 | 159 | <!-- ServiceStack.Common --> |
157 | 160 |
|
158 | | - <MSBuild Projects="../src/ServiceStack.Common/ServiceStack.Common.Signed.csproj" Properties="Configuration=$(Configuration)"/> |
| 161 | + <MSBuild Projects="../src/ServiceStack.Common/ServiceStack.Common.Signed.csproj" |
| 162 | + Targets="Build" |
| 163 | + Properties="Version=$(PackageVersion)" /> |
159 | 164 | <Copy SourceFiles="%(CommonFiles.Identity)" DestinationFolder="$(BuildSolutionDir)/lib/signed" /> |
160 | 165 |
|
161 | 166 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Common.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Common.Signed/lib/net45')" /> |
|
166 | 171 |
|
167 | 172 | <!-- ServiceStack --> |
168 | 173 |
|
169 | | - <MSBuild Projects="../src/ServiceStack/ServiceStack.Signed.csproj" Properties="Configuration=$(Configuration)"/> |
| 174 | + <MSBuild Projects="../src/ServiceStack/ServiceStack.Signed.csproj" |
| 175 | + Targets="Build" |
| 176 | + Properties="Version=$(PackageVersion)" /> |
170 | 177 | <Copy SourceFiles="%(ServiceStackFiles.Identity)" DestinationFolder="$(BuildSolutionDir)/lib/signed" /> |
171 | 178 |
|
172 | 179 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Signed/lib/net45')" /> |
|
177 | 184 |
|
178 | 185 | <!-- ServiceStack.Server --> |
179 | 186 |
|
180 | | - <MSBuild Projects="../src/ServiceStack.Server/ServiceStack.Server.Signed.csproj" Properties="Configuration=$(Configuration)"/> |
| 187 | + <MSBuild Projects="../src/ServiceStack.Server/ServiceStack.Server.Signed.csproj" |
| 188 | + Targets="Build" |
| 189 | + Properties="Version=$(PackageVersion)" /> |
181 | 190 | <Copy SourceFiles="%(ServerFiles.Identity)" DestinationFolder="$(BuildSolutionDir)/lib/signed" /> |
182 | 191 |
|
183 | 192 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Server.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Server.Signed/lib/net45')" /> |
|
190 | 199 |
|
191 | 200 | <MSBuild Projects="$(SrcDir)/ServiceStack.RabbitMq/ServiceStack.RabbitMq.Signed.csproj" |
192 | 201 | Targets="Build" |
193 | | - Properties="Version=$(PackageVersion);Configuration=$(Configuration)" /> |
| 202 | + Properties="Version=$(PackageVersion)" /> |
194 | 203 |
|
195 | 204 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.RabbitMq.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.RabbitMq.Signed/lib/net45')" /> |
196 | 205 | <Copy SourceFiles="%(RabbitMqFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.RabbitMq.Signed/lib/net45" /> |
|
200 | 209 |
|
201 | 210 | <!-- ServiceStack.Razor --> |
202 | 211 |
|
203 | | - <MSBuild Projects="../src/ServiceStack.Razor/ServiceStack.Razor.Signed.csproj" Properties="Configuration=$(Configuration)"/> |
| 212 | + <MSBuild Projects="../src/ServiceStack.Razor/ServiceStack.Razor.Signed.csproj" |
| 213 | + Targets="Build" |
| 214 | + Properties="Version=$(PackageVersion)" /> |
204 | 215 | <Copy SourceFiles="%(RazorFiles.Identity)" DestinationFolder="$(BuildSolutionDir)/lib/signed" /> |
205 | 216 |
|
206 | 217 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Razor.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Razor.Signed/lib/net45')" /> |
|
213 | 224 |
|
214 | 225 | <MSBuild Projects="$(SrcDir)/ServiceStack.ProtoBuf/ServiceStack.ProtoBuf.Signed.csproj" |
215 | 226 | Targets="Build" |
216 | | - Properties="Version=$(PackageVersion);Configuration=$(Configuration)" /> |
| 227 | + Properties="Version=$(PackageVersion)" /> |
217 | 228 |
|
218 | 229 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.ProtoBuf.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.ProtoBuf.Signed/lib/net45')" /> |
219 | 230 | <Copy SourceFiles="%(ProtoBufFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.ProtoBuf.Signed/lib/net45" /> |
|
225 | 236 |
|
226 | 237 | <MSBuild Projects="$(SrcDir)/ServiceStack.Mvc/ServiceStack.Mvc.Signed.csproj" |
227 | 238 | Targets="Build" |
228 | | - Properties="Version=$(PackageVersion);Configuration=$(Configuration)" /> |
| 239 | + Properties="Version=$(PackageVersion)" /> |
229 | 240 |
|
230 | 241 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Mvc.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Mvc.Signed/lib/net45')" /> |
231 | 242 | <Copy SourceFiles="%(MvcFiles.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Mvc.Signed/lib/net45" /> |
|
237 | 248 |
|
238 | 249 | <MSBuild Projects="$(SrcDir)/ServiceStack.Authentication.OAuth2/ServiceStack.Authentication.OAuth2.Signed.csproj" |
239 | 250 | Targets="Build" |
240 | | - Properties="Version=$(PackageVersion);Configuration=$(Configuration)" /> |
| 251 | + Properties="Version=$(PackageVersion)" /> |
241 | 252 |
|
242 | 253 | <MakeDir Directories="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2.Signed/lib/net45" Condition="!Exists('$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2.Signed/lib/net45')" /> |
243 | 254 | <Copy SourceFiles="%(OAuth2Files.Identity)" DestinationFolder="$(NuGetPackageDir)/ServiceStack.Authentication.OAuth2.Signed/lib/net45" /> |
|
0 commit comments