Use SourceLink
This commit is contained in:
Родитель
6deccee809
Коммит
ac023ed6ce
|
@ -13,5 +13,9 @@
|
|||
|
||||
<RepositoryUrl>https://github.com/dotnet/symreader-converter</RepositoryUrl>
|
||||
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
|
||||
|
||||
<!-- SourceLink: Generate source link when building in microbuild. -->
|
||||
<SourceLinkCreate Condition="'$(BUILD_BUILDNUMBER)' != ''">true</SourceLinkCreate>
|
||||
<SourceLinkRepo>$(RepoRoot)</SourceLinkRepo>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -13,6 +13,7 @@
|
|||
<PackageReference Include="MicroBuild.Core" Version="$(MicroBuildCoreVersion)" />
|
||||
<PackageReference Include="MicroBuild.Core.Sentinel" Version="1.0.0" />
|
||||
<PackageReference Include="Microsoft.Net.Compilers" Version="$(MicrosoftNetCompilersVersion)" />
|
||||
<PackageReference Include="SourceLink.Create.CommandLine" Version="$(SourceLinkCreateCommandLineVersion)" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||
</Project>
|
|
@ -13,6 +13,7 @@
|
|||
<MicroBuildCoreVersion>0.2.0</MicroBuildCoreVersion>
|
||||
<MicroBuildPluginsSwixBuildVersion>1.0.101</MicroBuildPluginsSwixBuildVersion>
|
||||
<MicrosoftNetCompilersVersion>2.0.1</MicrosoftNetCompilersVersion>
|
||||
<SourceLinkCreateCommandLineVersion>2.1.0</SourceLinkCreateCommandLineVersion>
|
||||
|
||||
<!-- Tests -->
|
||||
<MicrosoftNETTestSdkVersion>15.0.0-preview-20170125-04</MicrosoftNETTestSdkVersion>
|
||||
|
|
|
@ -2,4 +2,6 @@
|
|||
<Project>
|
||||
<!-- This file is imported by all projects at the end of the project files -->
|
||||
<Import Project="$(RepoToolsetDir)Imports.targets" />
|
||||
<!-- Source link -->
|
||||
<Import Project="$(NuGetPackageRoot)SourceLink.Create.CommandLine\$(SourceLinkCreateCommandLineVersion)\build\SourceLink.Create.CommandLine.targets" />
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче