Skip to content

Commit 068df88

Browse files
committed
Embedded localization assemblies.
1 parent 4b1916d commit 068df88

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

CrashReporter.NET/CrashReporter.NET.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<TargetFrameworkProfile />
16+
<NuGetPackageImportStamp>
17+
</NuGetPackageImportStamp>
1618
</PropertyGroup>
1719
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
1820
<DebugSymbols>true</DebugSymbols>
@@ -226,8 +228,11 @@
226228
</ItemGroup>
227229
<ItemGroup>
228230
<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>
230234
<None Include="CrashReporter.NET.snk" />
235+
<None Include="packages.config" />
231236
<None Include="Properties\Settings.settings">
232237
<Generator>SettingsSingleFileGenerator</Generator>
233238
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -281,6 +286,13 @@
281286
</ItemGroup>
282287
<ItemGroup />
283288
<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>
284296
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
285297
Other similar extension points exist, see Microsoft.Common.targets.
286298
<Target Name="BeforeBuild">

CrashReporter.NET/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="Resource.Embedder" version="1.2.5" targetFramework="net40" developmentDependency="true" />
4+
</packages>

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# CrashReporter.NET
2-
[![AppVeyor branch](https://img.shields.io/appveyor/ci/gruntjs/grunt/master.svg)](https://ci.appveyor.com/project/ravibpatel/crashreporter-net)
3-
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/rbsoft)
2+
[![AppVeyor branch](https://img.shields.io/appveyor/ci/gruntjs/grunt/master.svg)](https://ci.appveyor.com/project/ravibpatel/crashreporter-net) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/rbsoft)
43

54
Send crash reports of your classic desktop application developed using .NET Framework directly to your mail's inbox with full exception report, stack trace and screenshot.
65

7-
## The nuget package [![NuGet](https://img.shields.io/nuget/v/CrashReporter.NET.Official.svg)](https://www.nuget.org/packages/CrashReporter.NET.Official/)
6+
## The nuget package [![NuGet](https://img.shields.io/nuget/v/CrashReporter.NET.Official.svg)](https://www.nuget.org/packages/CrashReporter.NET.Official/) [![NuGet](https://img.shields.io/nuget/dt/CrashReporter.NET.Official.svg)](https://www.nuget.org/packages/CrashReporter.NET.Official/)
87

98
https://www.nuget.org/packages/CrashReporter.NET.Official/
109

0 commit comments

Comments
 (0)