mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Fixed bug with .NET keyfile path containing spaces. Fixes #1003.
This commit is contained in:
		
							parent
							
								
									1177be6391
								
							
						
					
					
						commit
						0ebce66c57
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue