Skip to content

Commit

Permalink
Improve the error message quality.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagilson committed Jan 25, 2023
1 parent ee5d568 commit 38491c6
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/Tasks/Common/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ You may need to build the project on another operating system or architecture, o
<comment>{StrBegin="NETSDK1196: "}</comment>
</data>
<data name="RuntimeIdentifierWillNoLongerImplySelfContained" xml:space="preserve">
<value>NETSDK1198: In projects with TargetFrameworks >= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</value>
<value>NETSDK1198: For projects with TargetFrameworks >= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</value>
<comment>{StrBegin="NETSDK1198: "}</comment>
</data>
</root>
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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</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 @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/Common/Resources/xlf/Strings.zh-Hant.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,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>NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: In projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To preserve a project's current behavior after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<source>NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</source>
<target state="new">NETSDK1198: For projects with TargetFrameworks &gt;= 8.0, RuntimeIdentifier no longer automatically gives a SelfContained app. To continue creating a .NET framework independent app after upgrading to 8.0, consider setting SelfContained explicitly.</target>
<note>{StrBegin="NETSDK1198: "}</note>
</trans-unit>
<trans-unit id="RuntimeListNotFound">
Expand Down
Loading

0 comments on commit 38491c6

Please sign in to comment.