Skip to content

Commit ea5c048

Browse files
committed
Updated to the new base package.
1 parent b1cd573 commit ea5c048

16 files changed

+90
-131
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Integration library for WinForms applications
33

44
[![VSTS](https://1tcompany.visualstudio.com/_apis/public/build/definitions/75570083-b1ef-4e78-88e2-5db4982f756c/16/badge)]() [![NuGet](https://img.shields.io/nuget/dt/codeRR.Client.WinForms.svg?style=flat-square)]()
55

6-
This library will detect all unhandled exceptions in WinForms based applications and report them to your codeRR server.
6+
This library will detect all unhandled exceptions in WinForms based applications and report them to your Coderr server.
77

88

99
![The built in error page](docs/screenshot.png)<br>
@@ -15,7 +15,7 @@ This library will detect all unhandled exceptions in WinForms based applications
1515

1616
# Installation
1717

18-
1. Download and install the [codeRR server](https://github.com/coderrapp/coderr.server) or create an account at [coderrapp.com](https://coderrapp.com)
18+
1. Download and install the [codeRR server](https://github.com/coderrio/coderr.server) or create an account at [coderr.io](https://coderr.io)
1919
2. Install this client library (using nuget `coderr.client.winforms`)
2020
3. Configure the credentials from your codeRR account in your `Program.cs`.
2121

@@ -81,16 +81,16 @@ public void OnPostClick()
8181

8282
This library includes the following context collections for every reported exceptions:
8383

84-
* All in the [core library](https://github.com/coderrapp/coderr.client)
84+
* All in the [core library](https://github.com/coderrio/coderr.client)
8585
* One property collection for each open form.
8686
* Screenshot of the active form (the one that threw an exception)
8787

8888
# Requirements
8989

90-
You need to either install [codeRR Community Server](https://github.com/coderrapp/coderr.server) or use [codeRR Live](https://coderrapp.com/live).
90+
You need to either install [Coderr Community Server](https://github.com/coderrio/coderr.server) or use [Coderr Cloud Service](https://app.coderr.io).
9191

9292
# Help?
9393

94-
* Questions? http://discuss.coderrapp.com
95-
* Documentation: https://coderrapp.com/documentation/client/libraries/winforms/
94+
* Questions? http://discuss.coderr.io
95+
* Documentation: https://coderr.io/documentation/client/libraries/winforms/
9696

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
1+
<?xml version="1.0" encoding="utf-8"?>
32
<configuration>
43
<startup>
5-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
65
</startup>
76
<runtime>
87
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
98
<dependentAssembly>
10-
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
11-
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
9+
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
10+
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
1211
</dependentAssembly>
1312
</assemblyBinding>
1413
</runtime>
15-
</configuration>
14+
</configuration>

src/Coderr.Client.WinForms.Demo/Coderr.Client.WinForms.Demo.csproj

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>Coderr.Client.WinForms.Demo</RootNamespace>
1111
<AssemblyName>Coderr.Client.WinForms.Demo</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15+
<TargetFrameworkProfile />
1516
</PropertyGroup>
1617
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1718
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -33,15 +34,22 @@
3334
<WarningLevel>4</WarningLevel>
3435
</PropertyGroup>
3536
<ItemGroup>
36-
<Reference Include="Coderr.Client, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
37-
<HintPath>..\packages\Coderr.Client.1.1.0\lib\net452\Coderr.Client.dll</HintPath>
37+
<Reference Include="Coderr.Client, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
38+
<HintPath>..\packages\Coderr.Client.2.0.1\lib\net461\Coderr.Client.dll</HintPath>
3839
</Reference>
3940
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
4041
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
4142
</Reference>
4243
<Reference Include="System" />
4344
<Reference Include="System.Core" />
4445
<Reference Include="System.Management" />
46+
<Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
47+
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Extensions.dll</HintPath>
48+
</Reference>
49+
<Reference Include="System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
50+
<HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net45\System.Net.Http.Primitives.dll</HintPath>
51+
</Reference>
52+
<Reference Include="System.Net.Http.WebRequest" />
4553
<Reference Include="System.Xml.Linq" />
4654
<Reference Include="System.Data.DataSetExtensions" />
4755
<Reference Include="Microsoft.CSharp" />
@@ -106,6 +114,11 @@
106114
</ProjectReference>
107115
</ItemGroup>
108116
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
117+
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
118+
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
119+
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
120+
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
121+
</Target>
109122
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
110123
Other similar extension points exist, see Microsoft.Common.targets.
111124
<Target Name="BeforeBuild">

src/Coderr.Client.WinForms.Demo/CustomErrorDialog.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Coderr.Client.WinForms.Demo/CustomErrorDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ private void CustomErrorDialog_FormClosing(object sender, FormClosingEventArgs e
1717
{
1818
}
1919

20-
private void button1_Click(object sender, System.EventArgs e)
20+
private void Button1_Click(object sender, System.EventArgs e)
2121
{
22-
Err.LeaveFeedback(_context.Report.ReportId, new UserSuppliedInformation(textBox1.Text, ""));
22+
Err.LeaveFeedback(_context.Report.ReportId, textBox1.Text, null);
2323
}
2424
}
2525
}

src/Coderr.Client.WinForms.Demo/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ internal static class Program
1313
private static void Main()
1414
{
1515
// replace with your own settings
16-
var uri = new Uri("http://localhost:50473/");
16+
var uri = new Uri("http://localhost:60473/");
1717
Err.Configuration.Credentials(uri,
18-
"9aaf662e-caf7-49bb-8741-1997cea362ff",
19-
"aa866c0b-235c-4190-9581-9e8b59db8db5");
18+
"5a617e0773b94284bef33940e4bc8384",
19+
"3fab63fb846c4dd289f67b0b3340fefc");
2020

2121
// to catch unhandled exceptions
2222
Err.Configuration.CatchWinFormsExceptions();

src/Coderr.Client.WinForms.Demo/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Coderr.Client.WinForms.Demo/Properties/Settings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Coderr.Client" version="1.1.0" targetFramework="net452" />
3+
<package id="Coderr.Client" version="2.0.1" targetFramework="net461" />
4+
<package id="Microsoft.Bcl" version="1.1.10" targetFramework="net461" />
5+
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net461" />
6+
<package id="Microsoft.Net.Http" version="2.2.29" targetFramework="net461" />
47
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
58
</packages>

src/Coderr.Client.WinForms.Tests/Coderr.Client.WinForms.Tests.csproj

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net452</TargetFramework>
4+
<TargetFramework>net461</TargetFramework>
55
<RootNamespace>Coderr.Client.WinForms.Tests</RootNamespace>
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
10-
<PackageReference Include="FluentAssertions" Version="4.19.4" />
11-
<PackageReference Include="NSubstitute" Version="2.0.3" />
12-
<PackageReference Include="xunit" Version="2.3.0" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0" />
14-
<PackageReference Include="Coderr.Client" Version="1.1.0" />
9+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
10+
<PackageReference Include="FluentAssertions" Version="5.10.3" />
11+
<PackageReference Include="NSubstitute" Version="4.2.2" />
12+
<PackageReference Include="xunit" Version="2.4.1" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
14+
<PrivateAssets>all</PrivateAssets>
15+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
16+
</PackageReference>
17+
<PackageReference Include="Coderr.Client" Version="2.0.1" />
1518
</ItemGroup>
1619

1720
<ItemGroup>

0 commit comments

Comments
 (0)