Visual Studio compiling COM: TlbImp : error TI0000: Encountered multiple versions of the assembly with GUID ‘…’. Try pre-importing one of these assemblies.

  • How to fix the error when compiling COM: TlbImp : error TI0000: Encountered multiple versions of the assembly with GUID ‘…’.  Try pre-importing one of these assemblies ?

This could be fixed in few ways:
(1)  Compile with a higher .NET framework
(2) Since this error occurs when using the same GUID in the AssebmlyInfo.cs, i.e:
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("...")]

Open your AssebmlyInfo.cs and locate the lines above, then generate new GUID (could be done here: https://www.guidgenerator.com/online-guid-generator.aspx). and replace your current GUID (which Encountered multiple times) with the new GUID  you just created (do it for all of the GUID which appear in the error message)

This should solve the problem 🙂

Android Studio: Error:(1, 0) Plugin is too old and ANDROID_DAILY_OVERRIDE value is also outdated, please use new value “…”

  • If you updated your android studio and still get this error: Android: Error:(1, 0) Plugin is too old and ANDROID_DAILY_OVERRIDE value is also outdated, please use new value “…”

It could be that you did not update your build.gradle project file:

Modify this line:

classpath 'com.android.tools.build:gradle:2.2.0-alpha4'

To the new studio:

classpath 'com.android.tools.build:gradle:2.2.0-beta2'

It worked for me 🙂

 

p.s. this refers to many code you may get in the “…”

i.e.: 3c256a4aca0f90f4b3607c7845e6174d48d6f982

Eclipse: Adding designer (window builder)

  • How to add a designer (windows builder) to Eclipse Neon?

Open the Eclipse Neon IDE
Goto Menu > Help > Install New Software…
In the “Work with” (see below) enter this URL: http://download.eclipse.org/windowbuilder/WB/integration/4.6/
(Taken from here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=498276)
Click “Add” button, mark the check-box, and “Finish”

pic1

Now create a class which extends JFrame
i.e.

import javax.swing.JFrame;

public class myFrame extends JFrame {
public myFrame() {
}

}

Now right-click on this new class from the Package-Explorer and select “Open With” +  “WindowsBuilder Editor“. Then click on the Design button
pic2

Now you should get the Editor!

Good luck 🙂