How to Obtain DLL for .NET Framework 3.5 & 4.0

The content of this page is remain for reference. You can get the precompile (new version) from new site. Please visit http://officeribbon.codeplex.com.

You can either convert the original source project of this ribbon from .NET Framework 2.0 to 3.5 or 4.0, or create a blank class project of .NET Framework 3.5/4.0.

If you choose to create a blank class, add all .cs files from the source code of System.Forms.Ribbon into your class, and add additional reference of
  • System.Design
  • System.Drawing
  • System.Windows.Forms

You have to modify GlobalHook.cs. Refer Solution 1 explained here: Ribbon is slowing down application
  • Find private void InstallHook()
  • Add a return statement at the beginning of the method so nothing is done. (These is a better fix than this).
  • Please follow Solution 1 at here: Ribbon is slowing down application


Next, please note that, at your new WinForm project, after the first build, the target framework will automatically switched to Client Profile.

For example, if you are building a .NET Framework 4.0, Visual Studio will initially switch your WinForm project to .NET Framework 4.0 Client Profile. You have to manually switched it back to .NET Framework 4.0. This is because Client Profile does not support System.Design which required by the Ribbon to build and run. System.Design is used by Ribbon internally.

dotnet4.png

Last edited Jan 10, 2013 at 8:51 AM by adriancs, version 19

Comments

No comments yet.