diff --git a/Languages/IronPython/IronPythonCompiler/Config.cs b/Languages/IronPython/IronPythonCompiler/Config.cs
index 0fe4be8253..5e24cf691e 100644
--- a/Languages/IronPython/IronPythonCompiler/Config.cs
+++ b/Languages/IronPython/IronPythonCompiler/Config.cs
@@ -3,7 +3,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
-using System.Threading.Tasks;
using IKVM.Reflection;
using IKVM.Reflection.Emit;
using System.Resources;
diff --git a/Languages/IronPython/IronPythonCompiler/ConsoleOps.cs b/Languages/IronPython/IronPythonCompiler/ConsoleOps.cs
index 0f4889ca4c..4711ce2ca2 100644
--- a/Languages/IronPython/IronPythonCompiler/ConsoleOps.cs
+++ b/Languages/IronPython/IronPythonCompiler/ConsoleOps.cs
@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
-using System.Threading.Tasks;
namespace IronPythonCompiler {
public static class ConsoleOps {
diff --git a/Languages/IronPython/IronPythonCompiler/IronPythonCompiler.csproj b/Languages/IronPython/IronPythonCompiler/IronPythonCompiler.csproj
index f7e2e6342c..5499f8f09d 100644
--- a/Languages/IronPython/IronPythonCompiler/IronPythonCompiler.csproj
+++ b/Languages/IronPython/IronPythonCompiler/IronPythonCompiler.csproj
@@ -2,35 +2,23 @@
- Debug
- AnyCPU
{3DFB096E-AC09-4E7A-9288-7F7C33C288C7}
Exe
Properties
IronPythonCompiler
ipyc
- v4.0
- 512
+ ..\App.$(ConfigurationFlavor).config
+
+
- AnyCPU
- true
- full
- false
- ..\..\..\bin\Debug\
- TRACE;DEBUG
- prompt
- 4
- AnyCPU
- pdbonly
- true
- ..\..\..\bin\Release\
- TRACE
- prompt
- 4
+
+
+
+
IronPythonCompiler.Program
@@ -73,8 +61,16 @@
IronPython
false
+
+
+
+ App.Debug.config
+
+
+ App.Release.config
+
-
\ No newline at end of file
+
diff --git a/Languages/IronPython/IronPythonCompiler/Program.cs b/Languages/IronPython/IronPythonCompiler/Program.cs
index 3fb5bce2f9..83d16f7a8a 100644
--- a/Languages/IronPython/IronPythonCompiler/Program.cs
+++ b/Languages/IronPython/IronPythonCompiler/Program.cs
@@ -19,7 +19,6 @@
using System.IO;
using System.Linq;
using System.Text;
-using System.Threading.Tasks;
using IronPython.Runtime;
using IronPython.Runtime.Operations;
using IronPython.Hosting;
@@ -62,7 +61,11 @@ static void GenerateExe(Config config) {
foreach (var a in System.AppDomain.CurrentDomain.GetAssemblies()) {
var n = new AssemblyName(a.FullName);
+#if CLR2
+ if (a.EntryPoint == null && (n.Name.StartsWith("IronPython") || n.Name == "Microsoft.Dynamic" || n.Name == "Microsoft.Scripting")) {
+#else
if (!a.IsDynamic && a.EntryPoint == null && (n.Name.StartsWith("IronPython") || n.Name == "Microsoft.Dynamic" || n.Name == "Microsoft.Scripting")) {
+#endif
ConsoleOps.Info("\tEmbedded {0} {1}", n.Name, n.Version);
var f = new FileStream(a.Location, FileMode.Open, FileAccess.Read);
mb.DefineManifestResource("Dll." + n.Name, f, IKVM.Reflection.ResourceAttributes.Public);
diff --git a/Solutions/Build.IronPython.proj b/Solutions/Build.IronPython.proj
index 22dae0fc84..a0ee6a2598 100644
--- a/Solutions/Build.IronPython.proj
+++ b/Solutions/Build.IronPython.proj
@@ -19,7 +19,7 @@
$(BinDir)\$(BaseConfiguration)
$(BinDir)\v2$(BaseConfiguration)
$(BinDir)\v45$(BaseConfiguration)
- $(BinDir)\Silverlight5$(BaseConfiguration)
+
@@ -32,9 +32,11 @@
Configuration=v45$(BaseConfiguration)
+
Configuration=$(BaseConfiguration);BaseInputPaths=$(StageDir);WixToolPath=$(UtilDir)\Wix35\;OutputPath=$(PackageDir);BuildDir=$(BuildDir)
@@ -72,13 +74,20 @@
+
+
+
+
+
@@ -137,6 +146,7 @@
+
@@ -149,6 +159,7 @@
+
@@ -179,10 +191,12 @@
+