Skip to content

Commit

Permalink
Normalise Source Link file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Dec 10, 2020
1 parent 6452018 commit af5a60d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<PropertyGroup Label="Build">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<PropertyGroup Label="Signing">
Expand Down
8 changes: 7 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,19 @@ Task("Pack")
.Description("Creates NuGet packages and outputs them to the artefacts directory.")
.Does(() =>
{
var buildSettings = new DotNetCoreMSBuildSettings();
if (!BuildSystem.IsLocalBuild)
{
buildSettings.WithProperty("ContinuousIntegrationBuild", "true");
}

DotNetCorePack(
".",
new DotNetCorePackSettings()
{
Configuration = configuration,
IncludeSymbols = true,
MSBuildSettings = new DotNetCoreMSBuildSettings().WithProperty("SymbolPackageFormat", "snupkg"),
MSBuildSettings = buildSettings,
NoBuild = true,
NoRestore = true,
OutputDirectory = artefactsDirectory,
Expand Down

0 comments on commit af5a60d

Please sign in to comment.