icsharpcode / SharpDevelop

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
2.07k stars 771 forks source link

Add 64-bit compatibility #724

Open ghost opened 8 years ago

ghost commented 8 years ago

Hello, Would you mind in adding to the Target CPU combo box 64- bit Intel compatible processor since almost all computers have both 32 and 64 bit architecture in one -> Also called WOW64.
Thank you.

ghost commented 8 years ago

Just wondering if this will be in the next version of SharpDevelop.

linquize commented 8 years ago

Target CPU

fretelweb commented 8 years ago

Would it work in debug mode if I target the CPU to Any processor (prefer 64-bit) or x86-64. I use to target 64-bits in debug mode but the debuger dont work

linquize commented 8 years ago

This is because SharpDevelop.exe is compiled as x86. If there are separate exes SharpDevelop-x86.exe and SharpDevelop-x64.exe, then debugging 64-bit process may be possible.

ILSpy can debug in 64-bit mode because it is compiled as AnyCPU, not x86.

fretelweb commented 8 years ago

Can I compile SharpDevelop as 64-bit?? could you please give me the steps with the source code.

linquize commented 8 years ago

Try to change SharpDevelop.exe Platform to AnyCPU, compile the project, see if it runs successfully or not.

ghost commented 8 years ago

Oh my bad, it's already been added. Sorry.

linquize commented 8 years ago

In SharpDevelop.csproj, set <Prefer32Bit>False</Prefer32Bit>. Compile the project. Then delete AddIns\VersionControlSubversionAddIn and AddIns\Misc\UsageDataCollector (because they have 32-bit DLLs) Start SharpDevelop.exe. Now you can debug 64-bit processes in SharpDevelop!

ghost commented 8 years ago

Thank you.

fretelweb commented 8 years ago

Why SharpDevelop do not release a Setup for 64-bits Windows?

jogibear9988 commented 8 years ago

I've created a 64 Bit Branch here: https://github.com/jogibear9988/SharpDevelop/tree/64bitVersion but I've fixed all the modules to 64Bit (PackageManagment also did not work in 32 Bit). I now look to include this into master, so we can select Platform to compile a 32Bit and a 64Bit Version!

jogibear9988 commented 8 years ago

I've now fixed my Branch & created 2 Versions of TypeScript & Svn Plugin (one 32 and one 64 Bit Version!). UsageDataCollector can support AnyCpu.

So now we can create 2 Exe Files (SD and SD64) and have 64 Bit support!

Andrey-Bushman commented 7 years ago

I write Add-Ins for Revit 2017 x64 application. But I get the problem when I try to attach torevit process for debugging:

image

asdfasfgsdfghghhfgh commented 7 years ago

It seems that the project is abandoned.

Tsukuyomi03 commented 5 years ago

is this problem still going ?! cause i figured it out!

Project -> Project Option -> Compiling -> Target Framework -> Convert your project to .NET Framework 4.5.2

this solve my problem :)