-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace TestSourceLink.Samples; | ||
|
||
public class Calculator | ||
{ | ||
public int Sum(int a, int b) | ||
{ | ||
return a + b; | ||
} | ||
|
||
public int Multiply(int a, int b) | ||
{ | ||
return a * b; | ||
} | ||
|
||
public double Divide(int a, int b) | ||
{ | ||
return a / b; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace TestSourceLink.Samples; | ||
|
||
internal class Logging | ||
{ | ||
public void Log(string message) | ||
{ | ||
Console.WriteLine(message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<Title>Test SourceLink</Title> | ||
<Authors>Osvaldo Calles</Authors> | ||
<Company>Home</Company> | ||
<Product>TestTools</Product> | ||
<Description>NuGet Package with debug symbols</Description> | ||
<PackageIcon>icons8-.net-framework-96.png</PackageIcon> | ||
<PackageTags>test;sample</PackageTags> | ||
<PackageId>Microsoft.Test.NuGetPackages</PackageId> | ||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild> | ||
<Version>1.0.10</Version> | ||
<ContinuousIntegrationBuild>True</ContinuousIntegrationBuild> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) --> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
|
||
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB --> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
|
||
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link --> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<!--<SymbolPackageFormat>snupkg</SymbolPackageFormat>--> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="icons8-.net-framework-96.png"> | ||
<Pack>True</Pack> | ||
<PackagePath>\</PackagePath> | ||
</None> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.4.32817.444 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestSourceLink", "TestSourceLink.csproj", "{4B9AAE55-5165-4CE0-B9A4-F51AB20341F9}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4B9AAE55-5165-4CE0-B9A4-F51AB20341F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{4B9AAE55-5165-4CE0-B9A4-F51AB20341F9}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{4B9AAE55-5165-4CE0-B9A4-F51AB20341F9}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{4B9AAE55-5165-4CE0-B9A4-F51AB20341F9}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {1A13FBA0-C16F-4D31-B72A-20204F6C2E4C} | ||
EndGlobalSection | ||
EndGlobal |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.