Skip to content

Commit 3ec1cae

Browse files
author
Nick Craver
committed
MySQL .nuspec and Dapper NuGet ref
1 parent 3c785e4 commit 3ec1cae

11 files changed

+41
-2296
lines changed

StackExchange.Exceptional.MySQL/MySQLErrorStore.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Data;
43
using System.Linq;
4+
using Dapper;
55
using MySql.Data.MySqlClient;
6-
using StackExchange.Exceptional.Dapper;
76
using StackExchange.Exceptional.Extensions;
87
using StackExchange.Exceptional.Stores;
98

StackExchange.Exceptional.MySQL/StackExchange.Exceptional.MySQL.csproj

+7
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
<WarningLevel>4</WarningLevel>
3131
</PropertyGroup>
3232
<ItemGroup>
33+
<Reference Include="Dapper, Version=1.40.0.0, Culture=neutral, processorArchitecture=MSIL">
34+
<HintPath>..\packages\Dapper.1.42\lib\net45\Dapper.dll</HintPath>
35+
<Private>True</Private>
36+
</Reference>
3337
<Reference Include="MySql.Data">
3438
<HintPath>..\packages\MySql.Data.6.8.3\lib\net45\MySql.Data.dll</HintPath>
3539
</Reference>
@@ -54,6 +58,9 @@
5458
</ItemGroup>
5559
<ItemGroup>
5660
<None Include="packages.config" />
61+
<None Include="StackExchange.Exceptional.MySQL.nuspec">
62+
<SubType>Designer</SubType>
63+
</None>
5764
</ItemGroup>
5865
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5966
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>StackExchange.Exceptional.MySQL</id>
5+
<title>StackExchange.Exceptional.MySQL</title>
6+
<authors>Nick Craver</authors>
7+
<owners>Nick Craver</owners>
8+
<version>1.0.0</version>
9+
<projectUrl>https://github.com/NickCraver/StackExchange.Exceptional</projectUrl>
10+
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
11+
<tags>SQL MySQL Exception Handler Errors Stack Exchange Exceptional</tags>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<language>en-US</language>
14+
<description>MySQL storage provider for StackExchange.Exceptional</description>
15+
<summary>Enabled storing StackExchange.Exceptional errors to a MySQL database.</summary>
16+
<dependencies>
17+
<dependency id="Dapper" version="1.42.0" />
18+
</dependencies>
19+
</metadata>
20+
<files>
21+
<file src="bin\Release\StackExchange.Exceptional.MySQL.*" target="lib" />
22+
</files>
23+
</package>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3+
<package id="Dapper" version="1.42" targetFramework="net45" />
34
<package id="MySql.Data" version="6.8.3" targetFramework="net45" />
45
</packages>

StackExchange.Exceptional/Dapper/Dapper.Extensions.cs

-79
This file was deleted.

0 commit comments

Comments
 (0)