Skip to content

Commit 51a2e90

Browse files
Add sources for PPDB SourceLink sample
1 parent 23a9351 commit 51a2e90

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dotnet build src -c Release --no-incremental
2+
cp src/bin/Release/*/*.dll .
3+
cp src/bin/Release/*/*.pdb .
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin/
2+
obj/
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System;
2+
3+
namespace Sample
4+
{
5+
public class Class1
6+
{
7+
// Just a test
8+
9+
public void SayHello()
10+
{
11+
Console.WriteLine("Hello!");
12+
}
13+
}
14+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
</PropertyGroup>
6+
7+
<ItemGroup>
8+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
9+
</ItemGroup>
10+
11+
</Project>

0 commit comments

Comments
 (0)