aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2011-09-10 13:14:18 -0500
committerrogerk <devnull@localhost>2011-09-10 13:14:18 -0500
commit0ce7bed44a3ccad62a61e309ab061291b6b6f492 (patch)
tree4c6bb0d376cdc84bacbc8c70b9f3f750991a2c35
parentef4af57b119dfab849a7d07203f1e3ae6d5d7f89 (diff)
downloadprotobuf-0ce7bed44a3ccad62a61e309ab061291b6b6f492.tar.gz
protobuf-0ce7bed44a3ccad62a61e309ab061291b6b6f492.tar.bz2
protobuf-0ce7bed44a3ccad62a61e309ab061291b6b6f492.zip
Added nuget package configuration.
-rw-r--r--build/nuget-package.nuspec57
-rw-r--r--build/nuspec.xsd79
-rw-r--r--lib/NuGet.exebin0 -> 525312 bytes
-rw-r--r--src/ProtocolBuffers2008.sln1
4 files changed, 137 insertions, 0 deletions
diff --git a/build/nuget-package.nuspec b/build/nuget-package.nuspec
new file mode 100644
index 00000000..a9c141ee
--- /dev/null
+++ b/build/nuget-package.nuspec
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nuspec.xsd">
+ <metadata>
+ <id>Google.ProtocolBuffers</id>
+ <version>2.3.0.277</version>
+ <owners>Jon Skeet</owners>
+ <authors>Jon Skeet, Roger Knapp</authors>
+ <licenseUrl>http://code.google.com/p/protobuf-csharp-port/source/browse/license.txt</licenseUrl>
+ <projectUrl>http://code.google.com/p/protobuf-csharp-port/</projectUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <copyright>Copyright 2008 Google Inc. All right s reserved.</copyright>
+ <tags>Protocol Buffers Binary Format Google</tags>
+
+ <title>Google Protocol Buffers</title>
+ <summary>A managed code generator and library for google's data interchange format.</summary>
+ <description><![CDATA[
+Protocol Buffers is a binary serialization format and technology, released to the open source community by Google in 2008.
+It's primary use is to produce small fast binary representations of a 'message' or object for serialization or transportation.
+There are various implementations of Protocol Buffers in .NET. This project is a fairly close port of the Google Java implementation.
+
+There are two main parts:
+
+tools/protoc.exe, which takes the textual representation of the protocol buffer and turns it into a binary representation for use with ProtoGen.exe.
+tools/ProtoGen.exe, which takes binary representations of protocol buffer descriptors (as generated by the "stock" protoc binary supplied by Google) and creates C# source code. This is only required at build time.
+
+lib/*/Google.ProtocolBuffers.dll, which is a supporting library. This is required at execution time.
+lib/*/Google.ProtocolBuffers.Serialization.dll, a supplimentary library that provides extensions for reading and writing protocol buffers to xml, json, and others.
+
+LINKS:
+
+Project Home - http://code.google.com/p/protobuf-csharp-port
+Online Help - http://help.protobuffers.net
+Developer Guide - http://code.google.com/apis/protocolbuffers/docs/overview.html
+Language Guide - http://code.google.com/apis/protocolbuffers/docs/proto.html
+Protoc Project - http://code.google.com/p/protobuf
+
+ ]]></description>
+ </metadata>
+ <files>
+ <!-- Release Binaries -->
+ <file src="2.3.0.277\Release\Google.ProtocolBuffers.dll" target="lib\net20" />
+ <file src="2.3.0.277\Release\Google.ProtocolBuffers.*.dll" target="lib\net20" />
+ <!-- Silverlight Binaries -->
+ <file src="2.3.0.277\Release_Silverlight2\Google.ProtocolBuffers.dll" target="lib\sl20" />
+ <file src="2.3.0.277\Release_Silverlight2\Google.ProtocolBuffers.*.dll" target="lib\sl20" />
+ <!-- Tools -->
+ <file src="2.3.0.277\Protoc\*.exe" target="tools" />
+ <file src="2.3.0.277\Release\Google.ProtocolBuffers.dll" target="tools" />
+ <file src="2.3.0.277\Release\*.exe" target="tools" />
+ <file src="2.3.0.277\Release\*.exe.config" target="tools" />
+ <!-- Content -->
+ <file src="2.3.0.277\license.txt" target="content\licenses"/>
+ <file src="2.3.0.277\Protoc\protoc-license.txt" target="content\licenses"/>
+ <file src="2.3.0.277\protos\google\protobuf\descriptor.proto" target="content\protos\google\protobuf" />
+ <file src="2.3.0.277\protos\google\protobuf\csharp_options.proto" target="content\protos\google\protobuf" />
+ </files>
+</package> \ No newline at end of file
diff --git a/build/nuspec.xsd b/build/nuspec.xsd
new file mode 100644
index 00000000..db744d1a
--- /dev/null
+++ b/build/nuspec.xsd
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- original location: https://hg01.codeplex.com/nuget/raw-file/tip/src/Core/Authoring/nuspec.xsd -->
+<xs:schema id="nuspec" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:element name="package">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="metadata" maxOccurs="1" minOccurs="1">
+ <xs:complexType>
+ <xs:all>
+ <xs:element name="id" maxOccurs="1" minOccurs="1" type="xs:string" />
+ <xs:element name="version" maxOccurs="1" minOccurs="1" type="xs:string" />
+ <xs:element name="title" maxOccurs="1" minOccurs="0" type="xs:string" />
+ <xs:element name="authors" maxOccurs="1" minOccurs="1" type="xs:string" />
+ <xs:element name="owners" maxOccurs="1" minOccurs="0" type="xs:string" />
+ <xs:element name="licenseUrl" maxOccurs="1" minOccurs="0" type="xs:anyURI" />
+ <xs:element name="projectUrl" maxOccurs="1" minOccurs="0" type="xs:anyURI" />
+ <xs:element name="iconUrl" maxOccurs="1" minOccurs="0" type="xs:anyURI" />
+ <xs:element name="requireLicenseAcceptance" maxOccurs="1" minOccurs="0" type="xs:boolean" />
+ <xs:element name="description" maxOccurs="1" minOccurs="1" type="xs:string" />
+ <xs:element name="summary" maxOccurs="1" minOccurs="0" type="xs:string" />
+ <xs:element name="releaseNotes" maxOccurs="1" minOccurs="0" type="xs:string" />
+ <xs:element name="copyright" maxOccurs="1" minOccurs="0" type="xs:string" />
+ <xs:element name="language" maxOccurs="1" minOccurs="0" type="xs:string" default="en-US" />
+ <xs:element name="tags" maxOccurs="1" minOccurs="0" type="xs:string" />
+ <xs:element name="dependencies" maxOccurs="1" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="dependency" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="id" type="xs:string" use="required" />
+ <xs:attribute name="version" type="xs:string" use="optional" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="frameworkAssemblies" maxOccurs="1" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="frameworkAssembly" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="assemblyName" type="xs:string" use="required" />
+ <xs:attribute name="targetFramework" type="xs:string" use="optional" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="references" maxOccurs="1" minOccurs="0">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="reference" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="file" type="xs:string" use="required" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:all>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="files" minOccurs="0" maxOccurs="1" nillable="true">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="file" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:attribute name="src" use="required" type="xs:string" />
+ <xs:attribute name="target" use="optional" type="xs:string" />
+ <xs:attribute name="exclude" use="optional" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/lib/NuGet.exe b/lib/NuGet.exe
new file mode 100644
index 00000000..c3960af6
--- /dev/null
+++ b/lib/NuGet.exe
Binary files differ
diff --git a/src/ProtocolBuffers2008.sln b/src/ProtocolBuffers2008.sln
index 26924c60..b08f0452 100644
--- a/src/ProtocolBuffers2008.sln
+++ b/src/ProtocolBuffers2008.sln
@@ -63,6 +63,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{66ED1950
..\build\Common.targets = ..\build\Common.targets
..\build\GenerateCompletePackage.bat = ..\build\GenerateCompletePackage.bat
..\build\GenerateReleasePackage.bat = ..\build\GenerateReleasePackage.bat
+ ..\build\nuget-package.nuspec = ..\build\nuget-package.nuspec
..\build\PublishRelease.bat = ..\build\PublishRelease.bat
..\build\RunBenchmarks.bat = ..\build\RunBenchmarks.bat
EndProjectSection