Skip to content

Commit 8a23e03

Browse files
Merge pull request #109 from roji/nuget
Add nuget spec file + minor stuff
2 parents 106d8dd + 46da28d commit 8a23e03

5 files changed

Lines changed: 54 additions & 25 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
*.xml text
88
*.txt text
99

10+
packages/* binary

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.user
55
*.sln.docstates
66
*.userprefs
7+
*.nupkg
78
[Bb]in/
89
[Bb]uild/
910
/src/[Oo]bj/

Npgsql.nuspec

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0"?>
2+
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>Npgsql</id>
5+
<version>2.1.0</version>
6+
<authors>Francisco Figueiredo Jr., Josh Cooley, Dave Page, Jon Asher, Brar Piening, Chris Morgan, Hiroshi Saito, Jon Hanna, Federico Di Gregorio, Glen Parker, Shay Rojansky</authors>
7+
<owners>Francisco Figueiredo Jr., Josh Cooley, Shay Rojansky</owners>
8+
<licenseUrl>https://github.com/npgsql/Npgsql/wiki/License</licenseUrl>
9+
<projectUrl>https://github.com/npgsql/Npgsql</projectUrl>
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>Npgsql is a .Net data provider for Postgresql. It allows any program developed for .Net framework to access database server. It is implemented in 100% C# code. Works with Postgresql 7.x and above.</description>
12+
<summary>Npgsql is a .Net data provider for Postgresql.</summary>
13+
<language>en-US</language>
14+
<tags>Npgsql postgres data database Postgresql</tags>
15+
</metadata>
16+
<files>
17+
<file src="bin\Release-net20\**\*.dll" target="lib\net20"/>
18+
<file src="bin\Release-net20\*.pdb" target="lib\net20"/>
19+
<file src="bin\Release-net20\*.xml" target="lib\net20"/>
20+
<file src="bin\Release-net35\**\*.dll" target="lib\net35"/>
21+
<file src="bin\Release-net35\*.pdb" target="lib\net35"/>
22+
<file src="bin\Release-net35\*.xml" target="lib\net35"/>
23+
<file src="bin\Release-net40\**\*.dll" target="lib\net40"/>
24+
<file src="bin\Release-net40\*.pdb" target="lib\net40"/>
25+
<file src="bin\Release-net40\*.xml" target="lib\net40"/>
26+
<file src="bin\Release-net45\**\*.dll" target="lib\net45"/>
27+
<file src="bin\Release-net45\*.pdb" target="lib\net45"/>
28+
<file src="bin\Release-net45\*.xml" target="lib\net45"/>
29+
<file src="src\**\*.cs" target="src" />
30+
</files>
31+
</package>

src/.cvsignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/Npgsql.csproj

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,109 +37,109 @@
3737
<DebugSymbols>true</DebugSymbols>
3838
<DebugType>full</DebugType>
3939
<Optimize>false</Optimize>
40-
<OutputPath>bin\Debug-net45\</OutputPath>
40+
<OutputPath>..\bin\Debug-net45\</OutputPath>
4141
<DefineConstants>TRACE;DEBUG;WINDOWS;UNMANAGED;NET35;NET40;NET45;ENTITIES</DefineConstants>
4242
<ErrorReport>prompt</ErrorReport>
4343
<WarningLevel>4</WarningLevel>
44-
<DocumentationFile>bin\Debug-net45\Npgsql.xml</DocumentationFile>
44+
<DocumentationFile>..\bin\Debug-net45\Npgsql.xml</DocumentationFile>
4545
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
4646
</PropertyGroup>
4747
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-net45|AnyCPU' ">
4848
<DebugType>pdbonly</DebugType>
4949
<Optimize>true</Optimize>
50-
<OutputPath>bin\Release-net45\</OutputPath>
50+
<OutputPath>..\bin\Release-net45\</OutputPath>
5151
<DefineConstants>TRACE;WINDOWS;UNMANAGED;NET35;NET40;NET45;ENTITIES</DefineConstants>
5252
<ErrorReport>prompt</ErrorReport>
5353
<WarningLevel>4</WarningLevel>
54-
<DocumentationFile>bin\Release-net45\Npgsql.xml</DocumentationFile>
54+
<DocumentationFile>..\bin\Release-net45\Npgsql.xml</DocumentationFile>
5555
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
5656
</PropertyGroup>
5757
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-net40|AnyCPU' ">
5858
<DebugSymbols>true</DebugSymbols>
5959
<DebugType>full</DebugType>
6060
<Optimize>false</Optimize>
61-
<OutputPath>bin\Debug-net40\</OutputPath>
61+
<OutputPath>..\bin\Debug-net40\</OutputPath>
6262
<DefineConstants>TRACE;DEBUG;WINDOWS;UNMANAGED;NET35;NET40;ENTITIES</DefineConstants>
6363
<ErrorReport>prompt</ErrorReport>
6464
<WarningLevel>4</WarningLevel>
65-
<DocumentationFile>bin\Debug-net40\Npgsql.xml</DocumentationFile>
65+
<DocumentationFile>..\bin\Debug-net40\Npgsql.xml</DocumentationFile>
6666
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
6767
<NoWarn>
6868
</NoWarn>
6969
</PropertyGroup>
7070
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-net40|AnyCPU' ">
7171
<DebugType>pdbonly</DebugType>
7272
<Optimize>true</Optimize>
73-
<OutputPath>bin\Release-net40\</OutputPath>
73+
<OutputPath>..\bin\Release-net40\</OutputPath>
7474
<DefineConstants>TRACE;WINDOWS;UNMANAGED;NET35;NET40;ENTITIES</DefineConstants>
7575
<ErrorReport>prompt</ErrorReport>
7676
<WarningLevel>4</WarningLevel>
77-
<DocumentationFile>bin\Release-net40\Npgsql.xml</DocumentationFile>
77+
<DocumentationFile>..\bin\Release-net40\Npgsql.xml</DocumentationFile>
7878
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
7979
</PropertyGroup>
8080
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-net35|AnyCPU' ">
8181
<DebugSymbols>true</DebugSymbols>
8282
<DebugType>full</DebugType>
8383
<Optimize>false</Optimize>
84-
<OutputPath>bin\Debug-net35\</OutputPath>
84+
<OutputPath>..\bin\Debug-net35\</OutputPath>
8585
<DefineConstants>TRACE;DEBUG;WINDOWS;UNMANAGED;NET35;ENTITIES</DefineConstants>
8686
<ErrorReport>prompt</ErrorReport>
8787
<WarningLevel>4</WarningLevel>
88-
<DocumentationFile>bin\Debug-net35\Npgsql.xml</DocumentationFile>
88+
<DocumentationFile>..\bin\Debug-net35\Npgsql.xml</DocumentationFile>
8989
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
9090
</PropertyGroup>
9191
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-net35|AnyCPU' ">
9292
<DebugType>pdbonly</DebugType>
9393
<Optimize>true</Optimize>
94-
<OutputPath>bin\Release-net35\</OutputPath>
94+
<OutputPath>..\bin\Release-net35\</OutputPath>
9595
<DefineConstants>TRACE;WINDOWS;UNMANAGED;NET35;ENTITIES</DefineConstants>
9696
<ErrorReport>prompt</ErrorReport>
9797
<WarningLevel>4</WarningLevel>
98-
<DocumentationFile>bin\Release-net35\Npgsql.xml</DocumentationFile>
98+
<DocumentationFile>..\bin\Release-net35\Npgsql.xml</DocumentationFile>
9999
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
100100
</PropertyGroup>
101101
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-net20|AnyCPU' ">
102102
<DebugSymbols>true</DebugSymbols>
103103
<DebugType>full</DebugType>
104104
<Optimize>false</Optimize>
105-
<OutputPath>bin\Debug-net20\</OutputPath>
105+
<OutputPath>..\bin\Debug-net20\</OutputPath>
106106
<DefineConstants>TRACE;DEBUG;WINDOWS;UNMANAGED</DefineConstants>
107107
<ErrorReport>prompt</ErrorReport>
108108
<WarningLevel>4</WarningLevel>
109-
<DocumentationFile>bin\Debug-net20\Npgsql.xml</DocumentationFile>
109+
<DocumentationFile>..\bin\Debug-net20\Npgsql.xml</DocumentationFile>
110110
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
111111
<NoWarn>
112112
</NoWarn>
113113
</PropertyGroup>
114114
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-net20|AnyCPU' ">
115115
<DebugType>pdbonly</DebugType>
116116
<Optimize>true</Optimize>
117-
<OutputPath>bin\Release-net20\</OutputPath>
117+
<OutputPath>..\bin\Release-net20\</OutputPath>
118118
<DefineConstants>TRACE;WINDOWS;UNMANAGED</DefineConstants>
119119
<ErrorReport>prompt</ErrorReport>
120120
<WarningLevel>4</WarningLevel>
121-
<DocumentationFile>bin\Release-net20\Npgsql.xml</DocumentationFile>
121+
<DocumentationFile>..\bin\Release-net20\Npgsql.xml</DocumentationFile>
122122
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
123123
</PropertyGroup>
124124
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-net45-EF6|AnyCPU' ">
125125
<DebugSymbols>true</DebugSymbols>
126126
<DebugType>full</DebugType>
127127
<Optimize>false</Optimize>
128-
<OutputPath>bin\Debug-net45-EF6\</OutputPath>
128+
<OutputPath>..\bin\Debug-net45-EF6\</OutputPath>
129129
<DefineConstants>TRACE;DEBUG;WINDOWS;UNMANAGED;NET35;NET40;NET45;ENTITIES;ENTITIES6</DefineConstants>
130130
<ErrorReport>prompt</ErrorReport>
131131
<WarningLevel>4</WarningLevel>
132-
<DocumentationFile>bin\Debug-net45-EF6\Npgsql.xml</DocumentationFile>
132+
<DocumentationFile>..\bin\Debug-net45-EF6\Npgsql.xml</DocumentationFile>
133133
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
134134
</PropertyGroup>
135135
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-net45-EF6|AnyCPU' ">
136136
<DebugType>pdbonly</DebugType>
137137
<Optimize>true</Optimize>
138-
<OutputPath>bin\Release-net45-EF6\</OutputPath>
138+
<OutputPath>..\bin\Release-net45-EF6\</OutputPath>
139139
<DefineConstants>TRACE;WINDOWS;UNMANAGED;NET35;NET40;NET45;ENTITIES;ENTITIES6</DefineConstants>
140140
<ErrorReport>prompt</ErrorReport>
141141
<WarningLevel>4</WarningLevel>
142-
<DocumentationFile>bin\Release-net45-EF6\Npgsql.xml</DocumentationFile>
142+
<DocumentationFile>..\bin\Release-net45-EF6\Npgsql.xml</DocumentationFile>
143143
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
144144
</PropertyGroup>
145145
<ItemGroup>
@@ -658,4 +658,4 @@
658658
<Target Name="AfterBuild">
659659
</Target>
660660
-->
661-
</Project>
661+
</Project>

0 commit comments

Comments
 (0)