6 references to TargetPropsFilePath
Microsoft.NET.Sdk.StaticWebAssets.Tasks (6)
Legacy\GenerateStaticWebAssetsPropsFile50.cs (6)
112var fileExists = File.Exists(TargetPropsFilePath); 113var existingFileHash = fileExists ? ComputeHash(File.ReadAllBytes(TargetPropsFilePath)) : ""; 117Log.LogMessage(MessageImportance.Low, $"Creating file '{TargetPropsFilePath}' does not exist."); 118File.WriteAllBytes(TargetPropsFilePath, data); 122Log.LogMessage(MessageImportance.Low, $"Updating '{TargetPropsFilePath}' file because the hash '{dataHash}' is different from existing file hash '{existingFileHash}'."); 123File.WriteAllBytes(TargetPropsFilePath, data);