Skip to content

Commit

Permalink
Demo sdk import outside project
Browse files Browse the repository at this point in the history
  • Loading branch information
nguerrera committed May 22, 2018
0 parents commit 6d34578
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bin/
obj/
.vs/
12 changes: 12 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;

namespace sdkimportrepro
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
5 changes: 5 additions & 0 deletions dir.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
</Project>


5 changes: 5 additions & 0 deletions dir.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
</Project>


10 changes: 10 additions & 0 deletions sdkimportrepro.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project>
<Import Project="dir.props" />

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>

<Import Project="dir.targets" />
</Project>

0 comments on commit 6d34578

Please sign in to comment.