This commit is contained in:
Eilon Lipton 2017-09-13 09:33:16 -07:00 коммит произвёл GitHub
Родитель 32d95eddae
Коммит e73faf108d
1 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -3,31 +3,31 @@ ASP.NET SignalR C++ Client
SignalR C++ Client is a native client for the [ASP.NET SignalR](https://github.com/SignalR/SignalR/).
###Supported platforms
### Supported platforms
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.
###Get it on NuGet
### Get it on NuGet
`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)
###Use it
### Use it
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.
###Nightly builds
### Nightly builds
Signed nigthly builds are available on a separate feed. You can find them [here](https://dotnet.myget.org/gallery/aspnetcore-ci-dev)
###Building the Code
### Building the Code
* Clone the repo:
`git clone https://github.com/aspnet/SignalR-Client-Cpp.git`
####Building for Windows
#### Building for Windows
* Building from Visual Studio:
@ -40,7 +40,7 @@ Signed nigthly builds are available on a separate feed. You can find them [here]
* `build.cmd` to build the code and run tests
* `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.
####Building for Linux (Linux support is currently only experimental)
#### Building for Linux (Linux support is currently only experimental)
* Clone C++ REST SDK code
* Sync the code to a tag - e.g. `git checkout v2.7.0` (optional)
* Build C++ REST SDK code as described [here](https://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Linux)
@ -55,9 +55,9 @@ Signed nigthly builds are available on a separate feed. You can find them [here]
* `make`
* The binaries will be placed in the `bin` folder
###Running tests
### Running tests
####Running tests on Windows
#### Running tests on Windows
* From Visual Studio
* 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.
@ -67,7 +67,7 @@ Signed nigthly builds are available on a separate feed. You can find them [here]
* Open the Developer Command Prompt for Visual Studio 2013 or Visual Studio 2015
* run `build.cmd`
####Running tests on Linux
#### Running tests on Linux
* Build the code
* Run `signalrclienttests`
* Known issues: