Skip to content

Commit

Permalink
preparation for nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
beneidel committed Sep 1, 2012
1 parent 87a9273 commit 2e80c9d
Show file tree
Hide file tree
Showing 18 changed files with 170 additions and 99 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -106,3 +106,4 @@ UpgradeLog*.XML

# NuGet
packages/
*.nupkg
23 changes: 23 additions & 0 deletions GlobalAssemblyInfo.cs
@@ -0,0 +1,23 @@
using System.Reflection;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Cinchcast")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
19 changes: 0 additions & 19 deletions Roque.Common.Interfaces/Properties/AssemblyInfo.cs
@@ -1,18 +1,12 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Roque.Common.Interfaces")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Roque.Common.Interfaces")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
Expand All @@ -21,16 +15,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("5ab5a751-df92-4b65-9e3e-a8b1b60a8d15")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
3 changes: 3 additions & 0 deletions Roque.Common.Interfaces/Roque.Common.Interfaces.csproj
Expand Up @@ -40,6 +40,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="IRoqueCommander.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ITrace.cs" />
Expand Down
19 changes: 0 additions & 19 deletions Roque.Common.Services/Properties/AssemblyInfo.cs
@@ -1,18 +1,12 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Roque.Common.Services")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Roque.Common.Services")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
Expand All @@ -21,16 +15,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("81745927-24e3-4fa5-8568-4105a952133c")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
3 changes: 3 additions & 0 deletions Roque.Common.Services/Roque.Common.Services.csproj
Expand Up @@ -40,6 +40,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="PropertyChangeTracer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RoqueCommander.cs" />
Expand Down
21 changes: 1 addition & 20 deletions Roque.Core/Properties/AssemblyInfo.cs
@@ -1,18 +1,12 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Roque.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Cinchcast")]
[assembly: AssemblyDescription("Roque event & work queueing framework")]
[assembly: AssemblyProduct("Roque.Core")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
Expand All @@ -21,16 +15,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("9a902e44-7651-4e44-a03d-45d6f8de2938")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
9 changes: 9 additions & 0 deletions Roque.Core/Roque.Core.csproj
Expand Up @@ -52,6 +52,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Configuration\SubscriberCollection.cs" />
<Compile Include="Configuration\SubscriberElement.cs" />
<Compile Include="Configuration\SettingsCollection.cs" />
Expand Down Expand Up @@ -79,6 +82,12 @@
<Compile Include="WorkerArray.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="app.config.transform">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="web.config.transform">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="WorkerSide.cd" />
<None Include="ProducerSide.cd" />
<None Include="packages.config" />
Expand Down
37 changes: 37 additions & 0 deletions Roque.Core/app.config.transform
@@ -0,0 +1,37 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="roque" type="Cinchcast.Roque.Core.Configuration.Roque, Roque.Core"/>
</configSections>
<roque>
<queues>
<!-- define your work queues -->
<queue name="default" type="Cinchcast.Roque.Redis.RedisQueue, Roque.Redis">
<settings>
<!-- for RedisQueue available settings are host and port -->
<setting key="host" value="localhost"/>
</settings>
</queue>
<!-- default event queue (only necessary on the broadcaster side) -->
<queue name="_events" type="Cinchcast.Roque.Redis.RedisQueue, Roque.Redis">
<settings>
<setting key="host" value="localhost"/>
</settings>
</queue>
</queues>
</roque>
<system.diagnostics>
<switches>
<add name="roque" value="Verbose"/>
</switches>
<trace autoflush="true">
<listeners>
<add name="logListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="roque.log"/>
<add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener"/>
</listeners>
</trace>
</system.diagnostics>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
37 changes: 37 additions & 0 deletions Roque.Core/web.config.transform
@@ -0,0 +1,37 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="roque" type="Cinchcast.Roque.Core.Configuration.Roque, Roque.Core"/>
</configSections>
<roque>
<queues>
<!-- define your work queues -->
<queue name="default" type="Cinchcast.Roque.Redis.RedisQueue, Roque.Redis">
<settings>
<!-- for RedisQueue available settings are host and port -->
<setting key="host" value="localhost"/>
</settings>
</queue>
<!-- default event queue (only necessary on the broadcaster side) -->
<queue name="_events" type="Cinchcast.Roque.Redis.RedisQueue, Roque.Redis">
<settings>
<setting key="host" value="localhost"/>
</settings>
</queue>
</queues>
</roque>
<system.diagnostics>
<switches>
<add name="roque" value="Verbose"/>
</switches>
<trace autoflush="true">
<listeners>
<add name="logListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="roque.log"/>
<add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener"/>
</listeners>
</trace>
</system.diagnostics>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
</startup>
</configuration>
21 changes: 1 addition & 20 deletions Roque.Redis/Properties/AssemblyInfo.cs
@@ -1,18 +1,12 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Roque.Redis")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyDescription("Redis support for Roque")]
[assembly: AssemblyProduct("Roque.Redis")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
Expand All @@ -21,16 +15,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("c3579fc6-85e3-4852-99ed-ed449935dbfb")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
3 changes: 3 additions & 0 deletions Roque.Redis/Roque.Redis.csproj
Expand Up @@ -45,6 +45,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RedisQueue.cs" />
</ItemGroup>
Expand Down
21 changes: 1 addition & 20 deletions Roque.Service/Properties/AssemblyInfo.cs
@@ -1,18 +1,12 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Roque.Service")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyDescription("Windows Service and Console app for Roque")]
[assembly: AssemblyProduct("Roque.Service")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
Expand All @@ -21,16 +15,3 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("fcc60523-5e2a-4d9e-b532-fd8e003c439f")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
3 changes: 3 additions & 0 deletions Roque.Service/Roque.Service.csproj
Expand Up @@ -72,6 +72,9 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GlobalAssemblyInfo.cs">
<Link>Properties\GlobalAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Installer.cs">
<SubType>Component</SubType>
</Compile>
Expand Down
2 changes: 1 addition & 1 deletion Roque.Service/app.config
Expand Up @@ -21,7 +21,7 @@
</queue>
</queues>
<workers>
<!-- default your workers (on the consumer side) -->
<!-- define your workers (on the consumer side) -->
<worker name="main" queue="main">
<!-- classes that subscribe to events (not necessary when consuming work queues) -->
<subscribers>
Expand Down

0 comments on commit 2e80c9d

Please sign in to comment.