いくつかのアセンブリ参照を追加するために nuget パッケージを更新しようとしていますが、次のエラーが発生します。
名前空間 ' http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd 'の要素 'metadata' には、名前空間http://schemas.microsoft.com/packaging/2010に無効な子要素 'frameworkAssemblies' があります/07/nuspec.xsd '. 予想される可能な要素のリスト: 名前空間の '依存関係、言語、概要' http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd '
この機能は NuGet 1.2 で追加されたと思います - 私は 1.2.2213.45 を使用しています。
これが私のnuspecファイルです:
<?xml version="1.0"?>
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>PetaPoco.Core</id>
<title>PetaPoco.Core - A tiny ORMish thing for your POCOs (Core Only)</title>
<version>3.0.0</version>
<authors>Topten Software</authors>
<owners>Topten Software</owners>
<licenseUrl>http://www.toptensoftware.com/petapoco/license</licenseUrl>
<projectUrl>http://www.toptensoftware.com/petapoco/</projectUrl>
<iconUrl>http://www.toptensoftware.com/petapoco/nuget_icon.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>
PetaPoco is a tiny, single file .NET data access layer inspired by Massive that works with both non-dynamic POCO objects and dynamics.
This package includes the just the core PetaPoco library (ie: no T4 templates)
</description>
<tags>ORM POCO MVC MVC2 MVC3 ASP.NET WebForms WebMatrix MySQL Database</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Data" />
<frameworkAssembly assemblyName="System.Configuration" />
</frameworkAssemblies>
</metadata>
<files>
<file src="PetaPoco.cs" target="Content\Models" />
</files>
</package>