You can't force Visual Studio to enable the options, but you can achieve the effect by manually editing the csproj file. MSBuild is really quite powerful and Visual Studio tends to hide its functionality to simplify basic use cases. To edit the csproj file, right click the project and select Unload Project, the right click again and select Edit. A standard csproj for a console app would look something like this at the top
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DE6C0E52-0B46-42E1-BA10-83C0B7B08A7F}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ServiceSample</RootNamespace>
<AssemblyName>ServiceSample</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
Note the element OutputType. That is the one we want to change. The value "Exe" corresponds to a console application while "Winexe" corresponds to a Windows application in the Visual Studio UI. There are a few ways to do this, but the simplest is probably with the Choose element. Edit this section to look like this:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DE6C0E52-0B46-42E1-BA10-83C0B7B08A7F}</ProjectGuid>
<!--<OutputType>Exe</OutputType>-->
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ServiceSample</RootNamespace>
<AssemblyName>ServiceSample</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<Choose>
<When Condition=" '$(Configuration)' == 'Debug' ">
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<OutputType>Winexe</OutputType>
</PropertyGroup>
</Otherwise>
</Choose>
Note that we commented OutputType from the main PropertyGroup and put into to sections within the Choose element, which will select the values based on the value of the Configuration property.