1 write to SourcePackage
Microsoft.DotNet.NuGetRepack.Tests (1)
ReplacePackagePartsTests.cs (1)
31
SourcePackage
= originalNupkgPath,
8 references to SourcePackage
Microsoft.DotNet.NuGetRepack.Tasks (8)
src\ReplacePackageParts.cs (8)
126
File.Copy(
SourcePackage
, tempPackagePath);
137
Log.LogError($"'{
SourcePackage
}' has multiple .nuspec files in the root");
158
Log.LogError($"'{
SourcePackage
}' has invalid nuspec: missing 'metadata' element");
165
Log.LogError($"'{
SourcePackage
}' has invalid nuspec: missing 'id' element");
173
Log.LogError($"'{
SourcePackage
}' has invalid nuspec: missing 'version' element");
209
Log.LogMessage(MessageImportance.Low, $"Part '{relativePath}' of package '{
SourcePackage
}' replaced with '{replacementFilePath}'.");
216
Log.LogError($"'{
SourcePackage
}' has no .nuspec file in the root");
227
Log.LogWarning($"File '{partName}' not found in package '{
SourcePackage
}'");