Skip to content

Commit

Permalink
(#94) Upgrade sln to netstandard1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
par.dahlman committed Jul 12, 2016
1 parent 5e61aab commit a13d065
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 56 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# RawRabbit

[![Build Status](https://img.shields.io/appveyor/ci/pardahlman/rawrabbit.svg?style=flat-square)](https://ci.appveyor.com/project/pardahlman/rawrabbit) [![Documentation Status](https://readthedocs.org/projects/rawrabbit/badge/?version=latest&style=flat-square)](http://rawrabbit.readthedocs.org/) [![NuGet](https://img.shields.io/nuget/v/RawRabbit.svg?style=flat-square)](https://www.nuget.org/packages/RawRabbit) [![GitHub release](https://img.shields.io/github/release/pardahlman/rawrabbit.svg?style=flat-square)](https://github.com/pardahlman/rawrabbit/releases/latest)

## Support for .NET Core 1.0
The branch `dotnet-core` uses [RabbitMQ's preview of `RabbitMQ.Client` 4.0.0](https://groups.google.com/forum/#!topic/rabbitmq-users/hyJLlXCbocY), which is built for `netstandard1.5` and `net451`. This means that `RawRabbit` now can run on any platform. To Install, first make sure that you have added [RabbitMq's AppVeyor Feed](https://ci.appveyor.com/nuget/rabbitmq-dotnet-client-ci) to your NuGet feeds, then run

```
PM> Install-Package RawRabbit -Version 1.9.4-dotnetcore -Pre
```

## Quick introduction
`RawRabbit` is a modern .NET client for communication over [RabbitMq](http://rabbitmq.com/). It is written for [`vNext`](http://www.asp.net/vnext) and is uses Microsoft’s new frameworks for [logging](https://github.com/aspnet/Logging), [configuration](https://github.com/aspnet/Configuration) and [dependecy injection](https://github.com/aspnet/DependencyInjection). It targets traditional `NET` runtimes, [`DNX` runtimes](https://github.com/aspnet/dnx) and has all the ground work done for [`.NET Core`](https://github.com/dotnet/core). Full documentation available at [`rawrabbit.readthedocs.org`](http://rawrabbit.readthedocs.org/).

Expand Down
10 changes: 9 additions & 1 deletion sample/RawRabbit.AspNet.Sample/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@
},

"frameworks": {
"net46": {}
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": "dnxcore50"
}
},

"buildOptions": {
Expand Down
10 changes: 9 additions & 1 deletion sample/RawRabbit.ConsoleApp.Sample/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@
},

"frameworks": {
"net46": { }
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": "dnxcore50"
}
},

"publishOptions": {
Expand Down
5 changes: 3 additions & 2 deletions sample/RawRabbit.Messages.Sample/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"version": "1.0.0-*",

"dependencies": {
"RawRabbit.Attributes": {"target": "project"}
"RawRabbit.Attributes": { "target": "project" }
},

"frameworks": {
"net46": { }
"netstandard1.5": {},
"net451": {}
}
}
10 changes: 4 additions & 6 deletions src/RawRabbit.Attributes/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit.Attributes",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "pardahlman" ],
"description": "Configure messages and topology with attributes.",
"packOptions": {
Expand All @@ -11,13 +11,11 @@
},

"dependencies": {
"RawRabbit": {"target": "project" }
"RawRabbit": { "target": "project" }
},

"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"netstandard1.5": {},
"net451": {}
}
}
10 changes: 4 additions & 6 deletions src/RawRabbit.DependencyInjection.Autofac/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit.DependencyInjection.Autofac",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "par.dahlman" ],
"description": "Wire up RawRabbit with Autfac!",

Expand All @@ -13,12 +13,10 @@

"dependencies": {
"RawRabbit": { "target": "project" },
"Autofac": "3.5.2"
"Autofac": "4.0.0-rc3-293"
},
"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"netstandard1.5": {},
"net451": {}
}
}
9 changes: 3 additions & 6 deletions src/RawRabbit.DependencyInjection.Ninject/project.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"title": "RawRabbit.DependencyInjection.Ninject",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "par.dahlman", "Joshua Barron" ],
"description": "Wire up RawRabbit with Ninject!",

"packOptions": {
"iconUrl": "http://pardahlman.se/raw/icon.png",
"projectUrl": "https://github.com/pardahlman/RawRabbit",
"tags": [ "rabbitmq", "raw", "rawrabbit", "ninject" ],
"tags": [ "rabbitmq", "raw", "rawrabbit", "ninject" ],
"publishExclude": [ "**.xproj", "**.user", "**.vspscc" ]
},

Expand All @@ -16,9 +16,6 @@
"Ninject": "3.2.2"
},
"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"net451": {}
}
}
12 changes: 7 additions & 5 deletions src/RawRabbit.Extensions/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit.Extensions",
"version": "1.9.4",
"version": "1.9.4-dotnetcore",
"description": "Make the most of RawRabbit with these extensions",
"authors": [ "par.dahlman" ],
"packOptions": {
Expand All @@ -16,9 +16,11 @@
},

"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"netstandard1.5": {
"dependencies": {
"System.Net.Requests": "4.0.11"
}
},
"net451": {}
}
}
7 changes: 2 additions & 5 deletions src/RawRabbit.Logging.Log4Net/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit.Logging.Log4Net",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "par.dahlman" ],
"description": "Write RawRabbit's logs with Log4Net",

Expand All @@ -17,9 +17,6 @@
},

"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"net451": {}
}
}
10 changes: 4 additions & 6 deletions src/RawRabbit.Logging.NLog/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit.Logging.NLog",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "par.dahlman" ],
"description": "Write RawRabbit's logs with NLog",

Expand All @@ -13,13 +13,11 @@

"dependencies": {
"RawRabbit": { "target": "project" },
"NLog": "4.3.5"
"NLog": "4.4.0-betaV14"
},

"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"netstandard1.5": {},
"net451": {}
}
}
10 changes: 4 additions & 6 deletions src/RawRabbit.Logging.Serilog/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit.Logging.Serilog",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "par.dahlman" ],
"description": "Write RawRabbit's logs with Serilog",

Expand All @@ -13,12 +13,10 @@

"dependencies": {
"RawRabbit": { "target": "project" },
"Serilog": "2.0.0"
"Serilog": "2.0.0"
},
"frameworks": {
"dnx451": {},
"net451": {},
"net452": {},
"net46": {}
"netstandard1.5": {},
"net451": {}
}
}
10 changes: 4 additions & 6 deletions src/RawRabbit.vNext/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.9.4",
"version": "1.9.4-dotnetcore",
"authors": [ "pardahlman", "enrique-avalon" ],
"description": "Take advantage of vNext for your RawRabbit setup. Extension for IServiceCollection, IConfiguration support and much more!",
"packOptions": {
Expand All @@ -10,17 +10,15 @@
},

"dependencies": {
"RawRabbit": {"target": "project"},
"RawRabbit": { "target": "project" },
"Microsoft.Extensions.DependencyInjection": "1.0.0",
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Configuration": "1.0.0",
"Microsoft.Extensions.Configuration.Binder": "1.0.0"
},

"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"netstandard1.5": {},
"net451": {}
}
}
10 changes: 4 additions & 6 deletions src/RawRabbit/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "RawRabbit",
"version": "1.9.4-*",
"version": "1.9.4-dotnetcore",
"authors": [ "pardahlman", "enrique-avalon" ],
"description": "A modern framework for communication over RabbitMq.",
"packOptions": {
Expand All @@ -11,14 +11,12 @@
},

"dependencies": {
"RabbitMQ.Client": "3.6.3",
"RabbitMQ.Client": "4.0.0-ci-201607111224",
"Newtonsoft.Json": "9.0.1"
},

"frameworks": {
"dnx451": { },
"net451": { },
"net452": { },
"net46": { }
"netstandard1.5": {},
"net451": {}
}
}

0 comments on commit a13d065

Please sign in to comment.