Remove dotnet 1.0 SDK projects.
This commit is contained in:
Родитель
934c2b9b11
Коммит
0c805203f1
97
amqp.sln
97
amqp.sln
|
@ -71,8 +71,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.Amqp.NetCore", "test\T
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Device.SmallMemory", "Examples\Device\Device.SmallMemory\Device.SmallMemory.csproj", "{69E4A20C-EF50-49C6-8DAC-F76B9D565767}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dotnet", "dotnet", "{57BFDBF2-F67F-4D14-953F-5DA8FB06B52C}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docfx", "docfx", "{EB7EBF85-48AB-4EA0-9F00-825364BFA6FD}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
docs\docfx.json = docs\docfx.json
|
||||
|
@ -104,18 +102,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceBus.Topic", "Example
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test.Amqp.Net35", "test\Test.Amqp.Net35\Test.Amqp.Net35.csproj", "{7852029D-235C-40B7-8957-8E78414C3F97}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Test.Amqp", "dotnet\Test.Amqp\Test.Amqp.xproj", "{B02D02E0-0AD5-45FD-B5DF-E52B29656710}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "HelloAmqp", "dotnet\HelloAmqp\HelloAmqp.xproj", "{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Amqp.WebSockets.Client", "dotnet\Amqp.WebSockets.Client\Amqp.WebSockets.Client.xproj", "{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PeerToPeer.CustomTransport", "Examples\PeerToPeer\PeerToPeer.CustomTransport\PeerToPeer.CustomTransport.csproj", "{4573C570-520F-4F49-90B4-03D4532C2BA2}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Amqp", "dotnet\Amqp\Amqp.xproj", "{4D5D71CB-C691-45B3-968D-D2B758A2D544}"
|
||||
EndProject
|
||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Amqp.Serialization", "dotnet\Amqp.Serialization\Amqp.Serialization.xproj", "{AB399EDD-64FB-4599-8FBB-8F32A75405CE}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{3A334EFA-47FA-4CE2-9306-FDFF7CF47157}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LongHaulTest", "test\LongHaulTest\LongHaulTest.csproj", "{F052E9A9-15BD-4DB4-8539-8961B7BA7DC0}"
|
||||
|
@ -436,54 +424,6 @@ Global
|
|||
{7852029D-235C-40B7-8957-8E78414C3F97}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{7852029D-235C-40B7-8957-8E78414C3F97}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{7852029D-235C-40B7-8957-8E78414C3F97}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|x64.Build.0 = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|x64.Build.0 = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|x64.Build.0 = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A}.Release|x86.Build.0 = Release|Any CPU
|
||||
{4573C570-520F-4F49-90B4-03D4532C2BA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4573C570-520F-4F49-90B4-03D4532C2BA2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4573C570-520F-4F49-90B4-03D4532C2BA2}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
|
@ -500,38 +440,6 @@ Global
|
|||
{4573C570-520F-4F49-90B4-03D4532C2BA2}.Release|x64.Build.0 = Release|Any CPU
|
||||
{4573C570-520F-4F49-90B4-03D4532C2BA2}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{4573C570-520F-4F49-90B4-03D4532C2BA2}.Release|x86.Build.0 = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|x64.Build.0 = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544}.Release|x86.Build.0 = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|x64.Build.0 = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE}.Release|x86.Build.0 = Release|Any CPU
|
||||
{F052E9A9-15BD-4DB4-8539-8961B7BA7DC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F052E9A9-15BD-4DB4-8539-8961B7BA7DC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F052E9A9-15BD-4DB4-8539-8961B7BA7DC0}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
|
@ -815,12 +723,7 @@ Global
|
|||
{5637969B-A822-425A-A831-F70AA2275777} = {EB7EBF85-48AB-4EA0-9F00-825364BFA6FD}
|
||||
{D454DB5E-820F-4A92-B31E-A41A9D20B086} = {4A93A5B6-B935-4F86-B3DE-95B0F6EBEA56}
|
||||
{7852029D-235C-40B7-8957-8E78414C3F97} = {3A334EFA-47FA-4CE2-9306-FDFF7CF47157}
|
||||
{B02D02E0-0AD5-45FD-B5DF-E52B29656710} = {57BFDBF2-F67F-4D14-953F-5DA8FB06B52C}
|
||||
{F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44} = {57BFDBF2-F67F-4D14-953F-5DA8FB06B52C}
|
||||
{6B1B8843-FF74-4EFD-BB5E-7354A41D219A} = {57BFDBF2-F67F-4D14-953F-5DA8FB06B52C}
|
||||
{4573C570-520F-4F49-90B4-03D4532C2BA2} = {7FF80B2D-4158-41D3-BC87-60C018028F53}
|
||||
{4D5D71CB-C691-45B3-968D-D2B758A2D544} = {57BFDBF2-F67F-4D14-953F-5DA8FB06B52C}
|
||||
{AB399EDD-64FB-4599-8FBB-8F32A75405CE} = {57BFDBF2-F67F-4D14-953F-5DA8FB06B52C}
|
||||
{F052E9A9-15BD-4DB4-8539-8961B7BA7DC0} = {3A334EFA-47FA-4CE2-9306-FDFF7CF47157}
|
||||
{CD62609E-EA4E-48F4-B1FB-DF9BB98A132C} = {3A334EFA-47FA-4CE2-9306-FDFF7CF47157}
|
||||
{F0A0D04C-6665-43C2-A3A3-870248A331B9} = {4A93A5B6-B935-4F86-B3DE-95B0F6EBEA56}
|
||||
|
|
13
build.cmd
13
build.cmd
|
@ -157,7 +157,7 @@ rem Delay to allow broker to start up
|
|||
PING -n 1 -w 2000 1.1.1.1 >nul 2>&1
|
||||
|
||||
:run-test
|
||||
IF /I "%build-sln%" EQU "amqp-dotnet.sln" GOTO :run-dotnet2-test
|
||||
IF /I "%build-sln%" EQU "amqp-dotnet.sln" GOTO :run-dotnet-test
|
||||
|
||||
IF "%MSTestPath%" == "" (
|
||||
ECHO MSTest.exe does not exist or is not under PATH. Will not run tests.
|
||||
|
@ -195,18 +195,9 @@ IF ERRORLEVEL 1 (
|
|||
GOTO :exit
|
||||
)
|
||||
|
||||
ECHO.
|
||||
ECHO Running DOTNET (.Net Core 1.0) tests...
|
||||
"%dotnetPath%" bin\Test.Amqp\bin\%build-config%\netcoreapp1.0\Test.Amqp.dll -- no-broker
|
||||
IF ERRORLEVEL 1 (
|
||||
SET return-code=1
|
||||
ECHO .Net Core Test failed!
|
||||
GOTO :exit
|
||||
)
|
||||
|
||||
IF "%build-sln:amqp-dotnet.sln=%" == "%build-sln%" GOTO :done-test
|
||||
|
||||
:run-dotnet2-test
|
||||
:run-dotnet-test
|
||||
ECHO Running DOTNET (.Net Core 2.0) tests...
|
||||
"%dotnetPath%" test -c %build-config% --no-build test\Test.Amqp\Test.Amqp.csproj -- no-broker
|
||||
IF ERRORLEVEL 1 (
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>AB399EDD-64FB-4599-8FBB-8F32A75405CE</ProjectGuid>
|
||||
<RootNamespace>Amqp.Serialization</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\obj</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\bin\</OutputPath>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -1,53 +0,0 @@
|
|||
{
|
||||
"version": "2.1.6",
|
||||
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [
|
||||
"../../src/Properties/AssemblyInfo.cs",
|
||||
"../../src/Properties/Version.cs",
|
||||
"../../src/Serialization/*.cs",
|
||||
"../../src/Types/FormatCode.cs",
|
||||
"../../src/Types/FixedWidth.cs",
|
||||
"../../src/Net/TypeExtensions.cs"
|
||||
]
|
||||
},
|
||||
"warningsAsErrors": true,
|
||||
"xmlDoc": true,
|
||||
"keyFile": "../../src/amqp.snk"
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"Amqp": "2.1.6"
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Debug": {
|
||||
"buildOptions": {
|
||||
"defines": [ "DEBUG" ]
|
||||
}
|
||||
},
|
||||
"Release": {
|
||||
"buildOptions": {
|
||||
"optimize": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"netstandard1.3": {
|
||||
"buildOptions": {
|
||||
"define": [ "TRACE", "DOTNET", "DOTNET_SERIALIZATION" ]
|
||||
},
|
||||
"imports": [ "dnxcore50" ],
|
||||
"dependencies": {
|
||||
"System.Collections": "4.0.11",
|
||||
"System.Collections.Concurrent": "4.0.12",
|
||||
"System.Reflection": "4.1.0",
|
||||
"System.Reflection.Emit.Lightweight": "4.0.1",
|
||||
"System.Reflection.Extensions": "4.0.1",
|
||||
"System.Reflection.TypeExtensions": "4.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0.25123" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25123</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>6b1b8843-ff74-4efd-bb5e-7354a41d219a</ProjectGuid>
|
||||
<RootNamespace>Amqp.WebSockets.Client</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\obj</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\bin\</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
"version": "2.1.6",
|
||||
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [
|
||||
"../../src/Properties/AssemblyInfo.cs",
|
||||
"../../src/Properties/Version.cs",
|
||||
"../../src/Net/WebSocketTransport.cs",
|
||||
"../../src/Net/WebSocketTransportFactory.cs"
|
||||
]
|
||||
},
|
||||
"warningsAsErrors": true,
|
||||
"xmlDoc": true,
|
||||
"keyFile": "../../src/amqp.snk"
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"Amqp": "2.1.6"
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Debug": {
|
||||
"buildOptions": {
|
||||
"defines": [ "DEBUG" ]
|
||||
}
|
||||
},
|
||||
"Release": {
|
||||
"buildOptions": {
|
||||
"optimize": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"netstandard1.3": {
|
||||
"buildOptions": {
|
||||
"define": [ "TRACE", "DOTNET" ]
|
||||
},
|
||||
"imports": [ "dnxcore50" ],
|
||||
"dependencies": {
|
||||
"System.Net.WebSockets.Client": "4.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>4d5d71cb-c691-45b3-968d-d2b758a2d544</ProjectGuid>
|
||||
<RootNamespace>Amqp</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\obj</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\bin\</OutputPath>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -1,73 +0,0 @@
|
|||
{
|
||||
"version": "2.1.6",
|
||||
|
||||
"buildOptions": {
|
||||
"compile": {
|
||||
"include": [
|
||||
"../../src/Properties/AssemblyInfo.cs",
|
||||
"../../src/Properties/Version.cs",
|
||||
"../../src/Framing/*.cs",
|
||||
"../../src/Net/*.cs",
|
||||
"../../src/Sasl/*.cs",
|
||||
"../../src/Transactions/*.cs",
|
||||
"../../src/Types/*.cs",
|
||||
"../../src/Listener/*.cs",
|
||||
"../../src/*.cs"
|
||||
],
|
||||
"exclude": [
|
||||
"../../src/Net/WebSocketTransport.cs",
|
||||
"../../src/Net/WebSocketTransportFactory.cs"
|
||||
]
|
||||
},
|
||||
"embed": [
|
||||
"../../src/SRAmqp.resx"
|
||||
],
|
||||
"outputName": "Amqp.Net",
|
||||
"allowUnsafe": true,
|
||||
"warningsAsErrors": true,
|
||||
"xmlDoc": true,
|
||||
"keyFile": "../../src/amqp.snk"
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Debug": {
|
||||
"buildOptions": {
|
||||
"defines": [ "DEBUG" ]
|
||||
}
|
||||
},
|
||||
"Release": {
|
||||
"buildOptions": {
|
||||
"optimize": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"netstandard1.3": {
|
||||
"buildOptions": {
|
||||
"define": [ "TRACE", "DOTNET" ]
|
||||
},
|
||||
"imports": [ "dnxcore50" ],
|
||||
"dependencies": {
|
||||
"System.Collections": "4.0.11",
|
||||
"System.Collections.Concurrent": "4.0.12",
|
||||
"System.Diagnostics.Debug": "4.0.11",
|
||||
"System.Diagnostics.Tools": "4.0.1",
|
||||
"System.Net.NameResolution": "4.0.0",
|
||||
"System.Net.Security": "4.0.0",
|
||||
"System.Net.Sockets": "4.1.0",
|
||||
"System.Reflection": "4.1.0",
|
||||
"System.Resources.ResourceManager": "4.0.1",
|
||||
"System.Runtime": "4.1.0",
|
||||
"System.Runtime.Extensions": "4.1.0",
|
||||
"System.Security.Claims": "4.0.1",
|
||||
"System.Security.Principal": "4.0.1",
|
||||
"System.Threading": "4.0.11",
|
||||
"System.Threading.Tasks": "4.0.11",
|
||||
"System.Threading.Thread": "4.0.0",
|
||||
"System.Threading.ThreadPool": "4.0.10",
|
||||
"System.Threading.Timer": "4.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>F5D12AA8-D2E7-42F2-BC9D-D52904EC2B44</ProjectGuid>
|
||||
<RootNamespace>HelloAmqp</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\obj</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\bin\</OutputPath>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -1,53 +0,0 @@
|
|||
// ------------------------------------------------------------------------------------
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
|
||||
// file except in compliance with the License. You may obtain a copy of the License at
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR
|
||||
// CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR
|
||||
// NON-INFRINGEMENT.
|
||||
//
|
||||
// See the Apache Version 2.0 License for specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// ------------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Amqp;
|
||||
|
||||
namespace ConsoleApplication
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Run().Wait();
|
||||
}
|
||||
|
||||
static async Task Run()
|
||||
{
|
||||
string address = "amqp://guest:guest@localhost:5672";
|
||||
|
||||
Connection connection = await Connection.Factory.CreateAsync(new Address(address));
|
||||
Session session = new Session(connection);
|
||||
SenderLink sender = new SenderLink(session, "test-sender", "q1");
|
||||
|
||||
Message message1 = new Message("Hello AMQP!");
|
||||
await sender.SendAsync(message1);
|
||||
|
||||
ReceiverLink receiver = new ReceiverLink(session, "test-receiver", "q1");
|
||||
Message message2 = await receiver.ReceiveAsync();
|
||||
Console.WriteLine(message2.GetBody<string>());
|
||||
receiver.Accept(message2);
|
||||
|
||||
await sender.CloseAsync();
|
||||
await receiver.CloseAsync();
|
||||
await session.CloseAsync();
|
||||
await connection.CloseAsync();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"type": "platform",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"Amqp": "2.1.6",
|
||||
"Amqp.Serialization": "2.1.6"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"imports": "dnxcore50"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
using System;
|
||||
|
||||
namespace Microsoft.VisualStudio.TestTools.UnitTesting
|
||||
{
|
||||
public class TestClassAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
public class TestInitializeAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
public class TestCleanupAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
public class TestMethodAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
|
@ -1,67 +0,0 @@
|
|||
// ------------------------------------------------------------------------------------
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
|
||||
// file except in compliance with the License. You may obtain a copy of the License at
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
||||
// EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR
|
||||
// CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR
|
||||
// NON-INFRINGEMENT.
|
||||
//
|
||||
// See the Apache Version 2.0 License for specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// ------------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using Amqp;
|
||||
using Listener.IContainer;
|
||||
using AmqpTrace = Amqp.Trace;
|
||||
|
||||
namespace Test.Amqp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static int Main(string[] args)
|
||||
{
|
||||
AmqpTrace.TraceLevel = TraceLevel.Output;
|
||||
AmqpTrace.TraceListener = Program.WriteTrace;
|
||||
Connection.DisableServerCertValidation = true;
|
||||
|
||||
TestAmqpBroker broker = null;
|
||||
if (args.Length == 0)
|
||||
{
|
||||
Environment.SetEnvironmentVariable("CoreBroker", "1");
|
||||
TestTarget target = new TestTarget();
|
||||
Address address = target.Address;
|
||||
broker = new TestAmqpBroker(new string[] { target.address },
|
||||
string.Join(":", address.User, address.Password), null, null);
|
||||
broker.Start();
|
||||
}
|
||||
else
|
||||
{
|
||||
Environment.SetEnvironmentVariable("CoreBroker", "0");
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
return TestRunner.RunTests();
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (broker != null)
|
||||
{
|
||||
broker.Stop();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void WriteTrace(TraceLevel level, string format, params object[] args)
|
||||
{
|
||||
string message = args == null ? format : string.Format(format, args);
|
||||
Console.WriteLine(message);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>B02D02E0-0AD5-45FD-B5DF-E52B29656710</ProjectGuid>
|
||||
<RootNamespace>HelloAmqp</RootNamespace>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\obj</BaseIntermediateOutputPath>
|
||||
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\bin\</OutputPath>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
</Project>
|
|
@ -1,47 +0,0 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
|
||||
"buildOptions": {
|
||||
"compile": [
|
||||
"Program.cs",
|
||||
"Attribute.cs",
|
||||
"../../Examples/Serialization/Serialization.Poco/Shape.cs",
|
||||
"../../Examples/Serialization/Serialization.Poco/PocoContractResolver.cs",
|
||||
"../../src/Net/TypeExtensions.cs",
|
||||
"../../test/Common/TestRunner.cs",
|
||||
"../../test/Common/TestAmqpBroker.cs",
|
||||
"../../test/Common/Assert.cs",
|
||||
"../../test/Common/NamedPipeTransport.cs",
|
||||
"../../test/Common/TestTarget.cs",
|
||||
"../../test/Common/TestListener.cs",
|
||||
"../../test/Common/LinkTests.cs",
|
||||
"../../test/Common/ProtocolTests.cs",
|
||||
"../../test/Common/UtilityTests.cs",
|
||||
"../../test/Common/ContainerHostTests.cs",
|
||||
"../../test/Common/Types/*.cs",
|
||||
"../../test/Common/AmqpSerializerTests.cs",
|
||||
"../../test/Common/WebSocketTests.cs"
|
||||
],
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"type": "platform",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"System.IO.Pipes": "4.0.0",
|
||||
"Amqp": "2.1.6",
|
||||
"Amqp.Serialization": "2.1.6",
|
||||
"Amqp.WebSockets.Client": "2.1.6"
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"buildOptions": {
|
||||
"define": [ "TRACE", "DOTNET" ]
|
||||
},
|
||||
"imports": "dnxcore50"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "1.0.0-preview2-003131"
|
||||
}
|
||||
}
|
|
@ -33,7 +33,7 @@
|
|||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="dotnet\Empty\" target="lib\netstandard1.3" />
|
||||
<file src="dotnet\" target="lib\netstandard1.3" />
|
||||
|
||||
<file src="bin\Release\Amqp.Net\Amqp.Net.dll" target="lib\net45" />
|
||||
<file src="bin\Release\Amqp.Net\Amqp.Net.pdb" target="lib\net45" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче