Permalink
Browse files

upgraded to nuget 1.3 to pushlish symbols

  • Loading branch information...
1 parent 23a0cbf commit 52873d5664590520297627d242b084a86802755f @nberardi nberardi committed Apr 26, 2011
View
15 FluentCassandra.msbuild
@@ -12,10 +12,7 @@
<PropertyGroup>
<AssemblyName>FluentCassandra</AssemblyName>
- <AssemblyNetVersion>net40</AssemblyNetVersion>
<AssemblyInfo>src\Properties\AssemblyInfo.cs</AssemblyInfo>
- <PackagePath>nuget</PackagePath>
- <PackageSpec>$(PackagePath)\$(AssemblyName).nuspec</PackageSpec>
<PackageBuildPath>build</PackageBuildPath>
<PackageId>$(AssemblyName)</PackageId>
<NuGetExe>lib\nuget.exe</NuGetExe>
@@ -37,11 +34,6 @@
Files="$(AssemblyInfo)"
Regex='\[assembly: (Assembly(File)?Version)\("([0-9\.\*]+)"\)\]'
ReplacementText='[assembly: $1("$(build_number)")]' />
-
- <XmlUpdate
- XmlFileName="$(PackageSpec)"
- XPath="/package/metadata/version"
- Value="$(build_number)"/>
</Target>
<Target Name="Test" DependsOnTargets="SetVersion">
@@ -59,19 +51,18 @@
<MSBuild Projects="@(MainProjects)" Targets="Rebuild" Properties="Configuration=Release" />
</Target>
- <Target Name="Package" DependsOnTargets="Build">
+ <Target Name="Package" DependsOnTargets="Test">
<TeamCityProgressMessage Text="Packaging NuGet" />
<ItemGroup>
<AssembliesToPackage Include="src\bin\**\$(AssemblyName).dll" />
+ <AssembliesToPackage Include="src\bin\**\$(AssemblyName).pdb" />
</ItemGroup>
- <RemoveDir Directories="$(PackagePath)\lib" />
- <Copy SourceFiles="@(AssembliesToPackage)" DestinationFolder="$(PackagePath)\lib\$(AssemblyNetVersion)\" />
<Copy SourceFiles="@(AssembliesToPackage)" DestinationFolder="$(PackageBuildPath)" />
<Exec Command="$(NuGetExe) update" />
- <Exec Command="$(NuGetExe) pack $(PackageSpec) -o $(PackageBuildPath)" />
+ <Exec Command="$(NuGetExe) pack -sym src/$(AssemblyName).csproj -o $(PackageBuildPath)" />
</Target>
<Target Name="Deploy" DependsOnTargets="Package">
View
1 FluentCassandra.sln
@@ -10,7 +10,6 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{53AE6E93-92B4-4D33-9BE5-3CE59C1A2AD6}"
ProjectSection(SolutionItems) = preProject
FluentCassandra.msbuild = FluentCassandra.msbuild
- nuget\FluentCassandra.nuspec = nuget\FluentCassandra.nuspec
EndProjectSection
EndProject
Global
View
4 src/FluentCassandra.csproj
@@ -263,7 +263,9 @@
<Compile Include="Types\UTF8Type.cs" />
<Compile Include="Types\VoidType.cs" />
</ItemGroup>
- <ItemGroup />
+ <ItemGroup>
+ <None Include="FluentCassandra.nuspec" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
View
4 nuget/FluentCassandra.nuspec → src/FluentCassandra.nuspec
@@ -2,10 +2,10 @@
<package>
<metadata>
<id>FluentCassandra</id>
- <version>1.0.0</version>
+ <version>$version$</version>
<title>Fluent Cassandra</title>
<authors>Nick Berardi</authors>
- <owners>nberardi</owners>
+ <owners>Managed Fusion, LLC</owners>
<description>FluentCassandra is a .NET library for accessing Cassandra, which wraps the Thrift client library and provides a more fluent POCO interface for accessing and querying the objects in Cassandra.</description>
<summary>FluentCassandra is a .NET library for accessing Cassandra, which wraps the Thrift client library and provides a more fluent POCO interface for accessing and querying the objects in Cassandra.</summary>
<language>en-US</language>
View
8 src/Properties/AssemblyInfo.cs
@@ -6,11 +6,11 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FluentCassandra")]
-[assembly: AssemblyDescription("Cassandra wrapper around the Thrift interface. [http://managedfusion.com], [http://github.com/managedfusion/fluentcassandra]")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Managed Fusion")]
+[assembly: AssemblyDescription("FluentCassandra is a .NET library for accessing Cassandra, which wraps the Thrift client library and provides a more fluent POCO interface for accessing and querying the objects in Cassandra.")]
[assembly: AssemblyProduct("FluentCassandra")]
-[assembly: AssemblyCopyright("Copyright © Managed Fusion 2010")]
+[assembly: AssemblyCompany("Managed Fusion, LLC")]
+[assembly: AssemblyCopyright("Copyright © Nick Berardi, Managed Fusion, LLC 2011")]
+[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

0 comments on commit 52873d5

Please sign in to comment.