File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 12
12
<PropertyGroup Condition =" '$(TargetFramework)'=='net452'" >
13
13
<DefineConstants >NET452</DefineConstants >
14
14
</PropertyGroup >
15
+
16
+ <ItemGroup >
17
+ <PackageReference Include =" SourceLink.Create.CommandLine" Version =" 2.1.2" PrivateAssets =" All" />
18
+ </ItemGroup >
15
19
</Project >
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ $projects = (
21
21
# Rebuild solution
22
22
Set-Location $slnPath
23
23
& dotnet restore
24
- & dotnet msbuild / t:Rebuild / p:Configuration= Release
25
24
26
25
# Copy all nuget packages to the pack folder
27
26
foreach ($project in $projects ) {
@@ -30,7 +29,8 @@ foreach($project in $projects) {
30
29
31
30
# Create nuget pack
32
31
Set-Location $projectFolder
33
- & dotnet msbuild / t:pack / p:Configuration= Release / p:IncludeSymbols= true
32
+ Remove-Item - Recurse (Join-Path $projectFolder " bin/Release" )
33
+ & dotnet msbuild / t:pack / p:Configuration= Release / p:IncludeSymbols= true / p:SourceLinkCreate= true
34
34
35
35
# Copy nuget package
36
36
$projectPackPath = Join-Path $projectFolder (" /bin/Release/" + $project + " .*.nupkg" )
You can’t perform that action at this time.
0 commit comments