Author: mkrueger
Date: 2007-05-31 08:35:25 -0400 (Thu, 31 May 2007)
New Revision: 78315

Modified:
   branches/mkrueger/monodevelop/Extras/CSharpBinding/CSharpBackendBinding.cs
Log:
Worked on project options.

Modified: 
branches/mkrueger/monodevelop/Extras/CSharpBinding/CSharpBackendBinding.cs
===================================================================
--- branches/mkrueger/monodevelop/Extras/CSharpBinding/CSharpBackendBinding.cs  
2007-05-31 12:33:30 UTC (rev 78314)
+++ branches/mkrueger/monodevelop/Extras/CSharpBinding/CSharpBackendBinding.cs  
2007-05-31 12:35:25 UTC (rev 78315)
@@ -88,13 +88,6 @@
                        return outputType.ToLower ();
                }
                
-               string GetExtension (string outputType)
-               {
-                       if (outputType.ToLower () == "exe" || 
outputType.ToLower () == "winexe") {
-                               return ".exe";
-                       }
-                       return ".dll";
-               }
                
                public override CompilerResult Compile (IProject prj, 
IProgressMonitor monitor)
                {
@@ -110,7 +103,7 @@
                                if (!String.IsNullOrEmpty 
(project.DefineConstants))
                                        writer.WriteLine ("/d:{0}", 
project.DefineConstants);
                                
-                               string assemblyName = project.AssemblyName + 
GetExtension (project.OutputType);
+                               string assemblyName = project.AssemblyName + 
MSBuildProject.GetExtension (project.OutputType);
                                if (String.IsNullOrEmpty (project.OutputPath)) {
                                        writer.WriteLine ("\"/out:{0}\"", 
assemblyName);
                                } else {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to