Skip to content

Commit afc192e

Browse files
authored
Fix darc publishing (#8275)
1 parent fd13e14 commit afc192e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport/Microsoft.NET.Sdk.Razor.SourceGenerators.Transport.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<SuppressDependenciesWhenPacking>false</SuppressDependenciesWhenPacking>
88
<NoPackageAnalysis>true</NoPackageAnalysis>
99
<GenerateDependencyFile>false</GenerateDependencyFile>
10-
<IsPackable>true</IsPackable>
10+
<IsPackable Condition="'$(OS)' == 'Windows_NT'">true</IsPackable>
1111
<!-- Need to build this project in source build -->
1212
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
1313
</PropertyGroup>

src/Compiler/tools/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal/Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>netstandard2.0</TargetFramework>
66
<IsShipping>false</IsShipping>
77
<IncludeBuildOutput>false</IncludeBuildOutput>
8-
<IsPackable>true</IsPackable>
8+
<IsPackable Condition="'$(OS)' == 'Windows_NT'">true</IsPackable>
99
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
1010
</PropertyGroup>
1111

src/Compiler/tools/Microsoft.CodeAnalysis.Razor.Tooling.Internal/Microsoft.CodeAnalysis.Razor.Tooling.Internal.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<TargetFramework>netstandard2.0</TargetFramework>
66
<IsShipping>false</IsShipping>
77
<IncludeBuildOutput>false</IncludeBuildOutput>
8-
<IsPackable>true</IsPackable>
8+
<IsPackable Condition="'$(OS)' == 'Windows_NT'">true</IsPackable>
99
<ExcludeFromSourceBuild>false</ExcludeFromSourceBuild>
1010
</PropertyGroup>
1111

src/Razor/src/rzls/rzls.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@
6767
</ItemGroup>
6868

6969
<MSBuild Projects="@(ProjectToPublish)" Targets="Publish;_IncludeOmniSharpPlugin" BuildInParallel="false" />
70-
<MSBuild Projects="@(ProjectToPublish_PlatformAgnostic)" Targets="Publish;_IncludeOmniSharpPlugin" BuildInParallel="false" />
70+
<MSBuild Projects="@(ProjectToPublish_PlatformAgnostic)" Targets="Publish;_IncludeOmniSharpPlugin" BuildInParallel="false" Condition="'$(OS)' == 'Windows_NT'" />
7171
</Target>
7272
</Project>

0 commit comments

Comments
 (0)