Normal
Hi Folks,that's what I did to get it compiled under Win7 x64As described here MSBuild 4.0 or Visual Studio 2010 may fail to compile a 32-bit application targeted for .Net Framework 3.5, 3.0 or 2.0 on x64 machine.From the Visual Studio Tools subfolder, open an elevated “Visual Studio Command Prompt (2010)” (using “Run as administrator” option). Change directory to "<system_drive>:\Program Files (x86)\Microsoft SDKs\Windows\v<x.xx>\bin\”.backup the file ResGen.exeexecute corflags /32bit+ ResGen.exe /forceThis didn't work for me in the first attempt, got some strange compiler errors afterwards. The backup was my rescue!Open- MediaPortal.Configuration.csproj- TvEngine3\TVLibrary\Plugins\PluginBase\PluginBase.csproj- TvEngine3\TVLibrary\SetupControls\SetupControls.csproj- TvEngine3\TVLibrary\TvService\TvService.csproj - TvEngine3\TVLibrary\SetupTv\SetupTv.csproj- TvEngine3\TVLibrary\TestApp\TestApp.csproj- TvEngine3\TVLibrary\Plugins\ConflictsManager\ConflictsManager.csproj- TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster\ServerBlaster.csproj- TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster (Learn)\Blaster (Learn).csproj- TvEngine3\TVLibrary\Plugins\TvMovie\TvMovie.csproj- TvEngine3\TVLibrary\Plugins\WebEPG\WebEPGPlugin\WebEPGImport.csproj- TvEngine3\TVLibrary\Plugins\XmlTvImport\XmlTvImport.csproj- TvEngine3\TVLibrary\Plugins\PowerScheduler\PowerScheduler.csproj- TvEngine3\TVLibrary\Plugins\ComSkipLauncher\ComSkipLauncher.csproj- TvEngine3\TVLibrary\Plugins\PersonalTVGuide\PersonalTVGuide.csprojin an editor and add the following property<ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture> under the PropertyGroup with the <TargetFrameworkVersion> tag section.Hope this helps,uxDesign
Hi Folks,
that's what I did to get it compiled under Win7 x64
As described here MSBuild 4.0 or Visual Studio 2010 may fail to compile a 32-bit application targeted for .Net Framework 3.5, 3.0 or 2.0 on x64 machine.
From the Visual Studio Tools subfolder, open an elevated “Visual Studio Command Prompt (2010)” (using “Run as administrator” option). Change directory to "<system_drive>:\Program Files (x86)\Microsoft SDKs\Windows\v<x.xx>\bin\”.
backup the file ResGen.exe
execute corflags /32bit+ ResGen.exe /force
This didn't work for me in the first attempt, got some strange compiler errors afterwards. The backup was my rescue!
Open
- MediaPortal.Configuration.csproj
- TvEngine3\TVLibrary\Plugins\PluginBase\PluginBase.csproj
- TvEngine3\TVLibrary\SetupControls\SetupControls.csproj
- TvEngine3\TVLibrary\TvService\TvService.csproj
- TvEngine3\TVLibrary\SetupTv\SetupTv.csproj
- TvEngine3\TVLibrary\TestApp\TestApp.csproj
- TvEngine3\TVLibrary\Plugins\ConflictsManager\ConflictsManager.csproj
- TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster\ServerBlaster.csproj
- TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster (Learn)\Blaster (Learn).csproj
- TvEngine3\TVLibrary\Plugins\TvMovie\TvMovie.csproj
- TvEngine3\TVLibrary\Plugins\WebEPG\WebEPGPlugin\WebEPGImport.csproj
- TvEngine3\TVLibrary\Plugins\XmlTvImport\XmlTvImport.csproj
- TvEngine3\TVLibrary\Plugins\PowerScheduler\PowerScheduler.csproj
- TvEngine3\TVLibrary\Plugins\ComSkipLauncher\ComSkipLauncher.csproj
- TvEngine3\TVLibrary\Plugins\PersonalTVGuide\PersonalTVGuide.csproj
in an editor and add the following property
<ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture> under the PropertyGroup with the <TargetFrameworkVersion> tag section.
Hope this helps,
uxDesign