Skip to content

Commit 7cbd492

Browse files
committed
Add .nuspec
Switch to building Release by default Populate AssemblyInfo
1 parent 6dc0a16 commit 7cbd492

File tree

5 files changed

+32
-11
lines changed

5 files changed

+32
-11
lines changed

PoshCode.Controls/PoshCode.Controls.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
66
<ProductVersion>9.0.30729</ProductVersion>
77
<SchemaVersion>2.0</SchemaVersion>

PoshCode.PoshConsole/PoshCode.PoshConsole.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{8135F268-594F-4536-A0A6-1B63923811F8}</ProjectGuid>
88
<OutputType>library</OutputType>
@@ -133,7 +133,7 @@
133133
<Generator>ResXFileCodeGenerator</Generator>
134134
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
135135
</EmbeddedResource>
136-
<None Include="packages.config" />
136+
<None Include="PoshCode.PoshConsole.nuspec" />
137137
<None Include="Properties\Colors.settings">
138138
<Generator>SettingsSingleFileGenerator</Generator>
139139
<LastGenOutput>Colors.Designer.cs</LastGenOutput>
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>$title$</title>
7+
<authors>$author$</authors>
8+
<owners>$author$</owners>
9+
<licenseUrl>https://github.com/Jaykul/PoshConsole/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/Jaykul/PoshConsole/</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>$description$</description>
13+
<releaseNotes>Initial release, so it can be used for hosting.</releaseNotes>
14+
<copyright>Copyright (c) Joel Bennett, 2015</copyright>
15+
<tags>PowerShell WPF Hosting</tags>
16+
</metadata>
17+
</package>

PoshCode.PoshConsole/Properties/AssemblyInfo.cs

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
using System.Reflection;
1+
using System.Resources;
2+
using System.Reflection;
23
using System.Runtime.InteropServices;
34
using System.Windows;
45
using System.Windows.Markup;
56

67
// General Information about an assembly is controlled through the following
78
// set of attributes. Change these attribute values to modify the information
89
// associated with an assembly.
9-
[assembly: AssemblyTitle("WpfControlLibrary1")]
10-
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyTitle("PoshConsole")]
11+
[assembly: AssemblyDescription("The PoshConsole Control for hosting PowerShell in WPF")]
1112
[assembly: AssemblyConfiguration("")]
12-
[assembly: AssemblyCompany("")]
13-
[assembly: AssemblyProduct("WpfControlLibrary1")]
14-
[assembly: AssemblyCopyright("Copyright © 2015")]
13+
[assembly: AssemblyCompany("PoshCode.com")]
14+
[assembly: AssemblyProduct("PoshCode.PoshConsole")]
15+
[assembly: AssemblyCopyright("Copyright © Joel Bennett 2015")]
1516
[assembly: AssemblyTrademark("")]
1617
[assembly: AssemblyCulture("")]
1718

@@ -53,5 +54,7 @@
5354
// You can specify all the values or you can default the Build and Revision Numbers
5455
// by using the '*' as shown below:
5556
// [assembly: AssemblyVersion("1.0.*")]
56-
[assembly: AssemblyVersion("1.0.0.0")]
57-
[assembly: AssemblyFileVersion("1.0.0.0")]
57+
[assembly: AssemblyVersion("0.6.1.0")]
58+
[assembly: AssemblyFileVersion("0.6.1.0")]
59+
[assembly: NeutralResourcesLanguage("en-US")]
60+

PoshConsole.Demo/PoshConsole.Demo.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</Reference>
4444
<Reference Include="System" />
4545
<Reference Include="System.Data" />
46+
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
4647
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
4748
<HintPath>..\packages\Fluent.Ribbon.3.4.2.173\lib\net45\System.Windows.Interactivity.dll</HintPath>
4849
<Private>True</Private>

0 commit comments

Comments
 (0)