diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2015-04-17 14:15:52 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2015-04-17 14:15:52 -0700 |
commit | 01c8c35ca3d3424a9473dd22ea2456933b3e8d36 (patch) | |
tree | de582cb9ef3e449f24015dec09f80e998806b26a /csharp/build/nuspec.xsd | |
parent | 813d6d652d8091e9365bfbd01efb5f2ee8bdfbce (diff) | |
parent | 1eab56aee8dddcb656db67d9fb87a8cc6a2ac112 (diff) | |
download | protobuf-01c8c35ca3d3424a9473dd22ea2456933b3e8d36.tar.gz protobuf-01c8c35ca3d3424a9473dd22ea2456933b3e8d36.tar.bz2 protobuf-01c8c35ca3d3424a9473dd22ea2456933b3e8d36.zip |
Merge pull request #2 from jtattermusch/csharp_protobuf_imported
Pulling protobuf-csharp-port into csharp/ directory
Diffstat (limited to 'csharp/build/nuspec.xsd')
-rw-r--r-- | csharp/build/nuspec.xsd | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/csharp/build/nuspec.xsd b/csharp/build/nuspec.xsd new file mode 100644 index 00000000..db744d1a --- /dev/null +++ b/csharp/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>
|