Project configuration fixes
diff --git a/src/nms-openwire.csproj b/src/nms-openwire.csproj
index 6f5a21b..362dc6d 100644
--- a/src/nms-openwire.csproj
+++ b/src/nms-openwire.csproj
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>netstandard2.0</TargetFramework>
+ <TargetFrameworks>net35;net40;netstandard2.0</TargetFrameworks>
<RootNamespace>Apache.NMS.ActiveMQ</RootNamespace>
<AssemblyName>Apache.NMS.ActiveMQ</AssemblyName>
<Version>1.8.0</Version>
<Company>Apache Software Foundation</Company>
- <Product>Apache ActiveMQ</Product>
+ <Product>Apache NMS OpenWire</Product>
<Description>Apache NMS (.Net Standard Messaging Library): Openwire implementation of Apache NMS API</Description>
<Copyright>Copyright (C) 2005-2019 Apache Software Foundation</Copyright>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
@@ -30,12 +30,20 @@
<Content Include="..\NOTICE.txt" Link="NOTICE.txt" />
</ItemGroup>
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net35'">
+ <Reference Include="System.Web" />
+ </ItemGroup>
+
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net40'">
+ <Reference Include="System.Web" />
+ </ItemGroup>
+
<ItemGroup>
<PackageReference Include="Apache.NMS" Version="1.8.0" />
</ItemGroup>
<ItemGroup>
- <None Include="..\..\activemq-nms-api\LICENSE.txt">
+ <None Include="..\LICENSE.txt">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
diff --git a/test/nms-openwire-test.csproj b/test/nms-openwire-test.csproj
index 6dbf821..819acb5 100644
--- a/test/nms-openwire-test.csproj
+++ b/test/nms-openwire-test.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>netcoreapp2.2</TargetFramework>
+ <TargetFrameworks>net35;net40;netcoreapp2.2</TargetFrameworks>
<RootNamespace>Apache.NMS.ActiveMQ.Test</RootNamespace>
<AssemblyName>Apache.NMS.ActiveMQ.Test</AssemblyName>
<ApplicationIcon />
@@ -10,7 +10,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Company>Apache Software Foundation</Company>
<Authors>Apache ActiveMQ</Authors>
- <Product>Apache NMS ActiveMQ</Product>
+ <Product>Apache NMS OpenWire Test</Product>
<Description>Apache NMS (.Net Standard Messaging Library) Test Suite</Description>
<Copyright>Copyright (C) 2005-2019 Apache Software Foundation</Copyright>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
@@ -40,6 +40,27 @@
<PackageReference Include="System.Data.SqlClient" Version="4.6.1" />
</ItemGroup>
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net35'">
+ <Reference Include="System.Web" />
+ </ItemGroup>
+
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net40'">
+ <Reference Include="System.Web" />
+ </ItemGroup>
+
+
+
+
+
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net35'">
+ <Reference Include="System.Web" />
+ </ItemGroup>
+
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net40'">
+ <Reference Include="System.Web" />
+ </ItemGroup>
+
+
<ItemGroup>
<ProjectReference Include="..\src\nms-openwire.csproj" />
</ItemGroup>