Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit ee4c075

Browse files
committed
targeting sdk 3.5
1 parent 921b31c commit ee4c075

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

IProcessDll/IProcessDll.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>IProcessDll</RootNamespace>
1111
<AssemblyName>IProcessDll</AssemblyName>
12-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile>
1515
</TargetFrameworkProfile>

UnusedBytecodeStripper2/App.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<configuration>
33
<startup>
44

5-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
5+
<supportedRuntime version="v2.0.50727"/></startup>
66
</configuration>

UnusedBytecodeStripper2/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static int SpawnOriginalExecutable(string[] args)
103103
var currentModulePath = Assembly.GetExecutingAssembly().Location;
104104
var orgModulePath = currentModulePath.Substring(0, currentModulePath.Length - 3) + "org.exe";
105105

106-
var orgArgs = string.Join(" ", args.Select(a => '"' + a + '"'));
106+
var orgArgs = string.Join(" ", args.Select(a => '"' + a + '"').ToArray());
107107
Log(string.Format("Spawn: Exec={0}", orgModulePath));
108108
Log(string.Format(" Args={0}", orgArgs));
109109
var handle = Process.Start(orgModulePath, orgArgs);
@@ -120,7 +120,7 @@ static int SpawnOriginalExecutable(string[] args)
120120
var currentModulePath = Assembly.GetExecutingAssembly().Location;
121121
var orgModulePath = currentModulePath.Substring(0, currentModulePath.Length - 3) + "org.exe";
122122

123-
var orgArgs = '"' + orgModulePath + '"' + ' ' + string.Join(" ", args.Select(a => '"' + a + '"'));
123+
var orgArgs = '"' + orgModulePath + '"' + ' ' + string.Join(" ", args.Select(a => '"' + a + '"').ToArray());
124124
Log(string.Format("Spawn: Mono={0}", monoPath));
125125
Log(string.Format(" Exec={0}", orgModulePath));
126126
Log(string.Format(" Args={0}", orgArgs));

UnusedBytecodeStripper2/UnusedBytecodeStripper2.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>UnusedBytecodeStripper2</RootNamespace>
1111
<AssemblyName>UnusedBytecodeStripper2</AssemblyName>
12-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1515
<IsWebBootstrapper>false</IsWebBootstrapper>

0 commit comments

Comments
 (0)