File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
projects/client/RabbitMQ.Client Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
@ ECHO OFF
2
2
dotnet restore
3
3
dotnet run -p .\projects\client\Apigen --apiName:AMQP_0_9_1 .\docs\specs\amqp0-9-1.stripped.xml .\gensrc\autogenerated-api-0-9-1.cs
4
- dotnet build .\projects\client\RabbitMQ.Client
4
+ msbuild .\projects\client\RabbitMQ.Client
5
5
dotnet build .\projects\client\Unit
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ SCRIPT_DIR=$(cd $(dirname "$SCRIPT") && pwd)
7
7
8
8
dotnet restore ./RabbitMQDotNetClient.sln
9
9
dotnet run -p $SCRIPT_DIR /projects/client/Apigen/Apigen.csproj --apiName:AMQP_0_9_1 $SCRIPT_DIR /docs/specs/amqp0-9-1.stripped.xml $SCRIPT_DIR /gensrc/autogenerated-api-0-9-1.cs
10
- dotnet build $SCRIPT_DIR /projects/client/RabbitMQ.Client/RabbitMQ.Client.csproj
10
+ # we have to use msbuild or else multi-targeting doesn't work
11
+ msbuild $SCRIPT_DIR /projects/client/RabbitMQ.Client/RabbitMQ.Client.csproj
11
12
dotnet build $SCRIPT_DIR /projects/client/Unit/Unit.csproj
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<Description >The RabbitMQ .NET client is the official client library for C# (and, implicitly, other .NET languages)</Description >
5
5
<VersionPrefix >5.3.2</VersionPrefix >
6
- <TargetFrameworks >netstandard1.5</TargetFrameworks >
6
+ <TargetFrameworks >net451; netstandard1.5</TargetFrameworks >
7
7
<NoWarn >$(NoWarn);CS1591</NoWarn >
8
8
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
9
9
<GenerateDocumentationFile >true</GenerateDocumentationFile >
28
28
<Compile Include =" ..\..\..\gensrc\autogenerated-api-0-9-1.cs" Exclude =" build\**\*;bin\**;obj\**;**\*.xproj;packages\**" />
29
29
</ItemGroup >
30
30
31
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net451' " >
32
+ <PackageReference Include =" Microsoft.Diagnostics.Tracing.EventSource.Redist" Version =" 1.1.*" />
33
+ <Reference Include =" System" />
34
+ <Reference Include =" Microsoft.CSharp" />
35
+ </ItemGroup >
36
+
31
37
<PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard1.5' " >
32
38
<DefineConstants >$(DefineConstants);CORECLR</DefineConstants >
33
39
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments