|
|
@ -114,7 +114,7 @@ namespace ICSharpCode.SharpDevelop.Project |
|
|
|
if (fx != null) |
|
|
|
if (fx != null) |
|
|
|
UpdateAppConfig(fx); |
|
|
|
UpdateAppConfig(fx); |
|
|
|
if (Project.OutputType != OutputType.Library) { |
|
|
|
if (Project.OutputType != OutputType.Library) { |
|
|
|
if (DotnetDetection.IsDotnet45Installed()) { |
|
|
|
if (DotnetDetection.IsDotnet45Installed() && fx.IsBasedOn(TargetFramework.Net45)) { |
|
|
|
Project.SetProperty(null, Project.ActivePlatform, "Prefer32Bit", "True", PropertyStorageLocations.PlatformSpecific, true); |
|
|
|
Project.SetProperty(null, Project.ActivePlatform, "Prefer32Bit", "True", PropertyStorageLocations.PlatformSpecific, true); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Project.SetProperty(null, Project.ActivePlatform, "PlatformTarget", "x86", PropertyStorageLocations.PlatformSpecific, true); |
|
|
|
Project.SetProperty(null, Project.ActivePlatform, "PlatformTarget", "x86", PropertyStorageLocations.PlatformSpecific, true); |
|
|
|