|
13 | 13 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
14 | 14 | <FileAlignment>512</FileAlignment> |
15 | 15 | <TargetFrameworkProfile /> |
| 16 | + <NuGetPackageImportStamp> |
| 17 | + </NuGetPackageImportStamp> |
16 | 18 | </PropertyGroup> |
17 | 19 | <PropertyGroup Condition="$(Configuration.Contains('Debug'))"> |
18 | 20 | <DebugSymbols>true</DebugSymbols> |
|
226 | 228 | </ItemGroup> |
227 | 229 | <ItemGroup> |
228 | 230 | <None Include="app.config" /> |
229 | | - <None Include="build\CrashReporter.NET.Official.nuspec" /> |
| 231 | + <None Include="build\CrashReporter.NET.Official.nuspec"> |
| 232 | + <SubType>Designer</SubType> |
| 233 | + </None> |
230 | 234 | <None Include="CrashReporter.NET.snk" /> |
| 235 | + <None Include="packages.config" /> |
231 | 236 | <None Include="Properties\Settings.settings"> |
232 | 237 | <Generator>SettingsSingleFileGenerator</Generator> |
233 | 238 | <LastGenOutput>Settings.Designer.cs</LastGenOutput> |
|
281 | 286 | </ItemGroup> |
282 | 287 | <ItemGroup /> |
283 | 288 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 289 | + <Import Project="..\packages\Resource.Embedder.1.2.5\build\Resource.Embedder.targets" Condition="Exists('..\packages\Resource.Embedder.1.2.5\build\Resource.Embedder.targets') And '$(TargetFrameworkVersion)' != 'v2.0' And '$(TargetFrameworkVersion)' != 'v3.0' And '$(TargetFrameworkVersion)' != 'v3.5'" /> |
| 290 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 291 | + <PropertyGroup> |
| 292 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 293 | + </PropertyGroup> |
| 294 | + <Error Condition="!Exists('..\packages\Resource.Embedder.1.2.5\build\Resource.Embedder.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Resource.Embedder.1.2.5\build\Resource.Embedder.targets'))" /> |
| 295 | + </Target> |
284 | 296 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
285 | 297 | Other similar extension points exist, see Microsoft.Common.targets. |
286 | 298 | <Target Name="BeforeBuild"> |
|
0 commit comments