Finally corrected nuspec file to pack

This commit is contained in:
2017-09-14 15:49:26 +02:00
parent 388b4b7973
commit 546d1dc6d7
8 changed files with 46 additions and 14 deletions

Binary file not shown.

View File

@@ -32,14 +32,14 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE, KeePassWinRT</DefineConstants>
<DefineConstants>TRACE;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
@@ -49,7 +49,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
@@ -61,7 +61,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
@@ -71,7 +71,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
@@ -83,7 +83,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DefineConstants>TRACE;DEBUG;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
@@ -93,7 +93,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>TRACE;NETSTANDARD1_2, KeePassWinRT</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>

View File

@@ -1,17 +1,32 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<id>ModernKeePassLib</id>
<version>2.19.2900</version>
<title>ModernKeePassLib</title>
<authors>Geoffroy Bonneville</authors>
<owners>Geoffroy Bonneville</owners>
<licenseUrl>https://www.gnu.org/licenses/gpl-3.0.en.html</licenseUrl>
<projectUrl>https://github.com/wismna/ModernKeePass</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<description>Portable KeePass Password Management Library</description>
<releaseNotes>Initial release.</releaseNotes>
<copyright>$copyright$</copyright>
<copyright>Copyright © 2017 Geoffroy Bonneville</copyright>
<tags>KeePass KeePassLib NetStandard</tags>
<dependencies>
<group targetFramework=".NETStandard1.2">
<dependency id="Microsoft.NETCore.Portable.Compatibility" version="1.0.2" exclude="Build,Analyzers" />
<dependency id="NETStandard.Library" version="2.0.0" exclude="Build,Analyzers" />
<dependency id="System.Net.Requests" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.Runtime.WindowsRuntime" version="4.3.0" exclude="Build,Analyzers" />
<dependency id="System.Xml.XmlSerializer" version="4.3.0" exclude="Build,Analyzers" />
</group>
</dependencies>
</metadata>
<files>
<!-- DLLs and resources -->
<file src="bin\ARM\Release\ModernKeePassLib.dll" target="lib\ARM\netstandard1.2"/>
<file src="bin\x64\Release\ModernKeePassLib.dll" target="lib\x64\netstandard1.2"/>
<file src="bin\x86\Release\ModernKeePassLib.dll" target="lib\x86\netstandard1.2"/>
</files>
</package>

View File

@@ -111,6 +111,9 @@
"lib/netstandard1.0/_._": {}
}
},
"NuSpec.ReferenceGenerator/1.4.2": {
"type": "package"
},
"runtime.native.System/4.3.0": {
"type": "package",
"dependencies": {
@@ -775,6 +778,19 @@
"lib/netstandard1.0/_._"
]
},
"NuSpec.ReferenceGenerator/1.4.2": {
"sha512": "0AA2wcMaE84hDxzQOdRi2K2SGgEnJQ4LG6MyTrPvyjjyzeOT1hpUJk/w9NX5QAJy1T5eE7r3wPLq1rALr5oPaQ==",
"type": "package",
"files": [
"NuSpec.ReferenceGenerator.1.4.2.nupkg.sha512",
"NuSpec.ReferenceGenerator.nuspec",
"build/dotnet/NuSpec.ReferenceGenerator.targets",
"build/portable-net45+win+wpa81+wp80+MonoAndroid10+xamarinios10+MonoTouch10/NuSpec.ReferenceGenerator.targets",
"tools/RefGen.exe",
"tools/RefGen.exe.config",
"tools/RefGen.pdb"
]
},
"runtime.native.System/4.3.0": {
"sha512": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==",
"type": "package",
@@ -2986,6 +3002,7 @@
"": [
"Microsoft.NETCore.Portable.Compatibility >= 1.0.2",
"NETStandard.Library >= 2.0.0",
"NuSpec.ReferenceGenerator >= 1.4.2",
"System.Net.Requests >= 4.3.0",
"System.Runtime.WindowsRuntime >= 4.3.0",
"System.Xml.XmlSerializer >= 4.3.0"