Click here to Skip to main content
15,884,537 members
Articles / Programming Languages / C#

Embedding a Console in a C# Application

Rate me:
Please Sign up or sign in to vote.
4.91/5 (151 votes)
21 Mar 2015MIT4 min read 621.9K   27.7K   403  
Embed a functional console window in a C# application

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleControl", "ConsoleControl\ConsoleControl.csproj", "{737CC7F2-EC7C-4800-B7EB-72637E892C42}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleControlSample", "ConsoleControlSample\ConsoleControlSample.csproj", "{85D51BC3-E7F2-4C63-80B4-D16BE768707E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProcessInterface", "ProcessInterface\ProcessInterface.csproj", "{A4B8573F-EBFC-4140-B8AA-7C037919EF57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleControl.WPF", "ConsoleControl.WPF\ConsoleControl.WPF.csproj", "{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleControlSample.WPF", "ConsoleControlSample.WPF\ConsoleControlSample.WPF.csproj", "{4FA35552-432C-4AEF-8B5B-05883D11F098}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Debug|x86.ActiveCfg = Debug|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Release|Any CPU.Build.0 = Release|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{737CC7F2-EC7C-4800-B7EB-72637E892C42}.Release|x86.ActiveCfg = Release|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Debug|x86.ActiveCfg = Debug|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Release|Any CPU.Build.0 = Release|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{85D51BC3-E7F2-4C63-80B4-D16BE768707E}.Release|x86.ActiveCfg = Release|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Debug|x86.ActiveCfg = Debug|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Release|Any CPU.Build.0 = Release|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{A4B8573F-EBFC-4140-B8AA-7C037919EF57}.Release|x86.ActiveCfg = Release|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Debug|x86.ActiveCfg = Debug|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Release|Any CPU.Build.0 = Release|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{FD9FF553-D7C6-45A8-8321-5D9058B38E2D}.Release|x86.ActiveCfg = Release|Any CPU
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Debug|Any CPU.ActiveCfg = Debug|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Debug|Any CPU.Build.0 = Debug|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Debug|x86.ActiveCfg = Debug|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Debug|x86.Build.0 = Debug|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Release|Any CPU.ActiveCfg = Release|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Release|Mixed Platforms.Build.0 = Release|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Release|x86.ActiveCfg = Release|x86
		{4FA35552-432C-4AEF-8B5B-05883D11F098}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.

Comments and Discussions