You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log.LogError($"Precompile command succeeded, but can't find the expected temporary output file - {proxyFile.TempFile} for {assembly}.{Environment.NewLine}{output}");
942
+
returnfalse;
943
+
}
944
+
924
945
copied|=proxyFile.CopyOutputFileIfChanged();
925
946
_fileWrites.Add(proxyFile.TargetFile);
926
947
}
@@ -1135,8 +1156,20 @@ public FileCache(string? cacheFilePath, TaskLoggingHelper log)
@@ -1194,6 +1227,9 @@ public bool CopyOutputFileIfChanged()
1194
1227
1195
1228
try
1196
1229
{
1230
+
if(!File.Exists(TempFile))
1231
+
thrownewLogAsErrorException($"Could not find the temporary file {TempFile} for target file {TargetFile}. Look for any errors/warnings generated earlier in the build.");
1232
+
1197
1233
if(!_cache.ShouldCopy(this,outstring?cause))
1198
1234
{
1199
1235
_cache.Log.LogMessage(MessageImportance.Low,$"Skipping copying over {TargetFile} as the contents are unchanged");
0 commit comments