Skip to content

Commit 6acdf59

Browse files
committed
Revert "Revert "Only enable source link on Windows as it's broken on Linux.""
This reverts commit bf4baa6.
1 parent a15556f commit 6acdf59

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Source/Boxed.AspNetCore.Swagger/Boxed.AspNetCore.Swagger.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</ItemGroup>
4545

4646
<ItemGroup Label="Package References">
47-
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
47+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
4848
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
4949
<PackageReference Include="Swashbuckle.AspNetCore" Version="2.4.0" />
5050
</ItemGroup>

Source/Boxed.AspNetCore.TagHelpers/Boxed.AspNetCore.TagHelpers.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<PackageReference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="2.0.4" />
4444
<PackageReference Include="Microsoft.AspNetCore.Razor.Runtime" Version="2.0.3" />
4545
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.0.2" />
46-
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
46+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
4747
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
4848
</ItemGroup>
4949

Source/Boxed.AspNetCore/Boxed.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<PackageReference Include="Microsoft.AspNetCore.Rewrite" Version="2.0.3" />
4646
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="2.0.2" />
4747
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.0.2" />
48-
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
48+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
4949
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
5050
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
5151
</ItemGroup>

Source/Boxed.Mapping/Boxed.Mapping.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</PropertyGroup>
4141

4242
<ItemGroup Label="Package References">
43-
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
43+
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Version="1.0.0-beta-62909-01" />
4444
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" Version="1.1.0-beta007" />
4545
</ItemGroup>
4646

0 commit comments

Comments
 (0)