Skip to content

Instantly share code, notes, and snippets.

@citizenmatt
Last active June 24, 2016 13:58
Show Gist options
  • Save citizenmatt/a296cd764d3cb78f9f322fd5e5d65585 to your computer and use it in GitHub Desktop.
Save citizenmatt/a296cd764d3cb78f9f322fd5e5d65585 to your computer and use it in GitHub Desktop.
Sample solution and .xproj file for .net core RC2
Simple solution file and xproj for a .net core RC2 project. You should rename to whatever your solution and project is
called - update the names in the .sln file to reflect your .xproj file and folder name.
Ideally, you should also replace the A2B3B... guid in the .xproj and .sln file - it should be a new value, but if you're
not going to have any other projects, it won't really matter if it's the same value.
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Whatever", "Whatever\Whatever.xproj", "{A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>A2B3B3E1-6D88-4BF8-A709-4F2F3296E21E</ProjectGuid>
<RootNamespace>Whatever</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment