diff options
author | Andre Azevedo <andre.azevedo@gmail.com> | 2011-11-11 17:36:14 +0400 |
---|---|---|
committer | Andre Azevedo <andre.azevedo@gmail.com> | 2011-11-11 17:36:14 +0400 |
commit | 4bdaffe77aa98f8d30fbffdab09b25461c96ab9c (patch) | |
tree | dcf645750fdb90769a268218dbb1fed4e149f1aa /main/src/addins/CSharpBinding | |
parent | 0d713b07002230a747435613367b1c11188a045a (diff) |
Correcting an bug introduced by last commit (change on MakeWritable() method).
Diffstat (limited to 'main/src/addins/CSharpBinding')
-rw-r--r-- | main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpBindingCompilerManager.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpBindingCompilerManager.cs b/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpBindingCompilerManager.cs index 4c16fa0d9f..ac1068e118 100644 --- a/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpBindingCompilerManager.cs +++ b/main/src/addins/CSharpBinding/MonoDevelop.CSharp/CSharpBindingCompilerManager.cs @@ -61,8 +61,9 @@ namespace MonoDevelop.CSharp FilePath outputName = configuration.CompiledOutputName; string responseFileName = Path.GetTempFileName(); - if (File.Exists (outputName)) { - bool isWriteable = outputName.MakeWritable (); + if (File.Exists (outputName)) {
+ outputName.MakeWritable(); + bool isWriteable = false; int count = 0; do { try { |