Skip to content

Commit b1b4266

Browse files
author
Peter Huene
committed
Log an error if we fail to delete AppHost on error.
This commit logs an error message if we fail to delete the AppHost upon failure.
1 parent 7eaa9b6 commit b1b4266

File tree

15 files changed

+78
-2
lines changed

15 files changed

+78
-2
lines changed

src/Tasks/Common/Resources/Strings.resx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,12 +540,16 @@ The following are names of parameters or literal values and should not be transl
540540
<value>NETSDK1108: ReadyToRun compilation will be skipped because it is only supported for executable projects.</value>
541541
<comment>{StrBegin="NETSDK1108: "}</comment>
542542
</data>
543-
<data name="RuntimeListNotFound" xml:space="preserve">
543+
<data name="RuntimeListNotFound" xml:space="preserve">
544544
<value>NETSDK1109: Runtime list file '{0}' was not found. Report this error to the .NET Core team here: https://aka.ms/dotnet-sdk-issue.</value>
545545
<comment>{StrBegin="NETSDK1109: "}</comment>
546546
</data>
547547
<data name="DuplicateRuntimePackAsset" xml:space="preserve">
548548
<value>NETSDK1110: More than one asset in the runtime pack has the same destination sub-path of '{0}'. Report this error to the .NET Core team here: https://aka.ms/dotnet-sdk-issue.</value>
549549
<comment>{StrBegin="NETSDK1110: "}</comment>
550550
</data>
551+
<data name="FailedToDeleteApphost" xml:space="preserve">
552+
<value>NETSDK1111: Failed to delete output apphost: {0}</value>
553+
<comment>{StrBegin="NETSDK1111: "}</comment>
554+
</data>
551555
</root>

src/Tasks/Common/Resources/xlf/Strings.cs.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: Chyba při načítání souboru prostředků: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: Nepovedlo se uzamknout prostředek.</target>

src/Tasks/Common/Resources/xlf/Strings.de.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: Fehler beim Lesen der Ressourcendatei: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: Fehler beim Sperren der Ressource.</target>

src/Tasks/Common/Resources/xlf/Strings.es.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: Error al leer el archivo de activos: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: No se pudo bloquear el recurso.</target>

src/Tasks/Common/Resources/xlf/Strings.fr.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: Erreur durant la lecture du fichier de composants : {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: échec du verrouillage de la ressource.</target>

src/Tasks/Common/Resources/xlf/Strings.it.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: errore durante la lettura del file di asset: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: non è stato possibile bloccare la risorsa.</target>

src/Tasks/Common/Resources/xlf/Strings.ja.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: アセット ファイルの読み取りでエラーが発生しました: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: リソースをロックできませんでした。</target>

src/Tasks/Common/Resources/xlf/Strings.ko.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: 자산 파일 {0}을(를) 읽는 동안 오류가 발생했습니다.</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: 리소스를 잠그지 못했습니다.</target>

src/Tasks/Common/Resources/xlf/Strings.pl.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: Błąd podczas odczytywania pliku zasobów: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: Nie można zablokować zasobu.</target>

src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@
267267
<target state="translated">NETSDK1060: Erro ao ler o arquivo de ativos: {0}</target>
268268
<note>{StrBegin="NETSDK1060: "}</note>
269269
</trans-unit>
270+
<trans-unit id="FailedToDeleteApphost">
271+
<source>NETSDK1111: Failed to delete output apphost: {0}</source>
272+
<target state="new">NETSDK1111: Failed to delete output apphost: {0}</target>
273+
<note>{StrBegin="NETSDK1111: "}</note>
274+
</trans-unit>
270275
<trans-unit id="FailedToLockResource">
271276
<source>NETSDK1077: Failed to lock resource.</source>
272277
<target state="translated">NETSDK1077: falha ao bloquear o recurso.</target>

0 commit comments

Comments
 (0)