Skip to content

Commit 0b73e7b

Browse files
Ron PetrushaBillWagner
authored andcommitted
Corrected publishing warnings (#1189)
* Corrected publishing warnings * Fixed two more broken links. * fixed broken link
1 parent 15c55a8 commit 0b73e7b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/csharp/getting-started/publishing-with-visual-studio.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.assetid: a19545d3-24af-4a32-9778-cfb5ae938287
1515

1616
# Publishing Your Hello World Application with Visual Studio 2015 #
1717

18-
Now that you've created your console app (in the [Building a Hello World Appllication with .NET Core in Visual Studio 2015](.\with-visual_studio.md) topic) and debugged it (in the [Debugging Your Hello World Application with Visual Studio 2015](.\debugging_with_visual_studio.md) topic), you can publish your application. This allows you to distribute your application and to run it outside of Visual Studio. To publish and run your application:
18+
Now that you've created your console app (in the [Building a Hello World Appllication with .NET Core in Visual Studio 2015](.\with-visual-studio.md) topic) and debugged it (in the [Debugging Your Hello World Application with Visual Studio 2015](.\debugging-with-visual-studio.md) topic), you can publish your application. This allows you to distribute your application and to run it outside of Visual Studio. To publish and run your application:
1919

2020
1. Make sure that Visual Studio is building the release version of your application. If necessary, change change the build configuration setting on the toolbar from **Debug** to **Release**, as shown in the following figure.
2121

@@ -25,7 +25,7 @@ Now that you've created your console app (in the [Building a Hello World Appllic
2525

2626
3. When the **Profile** tab of the **Publish** dialog box shown in the following figure appears, select the **File System** target.
2727

28-
![Image](.\media\oublish.jpg)
28+
![Image](.\media\publish.jpg)
2929

3030
4. In the **New Custom Profile** dialog box, enter a profile name, such as `Hello World Release`.
3131

@@ -39,7 +39,7 @@ Now that you've created your console app (in the [Building a Hello World Appllic
3939

4040
The project's .\bin\release\PublishOutput directory contains your published app. Because this application has no platform-specific dependencies (such as calls to a third-party library that is supported only on specific platforms, or calls to operating system APIs), it runs on any platform on which .NET Core has been installed.
4141

42-
You run the app with the [.NET Core Command Line Interface](..\tools\index.md) (CLI) by using the following command:
42+
You run the app with the [.NET Core Command Line Interface](../../core/tools/index.md) (CLI) by using the following command:
4343

4444

4545
```console
@@ -48,5 +48,5 @@ dotnet helloworld.dll
4848

4949
To distribute it, you can simply copy the files generated by the publishing operation to any computer that has .NET Core installed. Note that the output includes a symbol (.pdb) file that you do not have to distribute with your app.
5050

51-
For more information on publishing and deploying a .NET Core application, see [.NET Core Application Deployment](..\..\core\deploying\index.md).
51+
For more information on publishing and deploying a .NET Core application, see [.NET Core Application Deployment](../../core/deploying/index.md).
5252

docs/csharp/getting-started/with-visual-studio.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In order to develop the application, Visual Studio 2015 must be installed on you
2323

2424
In addition, you must install the [.NET Core tools for Visual Studio 2015](https://go.microsoft.com/fwlink/?LinkID=827546).
2525

26-
For more information, see [Prerequisites for Windows development](../../core/windows-prerequisites).
26+
For more information, see [Prerequisites for Windows development](../../core/windows-prerequisites.md).
2727

2828
## A simple "Hello World" application ##
2929

@@ -33,38 +33,38 @@ Let's begin by creating a simple "Hello World" application. Here are the steps:
3333

3434
2. In the right-hand pane, select **Console Application (.NET Core)**. Enter the name of the project, `HelloWorld`, and make sure the **Create directory for solution** box is checked, as the following figure shows.
3535

36-
![Image](.\media\with-visual-studio\vs_newproject.jpg)
36+
![Image](./media/vs_newproject.jpg)
3737

3838
You can also create two other .NET Core application types with Visual Studio.
3939

4040
3. Select the **OK** button. Visual Studio displays its development environment with its code window, as the following figure shows. The C# Console Application template for .NET Core automatically defines a class, `Program`, with a single method, `Main`. `Main` is the application entry point, the method that is called automatically by the runtime when it launches the application.
4141

42-
![Image](.\media\with-visual-studio\vs_devenv.jpg)
42+
![Image](./media/vs_devenv.jpg)
4343

4444
4. Enter the following C# code in the code window immediately after the opening bracket that follows the `public static void Main(string[] args)` line.
4545

4646
[!CODE [GettingStarted#1](../../../samples/snippets/csharp/getting_started/with_visual_studio/helloworld.cs#1)]
4747

4848
The following figure shows the resulting code window.
4949

50-
![Image](.\media\with-visual-studio\codewindow.jpg)
50+
![Image](./media/codewindow.jpg)
5151

5252
5. Compile the program by selecting **Build**, **Build Solution**. This compiles your program to IL, an intermediate language that is then converted to binary code by a just-in-time (JIT) compiler.
5353

5454
6. Run the program in debug mode in Visual Studio by selecting the green arrow on the toolbar, pressing F5, or selecting **Debug**, **Start Debugging**. After you respond to the prompts by entering a name and pressing the Enter key, the console window should look something like the following:
5555

56-
![Image](.\media\with-visual-studio\console.jpg)
56+
![Image](./media/console.jpg)
5757

5858
7. Press any key to close the console window. This ends debug mode.
5959

6060
You've now created and run your simple application. To develop a professional application, there are still some additional steps that you can take to make your application ready for release:
6161

62-
- For information on debugging your application, see [Debugging the Hello World Application](.\Debugging_on_Visual_Studio.md)
62+
- For information on debugging your application, see [Debugging the Hello World Application](.\debugging-with-visual-studio.md)
6363

64-
- For information on developing a publishing a distributable version of your application, see [Publishing the Hello World application](Publishing_on_Visual_Studio.md).
64+
- For information on developing a publishing a distributable version of your application, see [Publishing the Hello World application](./publishing-with-visual-studio.md).
6565

6666
## Related topics ##
6767

68-
Instead of a console application, you can also build a class library with .NET Core and Visual Studio 2015. For a step-by-step introduction, see [Getting started with .NET Core on WIndows, using Visual Studio 2015](..\core\tutorials\using-on-windows.md).
68+
Instead of a console application, you can also build a class library with .NET Core and Visual Studio 2015. For a step-by-step introduction, see [Getting started with .NET Core on WIndows, using Visual Studio 2015](../../core/tutorials/using-on-windows.md).
6969

7070
You can also develop a .NET Core console app on Mac, Linux, and Windows by using Visual Studio Code, a freely downloadable code editor. For a step-by-step tutorial, see [Getting Started with Visual Studio Code](.\with-visual-studio-code.md).

0 commit comments

Comments
 (0)