Skip to content

Commit 2778430

Browse files
committed
Updating nuspec and project files to generate nuget packages on any Release build.
1 parent cf0dbf0 commit 2778430

File tree

15 files changed

+110
-104
lines changed

15 files changed

+110
-104
lines changed

SadConsole.Platforms/SadConsole.Platforms.Windows.Ansi/Properties/AssemblyInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("SadConsole.Platforms.Windows.Ansi")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle("SadConsole.Ansi")]
9+
[assembly: AssemblyDescription("Utility library for SadConsole that can read and print ANSI.SYS text files and commands")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("SadConsole.Platforms.Windows.Ansi")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
11+
[assembly: AssemblyCompany("SadLogic")]
12+
[assembly: AssemblyProduct("SadConsole.Ansi")]
13+
[assembly: AssemblyCopyright("Copyright © 2015 Steve De George JR")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.1.0.1")]
36-
[assembly: AssemblyFileVersion("2.1.0.1")]
35+
[assembly: AssemblyVersion("2.5.0.0")]
36+
[assembly: AssemblyFileVersion("2.5.0.0")]

SadConsole.Platforms/SadConsole.Platforms.Windows.Ansi/SadConsole.Platforms.Windows.Ansi.csproj

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{55695088-7D09-4704-9D0C-7C69E0DE6D47}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>SadConsole.Platforms.Windows.Ansi</RootNamespace>
11-
<AssemblyName>SadConsole.Platforms.Windows.Ansi</AssemblyName>
10+
<RootNamespace>SadConsole.Ansi</RootNamespace>
11+
<AssemblyName>SadConsole.Ansi</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
</PropertyGroup>
@@ -20,7 +20,7 @@
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
23-
<DocumentationFile>bin\Debug\SadConsole.Platforms.Windows.Ansi.XML</DocumentationFile>
23+
<DocumentationFile>bin\Debug\SadConsole.Ansi.xml</DocumentationFile>
2424
</PropertyGroup>
2525
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2626
<DebugType>pdbonly</DebugType>
@@ -29,10 +29,11 @@
2929
<DefineConstants>TRACE</DefineConstants>
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
32+
<DocumentationFile>bin\Release\SadConsole.Ansi.XML</DocumentationFile>
3233
</PropertyGroup>
3334
<ItemGroup>
34-
<Reference Include="MonoGame.Framework, Version=3.4.0.459, Culture=neutral, processorArchitecture=MSIL">
35-
<HintPath>..\..\packages\MonoGame.Framework.WindowsDX.3.4.0.459\lib\net40\MonoGame.Framework.dll</HintPath>
35+
<Reference Include="MonoGame.Framework, Version=3.5.0.1678, Culture=neutral, processorArchitecture=MSIL">
36+
<HintPath>..\..\packages\MonoGame.Framework.WindowsDX.3.5.0.1678\lib\net40\MonoGame.Framework.dll</HintPath>
3637
<Private>True</Private>
3738
</Reference>
3839
<Reference Include="System" />
@@ -48,7 +49,7 @@
4849
</ItemGroup>
4950
<ItemGroup>
5051
<ProjectReference Include="..\SadConsole.Platforms.Windows.Core\SadConsole.Platforms.Windows.Core.csproj">
51-
<Project>{9E8424E8-EFD3-4158-B49E-FECCD7509A7F}</Project>
52+
<Project>{9e8424e8-efd3-4158-b49e-feccd7509a7f}</Project>
5253
<Name>SadConsole.Platforms.Windows.Core</Name>
5354
</ProjectReference>
5455
</ItemGroup>
@@ -57,11 +58,12 @@
5758
</ItemGroup>
5859
<Import Project="..\..\SadConsole.Ansi\SadConsole.Ansi.projitems" Label="Shared" />
5960
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
60-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
61+
<!--To modify your build process, add your task inside one of the targets below and uncomment it.
6162
Other similar extension points exist, see Microsoft.Common.targets.
6263
<Target Name="BeforeBuild">
64+
</Target>-->
65+
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
66+
<Exec Command="nuget pack $(ProjectName).csproj -IncludeReferencedProjects -Prop Configuration=Release">
67+
</Exec>
6368
</Target>
64-
<Target Name="AfterBuild">
65-
</Target>
66-
-->
6769
</Project>
Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
<?xml version="1.0"?>
22
<package >
33
<metadata>
4-
<id>EdCanHack.SadConsole.Platforms.Windows.Ansi</id>
4+
<id>$id$</id>
55
<version>$version$</version>
6-
<title>SadConsole Ansi - Windows</title>
7-
<authors>Steve De George</authors>
8-
<owners>Ed Ropple</owners>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>Thraka</owners>
99
<licenseUrl>https://github.com/Thraka/SadConsole/blob/master/LICENSE.md</licenseUrl>
1010
<projectUrl>https://github.com/Thraka/SadConsole</projectUrl>
11-
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
1211
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13-
<description>
14-
Builds upon SadConsole.Core to provide ANSI documents as data. (Unofficial NuGet port.)
15-
</description>
12+
<description>$description$</description>
1613
<releaseNotes>
14+
2.5.0: New NuGet package; Using semantic versioning - Fresh new version; Updated animation system; Target MonoGame 3.5
15+
1716
2.0.0: First NuGet release, targeting MonoGame 3.3.
1817
</releaseNotes>
19-
<copyright>Copyright 2014 Steve De George</copyright>
20-
<tags>monogame roguelike cli xna game development</tags>
21-
<dependencies>
22-
<dependency id="EdCanHack.SadConsole.Platforms.Windows.Core" version="(1.9.99999, 2.1.0)" />
23-
</dependencies>
18+
<copyright>Copyright 2016 Steve De George JR</copyright>
19+
<tags>monogame roguelike cli xna game development console ansi ascii</tags>
2420
</metadata>
2521
</package>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="MonoGame.Framework.WindowsDX" version="3.4.0.459" targetFramework="net45" />
3+
<package id="MonoGame.Framework.WindowsDX" version="3.5.0.1678" targetFramework="net45" />
44
</packages>

SadConsole.Platforms/SadConsole.Platforms.Windows.Controls/Properties/AssemblyInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("SadConsole.Platforms.Windows.Controls")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle("SadConsole.Controls")]
9+
[assembly: AssemblyDescription("A GUI library for SadConsole")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("SadConsole.Platforms.Windows.Controls")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
11+
[assembly: AssemblyCompany("SadLogic")]
12+
[assembly: AssemblyProduct("SadConsole.Controls")]
13+
[assembly: AssemblyCopyright("Copyright © 2015 Steve De George JR (Thraka)")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.0.0.0")]
36-
[assembly: AssemblyFileVersion("2.0.0.0")]
35+
[assembly: AssemblyVersion("2.5.0.0")]
36+
[assembly: AssemblyFileVersion("2.5.0.0")]

SadConsole.Platforms/SadConsole.Platforms.Windows.Controls/SadConsole.Platforms.Windows.Controls.csproj

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{46F11907-CEF3-4069-B041-0A88880981E6}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>SadConsole.Platforms.Windows.Controls</RootNamespace>
11-
<AssemblyName>SadConsole.Platforms.Windows.Controls</AssemblyName>
10+
<RootNamespace>SadConsole.Controls</RootNamespace>
11+
<AssemblyName>SadConsole.Controls</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
</PropertyGroup>
@@ -20,7 +20,7 @@
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
23-
<DocumentationFile>bin\Debug\SadConsole.Platforms.Windows.Controls.XML</DocumentationFile>
23+
<DocumentationFile>bin\Debug\SadConsole.Controls.xml</DocumentationFile>
2424
</PropertyGroup>
2525
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2626
<DebugType>pdbonly</DebugType>
@@ -29,10 +29,11 @@
2929
<DefineConstants>TRACE</DefineConstants>
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
32+
<DocumentationFile>bin\Release\SadConsole.Controls.XML</DocumentationFile>
3233
</PropertyGroup>
3334
<ItemGroup>
34-
<Reference Include="MonoGame.Framework, Version=3.4.0.459, Culture=neutral, processorArchitecture=MSIL">
35-
<HintPath>..\..\packages\MonoGame.Framework.WindowsDX.3.4.0.459\lib\net40\MonoGame.Framework.dll</HintPath>
35+
<Reference Include="MonoGame.Framework, Version=3.5.0.1678, Culture=neutral, processorArchitecture=MSIL">
36+
<HintPath>..\..\packages\MonoGame.Framework.WindowsDX.3.5.0.1678\lib\net40\MonoGame.Framework.dll</HintPath>
3637
<Private>True</Private>
3738
</Reference>
3839
<Reference Include="System" />
@@ -47,22 +48,23 @@
4748
<ItemGroup>
4849
<Compile Include="Properties\AssemblyInfo.cs" />
4950
</ItemGroup>
51+
<ItemGroup>
52+
<None Include="packages.config" />
53+
</ItemGroup>
5054
<ItemGroup>
5155
<ProjectReference Include="..\SadConsole.Platforms.Windows.Core\SadConsole.Platforms.Windows.Core.csproj">
52-
<Project>{9E8424E8-EFD3-4158-B49E-FECCD7509A7F}</Project>
56+
<Project>{9e8424e8-efd3-4158-b49e-feccd7509a7f}</Project>
5357
<Name>SadConsole.Platforms.Windows.Core</Name>
5458
</ProjectReference>
5559
</ItemGroup>
56-
<ItemGroup>
57-
<None Include="packages.config" />
58-
</ItemGroup>
5960
<Import Project="..\..\SadConsole.Controls\SadConsole.Controls.projitems" Label="Shared" />
6061
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
61-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
62+
<!--To modify your build process, add your task inside one of the targets below and uncomment it.
6263
Other similar extension points exist, see Microsoft.Common.targets.
6364
<Target Name="BeforeBuild">
65+
</Target>-->
66+
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
67+
<Exec Command="nuget pack $(ProjectName).csproj -IncludeReferencedProjects -Prop Configuration=Release">
68+
</Exec>
6469
</Target>
65-
<Target Name="AfterBuild">
66-
</Target>
67-
-->
6870
</Project>
Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
<?xml version="1.0"?>
22
<package >
33
<metadata>
4-
<id>EdCanHack.SadConsole.Platforms.Windows.Controls</id>
4+
<id>$id$</id>
55
<version>$version$</version>
6-
<title>SadConsole Controls - Windows</title>
7-
<authors>Steve De George</authors>
8-
<owners>Ed Ropple</owners>
6+
<title>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>Thraka</owners>
99
<licenseUrl>https://github.com/Thraka/SadConsole/blob/master/LICENSE.md</licenseUrl>
1010
<projectUrl>https://github.com/Thraka/SadConsole</projectUrl>
11-
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
1211
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13-
<description>
14-
Builds upon SadConsole.Core to provide GUI control elements. (Unofficial NuGet port.)
15-
</description>
12+
<description>$description$</description>
1613
<releaseNotes>
14+
2.5.0: New NuGet package; Using semantic versioning - Fresh new version; Target MonoGame 3.5
15+
1716
2.0.0: First NuGet release, targeting MonoGame 3.3.
1817
</releaseNotes>
19-
<copyright>Copyright 2014 Steve De George</copyright>
20-
<tags>monogame roguelike cli xna game development</tags>
21-
<dependencies>
22-
<dependency id="EdCanHack.SadConsole.Platforms.Windows.Core" version="(1.9.99999, 2.1.0)" />
23-
</dependencies>
18+
<copyright>Copyright 2016 Steve De George JR</copyright>
19+
<tags>monogame roguelike cli xna game development console ansi ascii</tags>
2420
</metadata>
2521
</package>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="MonoGame.Framework.WindowsDX" version="3.4.0.459" targetFramework="net45" />
3+
<package id="MonoGame.Framework.WindowsDX" version="3.5.0.1678" targetFramework="net45" />
44
</packages>

SadConsole.Platforms/SadConsole.Platforms.Windows.Core/Properties/AssemblyInfo.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("SadConsole.Platforms.Windows.Core")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle("SadConsole.Core")]
9+
[assembly: AssemblyDescription("A MonoGame library that emulates old-school console and command prompt style graphics.")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("SadConsole.Platforms.Windows.Core")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
11+
[assembly: AssemblyCompany("SadLogic")]
12+
[assembly: AssemblyProduct("SadConsole.Core")]
13+
[assembly: AssemblyCopyright("Copyright © 2015 Steve De George JR (Thraka)")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.1.1.0")]
36-
[assembly: AssemblyFileVersion("2.1.1.0")]
35+
[assembly: AssemblyVersion("2.5.0.0")]
36+
[assembly: AssemblyFileVersion("2.5.0.0")]

SadConsole.Platforms/SadConsole.Platforms.Windows.Core/SadConsole.Platforms.Windows.Core.csproj

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{9E8424E8-EFD3-4158-B49E-FECCD7509A7F}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>SadConsole.Platforms.Windows.Core</RootNamespace>
11-
<AssemblyName>SadConsole.Platforms.Windows.Core</AssemblyName>
10+
<RootNamespace>SadConsole.Core</RootNamespace>
11+
<AssemblyName>SadConsole.Core</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
</PropertyGroup>
@@ -20,7 +20,7 @@
2020
<DefineConstants>DEBUG;TRACE</DefineConstants>
2121
<ErrorReport>prompt</ErrorReport>
2222
<WarningLevel>4</WarningLevel>
23-
<DocumentationFile>bin\Debug\SadConsole.Platforms.Windows.Core.XML</DocumentationFile>
23+
<DocumentationFile>bin\Debug\SadConsole.Core.xml</DocumentationFile>
2424
</PropertyGroup>
2525
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2626
<DebugType>pdbonly</DebugType>
@@ -29,10 +29,11 @@
2929
<DefineConstants>TRACE</DefineConstants>
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
32+
<DocumentationFile>bin\Release\SadConsole.Core.XML</DocumentationFile>
3233
</PropertyGroup>
3334
<ItemGroup>
34-
<Reference Include="MonoGame.Framework, Version=3.4.0.459, Culture=neutral, processorArchitecture=MSIL">
35-
<HintPath>..\..\packages\MonoGame.Framework.WindowsDX.3.4.0.459\lib\net40\MonoGame.Framework.dll</HintPath>
35+
<Reference Include="MonoGame.Framework, Version=3.5.0.1678, Culture=neutral, processorArchitecture=MSIL">
36+
<HintPath>..\..\packages\MonoGame.Framework.WindowsDX.3.5.0.1678\lib\net40\MonoGame.Framework.dll</HintPath>
3637
<Private>True</Private>
3738
</Reference>
3839
<Reference Include="System" />
@@ -52,11 +53,15 @@
5253
</ItemGroup>
5354
<Import Project="..\..\SadConsole.Core\SadConsole.Core.projitems" Label="Shared" />
5455
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
55-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
56+
<PropertyGroup>
57+
<PostBuildEvent>
58+
</PostBuildEvent>
59+
</PropertyGroup>
60+
<!--To modify your build process, add your task inside one of the targets below and uncomment it.
5661
Other similar extension points exist, see Microsoft.Common.targets.
5762
<Target Name="BeforeBuild">
63+
</Target>-->
64+
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
65+
<Exec Command="nuget pack $(ProjectName).csproj -Prop Configuration=Release"></Exec>
5866
</Target>
59-
<Target Name="AfterBuild">
60-
</Target>
61-
-->
6267
</Project>

0 commit comments

Comments
 (0)