Mixed mode assembly is built against version '2.0.50727' of the runtime and cannot be load

Mixed mode assembly is built against version '2.0.50727' of the runtime and cannot be load

I'm using Visual Studio 2012 and the .Net Framework 4.5I have 2 Solutions: 1) WPF Application 2) Class library (dll)The Class Library contains 3 buttons and a control that has to be inside a WindosFormsHost control since it was made for Win

Using Castle Windsor WcfFacility to create client endpoints

Using Castle Windsor WcfFacility to create client endpoints

I have created three assemblies. A web site, a WCF service and a contracts assembly that holds the interfaces that the services implement. I would like to use Castle Windsor to create the services for me on the client (website) so that I do

Why is Eclipse PHP not recognizing namespace declarations?

Why is Eclipse PHP not recognizing namespace declarations?

When I type "namespace ORM;" in Eclipse, it underlines ORM in red and says that it is expecting a parenthesis. Is there a way to make Eclipse recognize namespaces? 1:It's probably your project that is set to the 5.1/5.2 version. You can

Excel won't open/launch VSTO AddIn when running in debug mode of Visual Studio 2010

Excel won't open/launch VSTO AddIn when running in debug mode of Visual Studio 2010

I had previously installed the VS11 beta, and had some issues with my Visual Studio 2010 instance, which you can see here how they were resolved: Excel AddIn Click Once deployment issue.Now I have a code base which compiles/builds a vsto, w

How to get back the UIButton border in iOS 7?

How to get back the UIButton border in iOS 7?

I built an old project in iOS SDK 6.1 in Xcode 5. However, the UIbutton is borderless when the app runs on an iPhone running iOS 7. I have checked the .xib is "Builds for" > "Project Deployment Target (5.0)":How can I config Xcode 5 to bui

Set Java Compliance Level in CXF wsdl2java

Set Java Compliance Level in CXF wsdl2java

I’m brand new to CXF and am trying to create a client from WSDL. I have used Metro and Axis in the past. I downloaded apache-cxf-2.3.3 and used wsdl2java to generate the client stubs. I use Maven and set it up my pom with this: 2.3.3

iPad testing of PhoneGap application - issues in main method

iPad testing of PhoneGap application - issues in main method

So I was attempting to test a PhoneGap application I've been working on, and had some issues with the test on my iPad. I have the following as the main method for this application://// main.m// elog//// Created by Ben Potter on 9/08/11./

Null-safe Method invocation Java7

Null-safe Method invocation Java7

I want to get details about this feature of Java7 like this codepublic String getPostcode(Person person){ if (person != null) { Address address = person.getAddress(); if (address != null) { return addre

JavaFX custom control (TextField) not working

JavaFX custom control (TextField) not working

I am trying to make a custom control with JavaFX and SceneBuilder 1.1.I have this code:FXML CustomComponent.javapackage libreria.javaFX.componentes.componenteTextField;import javafx.scene.control.TextField;public class CustomComponen

Make “make” default to “make -j 8”

Make “make” default to “make -j 8”

Is there a way that I can make $ makedefault to:$ make -j 8? 1:alias make="make -j 8", assuming bash shell 2:Set the environment variable MAKEFLAGS to -j 8. If you are using csh or tcsh, you can do this with setenv MAKEFLAGS '-j 8'. I

Visual Studio Resource Generation - Custom Tool Namespace

Visual Studio Resource Generation - Custom Tool Namespace

I have a C# class library that contains several resources files organized in folders. Since I want the generated classes to be all in the same namespace I'm setting the CustomToolNamespace property of each resource file.However I discovered

Unable to execute dex: Multiple dex files define Lcom/google/android/gms/analytics/internal/Command

Unable to execute dex: Multiple dex files define Lcom/google/android/gms/analytics/internal/Command

I updated my Android SDK last night (31.4) and after that I canot compile my app anymore.I get this error:[2015-05-01 14:36:24 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/google/android/gms/analytics/internal/Command

Running multiple projects using docker which each runs with docker-compose

Running multiple projects using docker which each runs with docker-compose

We are using microservices approach to build our product. We are using some projects which each uses docker-compose to run. The problem is that in development environment, if we want to change codes in multiple projects and test developed c

Run custom shell script '[cp] embed pods frameworks' no such file or directory

Run custom shell script '[cp] embed pods frameworks' no such file or directory

Just finished resolving my errors after converting to Swift 3 only to get this error when trying to compile. I have attached a screenshot for clarity, it does not look like the system is looking for a .app file or .sh file. Really don't kno

How can I create a windows installer MSI that does not require admin access

How can I create a windows installer MSI that does not require admin access

I've created an MSI windows installer that installs a plug-in which I wrote for a piece of software used at my office. However, a number of users here don't have admin rights to their computers, and IT is getting frustrated having to instal

What are the namespace gotchas for clojurescript when coming from clojure?

What are the namespace gotchas for clojurescript when coming from clojure?

I'm trying to understand the namespacing model in clojurescript. I understand that javascript doesn't come built in with namespace support, so its been an add on via the google closure library. However, I don't understand how clojurescript

GUI alternative to  when you have a lot of options

GUI alternative to when you have a lot of options

A might be good for choosing between 3-15 simple items, but how do you deal with 15-100+?The simplest option would be to just have a plain with a lot of s, but it's not very user friendly. There's a lot of scrolling and it might be hard t

How is the feature score(/importance) in the XGBoost package calculated?

How is the feature score(/importance) in the XGBoost package calculated?

The command xgb.importance returns a graph of feature importance measured by an f score.What does this f score represent and how is it calculated?Output:Graph of feature importance 1:This is a metric that simply sums up how many times ea

Change Jetty default port

Change Jetty default port

Jetty default port is 8080, but I want to change to default port to some other port (9999). I read a few tutorials and they said almost all of configuration information is by default maintained in file jetty.xml, this file is located under

How do I add a library in Eclipse?

How do I add a library in Eclipse?

I downloaded the Gson library from http://code.google.com/p/google-gson/.The archive contains the following jar files:google-gson-1.3/gson-1.3-javadoc.jargoogle-gson-1.3/gson-1.3.jargoogle-gson-1.3/gson-1.3-sources.jar How do I set my Eclip

How can I iterate over properties from a file?

How can I iterate over properties from a file?

All my projects and their versions are defined in a properties file like this:ProjectNameA=0.0.1ProjectNameB=1.4.2I'd like to iterate over all the projects, and use their names and versions in an Ant script.At present I read the entire file

What are RFC's?

What are RFC's?

I think there are a lot of people out there unaware of RFC's (Request for Comments). I know what they are at a logical level, but can anybody give a good description for a new developer? Also, sharing some resources on how to use and read t

jQuery alternative for document.activeElement

jQuery alternative for document.activeElement

What I wanted to do is figure out whenever the user is engaged with an INPUT or TEXTAREA element and set a variable flag to true... and set that flag to false immediately after the user is no longer engaged with them (ie. they've clicked ou

Make (Parallel Jobs) on Windows

Make (Parallel Jobs) on Windows

What setup works for GNU make parallel jobs (-j) on Windows?I have tried setting the shell to cmd.exe using MinGW make 3.81, this works in creating the multiple processes but make fails with the "waiting for job" message.Can this work and w

How to include MySQL database schema on GitHub?

How to include MySQL database schema on GitHub?

Stackoverflow and MySQL-via-command-line n00b here, please be gentle! I've been looking around for answers to my question but could only find topics dealing with GitHubbing MySQL dumps (as in: data dumps) for collaboration or MySQL "version