2 writes to KeyFile
Microsoft.Build.Tasks.Core (2)
AxReference.cs (1)
84
axImp.
KeyFile
= KeyFile;
TlbReference.cs (1)
163
KeyFile
= KeyFile,
10 references to KeyFile
Microsoft.Build.Tasks.Core (10)
AxTlbBaseTask.cs (10)
52
get => (string)Bag[nameof(
KeyFile
)];
53
set => Bag[nameof(
KeyFile
)] = value;
160
commandLine.AppendSwitchIfNotNull("/publickey:",
KeyFile
);
164
commandLine.AppendSwitchIfNotNull("/keyfile:",
KeyFile
);
180
if (!String.IsNullOrEmpty(
KeyFile
))
182
if (FileSystems.Default.FileExists(
KeyFile
))
188
Log.LogErrorWithCodeFromResources("AxTlbBaseTask.InvalidKeyFileSpecified",
KeyFile
);
219
StrongNameUtils.GetStrongNameKey(Log,
KeyFile
, KeyContainer, out keyPair, out publicKey);
251
if (!String.IsNullOrEmpty(
KeyFile
))
253
Log.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoKeyPairInFile",
KeyFile
);