mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
Fixed bug with .NET keyfile path containing spaces. Fixes #1003.
This commit is contained in:
parent
1177be6391
commit
0ebce66c57
|
@ -1633,6 +1633,8 @@ class DotNetDLLComponent(Component):
|
||||||
|
|
||||||
if not self.key_file is None:
|
if not self.key_file is None:
|
||||||
print("%s.dll will be signed using key '%s'." % (self.dll_name, self.key_file))
|
print("%s.dll will be signed using key '%s'." % (self.dll_name, self.key_file))
|
||||||
|
if (self.key_file.find(' ') != -1):
|
||||||
|
self.key_file = '"' + self.key_file + '"'
|
||||||
cscCmdLine.append('/keyfile:{}'.format(self.key_file))
|
cscCmdLine.append('/keyfile:{}'.format(self.key_file))
|
||||||
|
|
||||||
cscCmdLine.extend( ['/unsafe+',
|
cscCmdLine.extend( ['/unsafe+',
|
||||||
|
|
Loading…
Reference in a new issue