Skip to content

Commit e0c8937

Browse files
author
mtx48109
committed
2015 edit
1 parent b2c7139 commit e0c8937

2 files changed

+17
-17
lines changed

docs/ide/deploying-visual-cpp-application-by-using-the-vcpp-redistributable-package.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You must have these components to complete this walkthrough:
5454
5555
- Your MFC application (.exe file).
5656
57-
- vcredist_x86.exe. This file is located in \Program Files (x86)\Microsoft Visual Studio \<version>\SDK\Bootstrapper\Packages\. You can also download this file from [Microsoft](https://www.microsoft.com/en-us/download/confirmation.aspx?id=5555).
57+
- vcredist_x86.exe. This file is located in \Program Files (x86)\Microsoft Visual Studio \<version>\SDK\Bootstrapper\Packages\. You can also download this file from [Microsoft](https://www.microsoft.com/download/confirmation.aspx?id=5555).
5858
5959
- The setup.bat file that you created in the earlier step.
6060
@@ -83,7 +83,7 @@ You must have these components to complete this walkthrough:
8383
The self-extracting setup file installs the MFC application that is in the folder that you specified in step 2. The application runs successfully because the Visual C++ Redistributable Package installer is included in the self-extracting setup file.
8484
8585
> [!IMPORTANT]
86-
> To determine which version of the runtime is installed, the installer checks the registry key \HKLM\SOFTWARE\Microsoft\VisualStudio\\<version>\VC\Runtimes\\<platform>. If the currently installed version is newer than the version that the installer is attempting to install, the installer returns success without installing the older version and leaves an additional entry on the installed programs page in the Control Panel.
86+
> To determine which version of the runtime is installed, the installer checks the registry key \HKLM\SOFTWARE\Microsoft\VisualStudio\\\<version>\VC\Runtimes\\<platform>. If the currently installed version is newer than the version that the installer is attempting to install, the installer returns success without installing the older version and leaves an additional entry on the installed programs page in the Control Panel.
8787
8888
## See Also
8989

docs/ide/walkthrough-compiling-a-cpp-program-that-targets-the-clr-in-visual-studio.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,48 +28,48 @@ These topics assume that you understand the fundamentals of the C++ language.
2828
1. From the Visual C++ project types, click **CLR**, and then click **CLR Empty Project**.
2929

3030
> [!NOTE]
31-
> If the **CLR Empty Project** type is missing, select **Open Visual Studio Installer** in the left pane of the **New Project** dialog box. Install the option located under **Desktop development with C++** in the **Optional** components section, named **C++/CLI Support**.
31+
> If the **CLR Empty Project** type is missing (Visual Studio 2017 only), select **Open Visual Studio Installer** in the left pane of the **New Project** dialog box. Install the option located under **Desktop development with C++** in the **Optional** components section, named **C++/CLI Support**.<br/>
3232
3333
1. Type a project name.
3434

35-
By default, the solution that contains the project has the same name as the new project, but you can enter a different name. You can enter a different location for the project if you want.
35+
By default, the solution that contains the project has the same name as the new project, but you can enter a different name. You can enter a different location for the project if you want.
3636

37-
Click **OK** to create the new project.
37+
Click **OK** to create the new project.
3838

3939
1. If **Solution Explorer** is not visible, click **Solution Explorer** on the **View** menu.
4040

4141
1. Add a new source file to the project:
4242

43-
- Right-click the **Source Files** folder in **Solution Explorer**, point to **Add** and click **New Item**.
43+
- Right-click the **Source Files** folder in **Solution Explorer**, point to **Add** and click **New Item**.
4444

45-
- Click **C++ File (.cpp)** and type a file name and then click **Add**.
45+
- Click **C++ File (.cpp)** and type a file name and then click **Add**.
4646

47-
The **.cpp** file appears in the **Source Files** folder in **Solution Explorer** and a tabbed window appears where you type the code you want in that file.
47+
The **.cpp** file appears in the **Source Files** folder in **Solution Explorer** and a tabbed window appears where you type the code you want in that file.
4848

4949
1. Click in the newly created tab in Visual Studio and type a valid Visual C++ program, or copy and paste one of the sample programs.
5050

51-
For example, you can use the [How to: Write a Text File (C++/CLI)](../dotnet/how-to-write-a-text-file-cpp-cli.md) sample program (in the **File Handling and I/O** node of the Programming Guide).
51+
For example, you can use the [How to: Write a Text File (C++/CLI)](../dotnet/how-to-write-a-text-file-cpp-cli.md) sample program (in the **File Handling and I/O** node of the Programming Guide).
5252

53-
If you use the sample program, notice that you use the `gcnew` keyword instead of `new` when creating a .NET object, and that `gcnew` returns a handle (`^`) rather than a pointer (`*`):
53+
If you use the sample program, notice that you use the `gcnew` keyword instead of `new` when creating a .NET object, and that `gcnew` returns a handle (`^`) rather than a pointer (`*`):
5454

55-
`StreamWriter^ sw = gcnew StreamWriter(fileName);`
55+
`StreamWriter^ sw = gcnew StreamWriter(fileName);`
5656

57-
For more information on the new Visual C++ syntax, see [Component Extensions for Runtime Platforms](../windows/component-extensions-for-runtime-platforms.md).
57+
For more information on the new Visual C++ syntax, see [Component Extensions for Runtime Platforms](../windows/component-extensions-for-runtime-platforms.md).
5858

5959
1. On the **Build** menu, click **Build Solution**.
6060

61-
The **Output** window displays information about the compilation progress, such as the location of the build log and a message that indicates the build status.
61+
The **Output** window displays information about the compilation progress, such as the location of the build log and a message that indicates the build status.
6262

63-
If you make changes and run the program without doing a build, a dialog box might indicate that the project is out of date. Select the checkbox on this dialog before you click **OK** if you want Visual Studio to always use the current versions of files instead of prompting you each time it builds the application.
63+
If you make changes and run the program without doing a build, a dialog box might indicate that the project is out of date. Select the checkbox on this dialog before you click **OK** if you want Visual Studio to always use the current versions of files instead of prompting you each time it builds the application.
6464

6565
1. On the **Debug** menu, click **Start without Debugging**.
6666

6767
1. If you used the sample program, when you run the program a command window is displayed that indicates the text file has been created.
6868

69-
The **textfile.txt** text file is now located in your project directory. You can open this file by using Notepad.
69+
The **textfile.txt** text file is now located in your project directory. You can open this file by using Notepad.
7070

71-
> [!NOTE]
72-
> Choosing the empty CLR project template automatically set the `/clr` compiler option. To verify this, right-click the project in **Solution Explorer** and clicking **Properties**, and then check the **Common Language Runtime support** option in the **General** node of **Configuration Properties**.
71+
> [!NOTE]
72+
> Choosing the empty CLR project template automatically set the `/clr` compiler option. To verify this, right-click the project in **Solution Explorer** and clicking **Properties**, and then check the **Common Language Runtime support** option in the **General** node of **Configuration Properties**.
7373
7474
## What's Next
7575

0 commit comments

Comments
 (0)