Skip to content

Commit

Permalink
respond to most pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nagilson committed Apr 27, 2023
1 parent 586ddd5 commit c0a6f47
Show file tree
Hide file tree
Showing 21 changed files with 63 additions and 82 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
<ProjectReference Include="..\blazorwasm\blazorwasm.csproj" />
</ItemGroup>

<!-- Based on .NET 8 breaking change: Add SelfContained if RuntimeIdentifier is defined to match old behavior.. -->
<PropertyGroup Condition="'$(RuntimeIdentifier)' != '' and '$(SelfContained)' == ''">
<SelfContained>true</SelfContained>
</PropertyGroup>

<!-- Enabling compression increases build time. We want to avoid this for tests so we
disable it here. This doesn't affect any test assertions. -->
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,4 @@
<_BlazorBrotliCompressionLevel>NoCompression</_BlazorBrotliCompressionLevel>
</PropertyGroup>

<!-- Based on .NET 8 breaking change: Add SelfContained if RuntimeIdentifier is defined to match old behavior.. -->
<PropertyGroup Condition="'$(RuntimeIdentifier)' != '' and '$(SelfContained)' == ''">
<SelfContained>true</SelfContained>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
<KnownFrameworkReference Remove="Microsoft.AspNetCore.App" />
</ItemGroup>

<!-- Based on .NET 8 breaking change: Add SelfContained if RuntimeIdentifier is defined to match old behavior.. -->
<PropertyGroup Condition="'$(RuntimeIdentifier)' != '' and '$(SelfContained)' == ''">
<SelfContained>true</SelfContained>
</PropertyGroup>

<!-- Enabling compression increases build time. We want to avoid this for tests so we
disable it here. This doesn't affect any test assertions. -->
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,4 @@
<_BlazorBrotliCompressionLevel>NoCompression</_BlazorBrotliCompressionLevel>
</PropertyGroup>

<!-- Based on .NET 8 breaking change: Add SelfContained if RuntimeIdentifier is defined to match old behavior.. -->
<PropertyGroup Condition="'$(RuntimeIdentifier)' != '' and '$(SelfContained)' == ''">
<SelfContained>true</SelfContained>
</PropertyGroup>


</Project>
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.tr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ The following are names of parameters or literal values and should not be transl
<note>{StrBegin="NETSDK1028: "}</note>
</trans-unit>
<trans-unit id="RuntimeIdentifierWillNoLongerImplySelfContained">
<source>NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</source>
<target state="new">NETSDK1201: For projects with TargetFramework(s) &gt;= 8.0, specifying a RuntimeIdentifier no longer produces a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use --self-contained argument.</target>
<source>NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</source>
<target state="new">NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.</target>
<note>{StrBegin="NETSDK1201: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
Loading

0 comments on commit c0a6f47

Please sign in to comment.