diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2010-11-16 23:08:20 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2010-11-16 23:08:20 +0300 |
commit | 48a62e166dfb046dcbaaedd977f8ebbdd1149162 (patch) | |
tree | c3c65670854be68b28938f255c537e134e5e6b15 /main/src/addins/Deployment | |
parent | 31d3c9a0dced09323fcf4eef70f78e96b49469e9 (diff) |
Fix bug #653977 - MonoDevelop not copying App.config to build target directory
Copy app.config to the output, even if it doesn't have the
CopyToOutput flag.
Diffstat (limited to 'main/src/addins/Deployment')
-rw-r--r-- | main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DefaultDeployServiceExtension.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DefaultDeployServiceExtension.cs b/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DefaultDeployServiceExtension.cs index d0b1971fac..58f7897c3d 100644 --- a/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DefaultDeployServiceExtension.cs +++ b/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment/DefaultDeployServiceExtension.cs @@ -43,11 +43,6 @@ namespace MonoDevelop.Deployment if (props.ShouldDeploy) { DeployFile dp = new DeployFile (file); deployFiles.Add (dp); - - if (string.Compare (Path.GetFileName (dp.SourcePath), "app.config", true)==0 && string.Compare (Path.GetFileName (dp.RelativeTargetPath), "app.config", true)==0) { - string newName = Path.GetFileName (outputFile) + ".config"; - dp.RelativeTargetPath = Path.Combine (Path.GetDirectoryName (dp.RelativeTargetPath), newName); - } } } |