Skip to content

Commit 9951d04

Browse files
author
moozzyk
committed
ForYouTheStoreIsClosed
When a project targeted both net45 and wpa81 or win8 we did not have a subset that could satisfy this. The store websocket transport can only be used if an app/lib targets wpa81 and/or win8 since it is using WinRT APIs. If the app/lib targets any other platform in addition to wpa81/win8 the store websocket cannot be used and therefore we must not install it. Adding wpa81/win8 platforms to the folder containing just the portable version of Microsoft.AspNet.SignalR.Client.dll will do the trick - this folder will be selected if the application targets any other platform in addition to wpa81/win8 Fixes SignalR#3393
1 parent 55632a6 commit 9951d04

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/Build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<!-- Only build the following clients if the SDK is installed -->
8282
<Projects Include="$(ProjectRoot)\src\Microsoft.AspNet.SignalR.Client.Portable\Microsoft.AspNet.SignalR.Client.Portable.csproj">
8383
<Build Condition="!$(WP8SDKInstalled)">false</Build>
84-
<Platform>portable-net45+sl5+netcore45+wp8+wp81</Platform>
84+
<Platform>portable-net45+sl50+win+wpa81+wp80</Platform>
8585
</Projects>
8686
<Projects Include="$(ProjectRoot)\src\Microsoft.AspNet.SignalR.Client.Portable\Microsoft.AspNet.SignalR.Client.Portable.csproj">
8787
<!--

nuspecs/Microsoft.AspNet.SignalR.Client.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
<file src="Net40\Microsoft.AspNet.SignalR.Client.xml" target="lib\net40" />
3737
<file src="Net45\Microsoft.AspNet.SignalR.Client.dll" target="lib\net45" />
3838
<file src="Net45\Microsoft.AspNet.SignalR.Client.xml" target="lib\net45" />
39-
<file src="portable-net45+sl5+netcore45+wp8+wp81\Microsoft.AspNet.SignalR.Client.dll" target="lib\portable-net45+sl5+netcore45+wp8+wp81" />
40-
<file src="portable-net45+sl5+netcore45+wp8+wp81\Microsoft.AspNet.SignalR.Client.xml" target="lib\portable-net45+sl5+netcore45+wp8+wp81" />
39+
<file src="portable-net45+sl50+win+wpa81+wp80\Microsoft.AspNet.SignalR.Client.dll" target="lib\portable-net45+sl50+win+wpa81+wp80" />
40+
<file src="portable-net45+sl50+win+wpa81+wp80\Microsoft.AspNet.SignalR.Client.xml" target="lib\portable-net45+sl50+win+wpa81+wp80" />
4141
<file src="portable-win81+wpa81\Microsoft.AspNet.SignalR.Client.dll" target="lib\portable-win81+wpa81" />
4242
<file src="portable-win81+wpa81\Microsoft.AspNet.SignalR.Client.xml" target="lib\portable-win81+wpa81" />
4343
<file src="portable-win81+wpa81\Microsoft.AspNet.SignalR.Client.Store.dll" target="lib\portable-win81+wpa81" />

0 commit comments

Comments
 (0)