Skip to content

Commit

Permalink
fix commands and .NET-version in README (#1331)
Browse files Browse the repository at this point in the history
* fix commands and .NET-version in README
* enable mandatory build for doc changes

Co-authored-by: Martin Regen <mregen@microsoft.com>
  • Loading branch information
linderd and mregen committed Mar 25, 2021
1 parent d9498f5 commit b3bc161
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ All the tools you need for .NET Standard come with the .NET Core tools. See [Get
3. Hit `F5` to build and execute the sample.

## How to build and run the console samples on Windows, Linux and iOS
This section describes how to run the and **NetCoreReferenceServer** sample application.
This section describes how to run the **ConsoleReferenceServer** sample application.

Please follow instructions in this [article](https://aka.ms/dotnetcoregs) to setup the dotnet command line environment for your platform. As of today .NET Core SDK 2.1 is required.
Please follow instructions in this [article](https://aka.ms/dotnetcoregs) to setup the dotnet command line environment for your platform. As of today .NET Core SDK 2.1 is required for Visual Studio 2017 and .NET Core SDK 3.1 is required for Visual Studio 2019.

### Prerequisites
1. Once the `dotnet` command is available, navigate to the root folder in your local copy of the repository and execute `dotnet restore UA Reference.sln`. This command calls into NuGet to restore the tree of dependencies.
1. Once the `dotnet` command is available, navigate to the root folder in your local copy of the repository and execute `dotnet restore 'UA Reference.sln'`. This command calls into NuGet to restore the tree of dependencies.

### Start the server
1. Open a command prompt.
2. Navigate to the folder **Applications/NetCoreReferenceServer**.
3. To run the server sample type `dotnet run --project NetCoreReferenceServer.csproj -a`.
2. Navigate to the folder **Applications/ConsoleReferenceServer**.
3. To run the server sample type `dotnet run --project ConsoleReferenceServer.csproj -a`.
- The server is now running and waiting for connections.

## Remarks
Expand Down
3 changes: 0 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ pr:
paths:
include:
- '*'
exclude:
- 'Docs/*'
- 'README.md'

stages:
- stage: build
Expand Down

0 comments on commit b3bc161

Please sign in to comment.