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
Copy file name to clipboardExpand all lines: docs/dotnet/dotnet-programming-with-cpp-cli-visual-cpp.md
+2-50Lines changed: 2 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -12,57 +12,10 @@ ms.author: "mblome"
12
12
ms.workload: ["cplusplus", "dotnet"]
13
13
---
14
14
# .NET Programming with C++/CLI (Visual C++)
15
-
<<<<<<< HEAD
16
-
C++/CLI is a set of language extensions that enable native C++ code to interoperate with .NET applications. You can create C++/CLI console applications, but Visual Studio no longer provides project templates for creating .NET Windows applications based on C++/CLI; the recommended approach is to use C# to create the user interface and consume C++/CLI code in DLLs.
17
-
15
+
18
16
**Visual Studio 2015**: By default, CLR projects created with Visual Studio 2015 target .NET Framework 4.5.2. To target .NET Framework 4.6 when you create a new project, in the **New Project** dialog, change the target framework in the dropdown at the top middle of the dialog. To change the target framework for an existing project, close the project, edit the project file (.vcxproj), and change the value of the Target Framework Version to 4.6. Next time you open the project, the settings will take effect.
19
17
20
-
**Visual Studio 2017**: In Visual Studio 2017, the default framework is 4.6.1 and the Framework version selector is at the bottom of the **New Project Dialog**. C++/CLI requires the . To install the component, open the Visual Studio Installer
21
-
22
-
## In This Section
23
-
[C++/CLI Tasks](../dotnet/cpp-cli-tasks.md)
24
-
25
-
[Native and .NET Interoperability](../dotnet/native-and-dotnet-interoperability.md)
26
-
27
-
[Pure and Verifiable Code (C++/CLI)](../dotnet/pure-and-verifiable-code-cpp-cli.md)
[C++ Support Library](../dotnet/cpp-support-library.md)
54
-
55
-
[Exceptions in C++/CLI](../dotnet/exceptions-in-cpp-cli.md)
56
-
57
-
[Boxing (C++/CLI)](../dotnet/boxing-cpp-cli.md)
58
-
59
-
## See Also
60
-
[Native and .NET Interoperability](../dotnet/native-and-dotnet-interoperability.md)
61
-
=======
62
-
63
-
The following topics describe how Visual C++ can target the .NET platform.
64
-
65
-
By default, CLR projects created with Visual Studio 2015 target .NET Framework 4.5.2. To target .NET Framework 4.6 when you create a new project, in the **New Project** dialog, change the target framework in the dropdown at the top middle of the dialog. To change the target framework for an existing project, close the project, edit the project file (.vcxproj), and change the value of the Target Framework Version to 4.6. Next time you open the project, the settings will take effect.
18
+
**Visual Studio 2017**: In Visual Studio 2017, the default framework is 4.6.1 and the Framework version selector is at the bottom of the **New Project Dialog**. C++/CLI itself is not installed by default. To install the component, open the Visual Studio Installer and choose the C++/CLI component under Visual C++.
66
19
67
20
## In This Section
68
21
@@ -107,4 +60,3 @@ By default, CLR projects created with Visual Studio 2015 target .NET Framework 4
107
60
## See Also
108
61
109
62
[Native and .NET Interoperability](../dotnet/native-and-dotnet-interoperability.md)
0 commit comments