Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit 80c3f04

Browse files
committed
Added package spec and appveyor configuration.
1 parent f279bb5 commit 80c3f04

File tree

4 files changed

+46
-1
lines changed

4 files changed

+46
-1
lines changed

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[assembly: AssemblyTitle("XmlAbstraction")]
1313
[assembly: AssemblyDescription("")]
1414
[assembly: AssemblyConfiguration("")]
15-
[assembly: AssemblyCompany("")]
15+
[assembly: AssemblyCompany("AraHaan")]
1616
[assembly: AssemblyProduct("XmlAbstraction")]
1717
[assembly: AssemblyCopyright("Copyright © 2018")]
1818
[assembly: AssemblyTrademark("")]
@@ -38,3 +38,4 @@
3838
// [assembly: AssemblyVersion("1.0.*")]
3939
[assembly: AssemblyVersion("1.0.0.0")]
4040
[assembly: AssemblyFileVersion("1.0.0.0")]
41+
[assembly: AssemblyInformationalVersion("1.0.0.0")]

XmlAbstraction.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
<Compile Include="XmlObject.cs" />
5050
</ItemGroup>
5151
<ItemGroup>
52+
<PackageReference Include="NuGet.CommandLine">
53+
<Version>4.7.1</Version>
54+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
55+
<PrivateAssets>all</PrivateAssets>
56+
</PackageReference>
5257
<PackageReference Include="StyleCop.Analyzers">
5358
<Version>1.1.0-beta009</Version>
5459
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>

XmlAbstraction.nuspec

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>XmlAbstraction</title>
7+
<authors>AraHaan</authors>
8+
<owners>AraHaan</owners>
9+
<licenseUrl>https://github.com/AraHaan/XmlAbstraction/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/AraHaan/XmlAbstraction/</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>A library that contains a System.Xml and System.Xml.Linq abstraction class.</description>
13+
<releaseNotes>Initial release.</releaseNotes>
14+
<copyright>Copyright 2018</copyright>
15+
<tags>XML</tags>
16+
</metadata>
17+
</package>

appveyor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 1.0.0.0-alpha{build}
2+
branches:
3+
only:
4+
- master
5+
max_jobs: 15
6+
image: Visual Studio 2017
7+
configuration: Release
8+
platform: Any CPU
9+
build:
10+
project: XmlAbstraction.sln
11+
publish_nuget: true
12+
publish_nuget_symbols: true
13+
include_nuget_references: true
14+
parallel: true
15+
verbosity: minimal
16+
test: off
17+
deploy:
18+
- provider: NuGet
19+
api_key:
20+
secure: w8jKLcMWVbTVBRRjl6k2eoRvajr5DpIB4XBhlEddCvx/9dSnDYbK5J0qXZXazE/E
21+
on:
22+
APPVEYOR_REPO_TAG: true

0 commit comments

Comments
 (0)