Release build configuration fix for package.ps1 compatibility. Added nmsprovider config for unit testing to work.
diff --git a/src/nms-openwire.csproj b/src/nms-openwire.csproj
index 0f5f07f..6f5a21b 100644
--- a/src/nms-openwire.csproj
+++ b/src/nms-openwire.csproj
@@ -21,6 +21,10 @@
<Authors>Apache ActiveMQ</Authors>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+ <OutputPath>..\..\build\</OutputPath>
+ </PropertyGroup>
+
<ItemGroup>
<Content Include="..\LICENSE.txt" Link="LICENSE.txt" />
<Content Include="..\NOTICE.txt" Link="NOTICE.txt" />
diff --git a/test/nms-openwire-test.csproj b/test/nms-openwire-test.csproj
index 4560f23..6dbf821 100644
--- a/test/nms-openwire-test.csproj
+++ b/test/nms-openwire-test.csproj
@@ -24,6 +24,10 @@
<AssemblyOriginatorKeyFile>NMSKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
+ <OutputPath>..\..\build\</OutputPath>
+ </PropertyGroup>
+
<ItemGroup>
<Content Include="..\LICENSE.txt" Link="LICENSE.txt" />
<Content Include="..\NOTICE.txt" Link="NOTICE.txt" />
@@ -53,4 +57,10 @@
</None>
</ItemGroup>
+ <ItemGroup>
+ <None Update="nmsprovider-test.config">
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+ </None>
+ </ItemGroup>
+
</Project>
diff --git a/nmsprovider-test.config b/test/nmsprovider-test.config
similarity index 100%
rename from nmsprovider-test.config
rename to test/nmsprovider-test.config