home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Compiling issue since VS2010
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="uxDesign" data-source="post: 836173" data-attributes="member: 117312"><p>Hi Folks,</p><p></p><p>that's what I did to get it compiled under Win7 x64</p><p></p><p>As described here <a href="http://support.microsoft.com/kb/2028833" target="_blank">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.</a></p><p></p><p>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\”.</p><p></p><p>backup the file ResGen.exe</p><p></p><p>execute <span style="font-family: 'Courier New'">corflags /32bit+ ResGen.exe /force</span></p><p></p><p>This didn't work for me in the first attempt, got some strange compiler errors afterwards. The backup was my rescue!</p><p></p><p>Open </p><p>- MediaPortal.Configuration.csproj </p><p>- TvEngine3\TVLibrary\Plugins\PluginBase\PluginBase.csproj </p><p>- TvEngine3\TVLibrary\SetupControls\SetupControls.csproj</p><p>- TvEngine3\TVLibrary\TvService\TvService.csproj </p><p>- TvEngine3\TVLibrary\SetupTv\SetupTv.csproj </p><p>- TvEngine3\TVLibrary\TestApp\TestApp.csproj </p><p>- TvEngine3\TVLibrary\Plugins\ConflictsManager\ConflictsManager.csproj </p><p>- TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster\ServerBlaster.csproj </p><p>- TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster (Learn)\Blaster (Learn).csproj</p><p>- TvEngine3\TVLibrary\Plugins\TvMovie\TvMovie.csproj </p><p>- TvEngine3\TVLibrary\Plugins\WebEPG\WebEPGPlugin\WebEPGImport.csproj </p><p>- TvEngine3\TVLibrary\Plugins\XmlTvImport\XmlTvImport.csproj </p><p>- TvEngine3\TVLibrary\Plugins\PowerScheduler\PowerScheduler.csproj </p><p>- TvEngine3\TVLibrary\Plugins\ComSkipLauncher\ComSkipLauncher.csproj </p><p>- TvEngine3\TVLibrary\Plugins\PersonalTVGuide\PersonalTVGuide.csproj </p><p></p><p>in an editor and add the following property </p><p><span style="font-family: 'Courier New'"><ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture></span> under the PropertyGroup with the <span style="font-family: 'Courier New'"><TargetFrameworkVersion></span> tag section. </p><p></p><p>Hope this helps,</p><p>uxDesign</p></blockquote><p></p>
[QUOTE="uxDesign, post: 836173, member: 117312"] Hi Folks, that's what I did to get it compiled under Win7 x64 As described here [url=http://support.microsoft.com/kb/2028833]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.[/url] 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 [FONT="Courier New"]corflags /32bit+ ResGen.exe /force[/FONT] 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 [FONT="Courier New"]<ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture>[/FONT] under the PropertyGroup with the [FONT="Courier New"]<TargetFrameworkVersion>[/FONT] tag section. Hope this helps, uxDesign [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Compiling issue since VS2010
Contact us
RSS
Top
Bottom