diff --git a/WireMock.Net Solution.sln b/WireMock.Net Solution.sln index bd8230f5..26df8868 100644 --- a/WireMock.Net Solution.sln +++ b/WireMock.Net Solution.sln @@ -42,6 +42,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WireMock.Net.StandAlone.Net {B6269AAC-170A-43D5-8B9A-579DED3D9A95} = {B6269AAC-170A-43D5-8B9A-579DED3D9A95} EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WireMock.Net.ConsoleTest.Net452", "examples\WireMock.Net.ConsoleTest.Net452\WireMock.Net.ConsoleTest.Net452.csproj", "{B5F1A150-37E1-434D-929F-FAD5AC428107}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -84,6 +86,10 @@ Global {668F689E-57B4-422E-8846-C0FF643CA999}.Debug|Any CPU.Build.0 = Debug|Any CPU {668F689E-57B4-422E-8846-C0FF643CA999}.Release|Any CPU.ActiveCfg = Release|Any CPU {668F689E-57B4-422E-8846-C0FF643CA999}.Release|Any CPU.Build.0 = Release|Any CPU + {B5F1A150-37E1-434D-929F-FAD5AC428107}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B5F1A150-37E1-434D-929F-FAD5AC428107}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B5F1A150-37E1-434D-929F-FAD5AC428107}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B5F1A150-37E1-434D-929F-FAD5AC428107}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -98,5 +104,6 @@ Global {B6269AAC-170A-43D5-8B9A-579DED3D9A95} = {EF242EDF-7133-4277-9A0C-18744DE08707} {10E16614-61CA-48D8-8BDD-664C13913DED} = {F0C22C47-DF71-463C-9B04-B4E0F3B8708A} {668F689E-57B4-422E-8846-C0FF643CA999} = {F0C22C47-DF71-463C-9B04-B4E0F3B8708A} + {B5F1A150-37E1-434D-929F-FAD5AC428107} = {F0C22C47-DF71-463C-9B04-B4E0F3B8708A} EndGlobalSection EndGlobal diff --git a/examples/WireMock.Net.ConsoleTest.Net452/App.config b/examples/WireMock.Net.ConsoleTest.Net452/App.config new file mode 100644 index 00000000..71a06ba3 --- /dev/null +++ b/examples/WireMock.Net.ConsoleTest.Net452/App.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/WireMock.Net.ConsoleTest.Net452/Program.cs b/examples/WireMock.Net.ConsoleTest.Net452/Program.cs new file mode 100644 index 00000000..8677e233 --- /dev/null +++ b/examples/WireMock.Net.ConsoleTest.Net452/Program.cs @@ -0,0 +1,16 @@ +using System; +using WireMock.Net.StandAlone; + +namespace WireMock.Net.ConsoleTest.Net452 +{ + class Program + { + static void Main(string[] args) + { + StandAloneApp.Start(args); + + Console.WriteLine("Press any key to stop the server"); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/examples/WireMock.Net.ConsoleTest.Net452/Properties/AssemblyInfo.cs b/examples/WireMock.Net.ConsoleTest.Net452/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..1459d105 --- /dev/null +++ b/examples/WireMock.Net.ConsoleTest.Net452/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +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("WireMock.Net.ConsoleTest.Net452")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WireMock.Net.ConsoleTest.Net452")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[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 +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b5f1a150-37e1-434d-929f-fad5ac428107")] + +// 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")] diff --git a/examples/WireMock.Net.ConsoleTest.Net452/WireMock.Net.ConsoleTest.Net452.csproj b/examples/WireMock.Net.ConsoleTest.Net452/WireMock.Net.ConsoleTest.Net452.csproj new file mode 100644 index 00000000..5a58f72e --- /dev/null +++ b/examples/WireMock.Net.ConsoleTest.Net452/WireMock.Net.ConsoleTest.Net452.csproj @@ -0,0 +1,96 @@ + + + + + Debug + AnyCPU + {B5F1A150-37E1-434D-929F-FAD5AC428107} + Exe + WireMock.Net.ConsoleTest.Net452 + WireMock.Net.ConsoleTest.Net452 + v4.5.2 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\packages\CommandLineArgumentsParser.3.0.11\lib\net45\CommandLineArgumentsParser.dll + + + ..\..\packages\Handlebars.Net.1.8.0\lib\portable-net45+sl5+wp8+win8\Handlebars.dll + + + ..\..\packages\Microsoft.Owin.2.0.2\lib\net45\Microsoft.Owin.dll + + + ..\..\packages\Microsoft.Owin.Host.HttpListener.2.0.2\lib\net45\Microsoft.Owin.Host.HttpListener.dll + + + ..\..\packages\Microsoft.Owin.Hosting.2.0.2\lib\net45\Microsoft.Owin.Hosting.dll + + + ..\..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll + + + ..\..\packages\Owin.1.0\lib\net40\Owin.dll + + + ..\..\packages\SimMetrics.Net.1.0.3\lib\net45\SimMetrics.Net.dll + + + + + ..\..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll + + + + ..\..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll + + + ..\..\packages\Microsoft.AspNet.WebApi.Owin.5.2.3\lib\net45\System.Web.Http.Owin.dll + + + + + + + + + ..\..\packages\WireMock.Net.1.0.2\lib\net45\WireMock.Net.dll + + + ..\..\packages\WireMock.Net.StandAlone.1.0.0\lib\net452\WireMock.Net.StandAlone.dll + + + ..\..\packages\XPath2.1.0.3.1\lib\net452\XPath2.dll + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/WireMock.Net.ConsoleTest.Net452/packages.config b/examples/WireMock.Net.ConsoleTest.Net452/packages.config new file mode 100644 index 00000000..de275132 --- /dev/null +++ b/examples/WireMock.Net.ConsoleTest.Net452/packages.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/WireMock.Net/WireMock.Net.csproj b/src/WireMock.Net/WireMock.Net.csproj index 45895764..b764c0af 100644 --- a/src/WireMock.Net/WireMock.Net.csproj +++ b/src/WireMock.Net/WireMock.Net.csproj @@ -3,14 +3,14 @@ Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape. WireMock.Net - 1.0.2.0 + 1.0.2.1 Alexandre Victoor;Stef Heyenrath net45;net452;net46;netstandard1.3 true WireMock.Net WireMock.Net tdd;mock;http;wiremock;test;server;unittest - Support for NETStandard by replacing HttpListener by Owin/Selfhosted + https://raw.githubusercontent.com/StefH/WireMock.Net/master/WireMock.Net-Logo.png https://github.com/StefH/WireMock.Net https://raw.githubusercontent.com/StefH/WireMock.Net/master/LICENSE