You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+25-19Lines changed: 25 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,45 +3,51 @@ ASP.NET SignalR C++ Client
3
3
4
4
SignalR C++ Client is a native client for the [ASP.NET SignalR](https://github.com/SignalR/SignalR/).
5
5
6
-
####Supported platforms
6
+
###Supported platforms
7
7
8
+
The bits that ship on NuGet currently can be used in Win32/x64 native windows desktop applications built with Visual Studio 2013 or Visual Studio 2015. Note that you need to download the package that matches your Visual Studio version. If you work with Visual Studio 2013 the matching package is Microsoft.AspNet.SignalR.Client.Cpp.v120.WinDesktop if you use Visual Studio 2015 the matching package is Microsoft.AspNet.SignalR.Client.Cpp.v140.WinDesktop.
8
9
9
-
The bits that ship on NuGet currently can be used in Win32/x64 native windows desktop applications built with Visual Studio 2013.
10
+
###Get it on NuGet
10
11
11
-
####Get it on NuGet
12
+
`Install-Package Microsoft.AspNet.SignalR.Client.Cpp.v120.WinDesktop -Pre` (version for Visual Studio 2013)
`Install-Package Microsoft.AspNet.SignalR.Client.Cpp.v140.WinDesktop -Pre` (version for Visual Studio 2015)
14
15
15
-
####Use it
16
+
17
+
###Use it
16
18
17
19
The repo contains a separate solution (samples_VS2013.sln) with sample projects showing how to use the client to communicate with a SignalR server using Persistent Connections and Hubs.
18
20
19
-
####Nightly builds
21
+
###Nightly builds
20
22
21
23
Signed nigthly builds are available on a separate feed. You can find them [here](https://www.myget.org/gallery/aspnetvnext)
Open the signalrclient_VS2013.sln in Visual Studio 2013 and build.
31
-
32
-
* Build from command line
33
-
* Open the Developer Command Prompt for VS2013
30
+
####Building for Windows
31
+
32
+
* Building from Visual Studio:
33
+
34
+
Open the signalrclient.sln in Visual Studio 2013 or Visual Studio 2015 and build.
35
+
36
+
* Building from command line:
37
+
* Open the Developer Command Prompt for Visual Studio 2013 or Visual Studio 2015
34
38
* Run:
35
39
*`build.cmd /t:Build` to build the code
36
40
*`build.cmd` to build the code and run tests
37
-
*`build.cmd /t:CreatePackage` to build the code and create a private NuGet package
41
+
*`build.cmd /t:CreatePackage` to build the code and create a private NuGet package for the Visual Studio version the package was built with. The package will be placed in the `artifacts\build` directory.
38
42
39
-
####Running tests
43
+
###Running tests
44
+
45
+
####Running tests on Windows
40
46
41
47
* From Visual Studio
42
-
* to run unit tests select signalrclienttests as a start project and run
43
-
* to run end-to-end test start the test host by selecting the signalrclient-testhost project as a start project and then select the signalrclient-e2e-tests as a startt project and run
44
-
48
+
* to run unit tests select signalrclienttests as a start project and run. Alternatively you can install the Google Test runner extension for Visual Studio and run the tests from the test explorer.
49
+
* to run end-to-end test start the test host by selecting the signalrclient-testhost project as a start project and then select the signalrclient-e2e-tests as a start project and run.
50
+
45
51
* From command line
46
-
* Open the Developer Command Prompt for VS2013
52
+
* Open the Developer Command Prompt for Visual Studio 2013 or Visual Studio 2015
0 commit comments