The primary reference “MySql.Data” could not be resolved because it was built against the “.NETFramework,Version=v4.5” framework. This is a higher version than the currently targeted framework “.NETFramework,Version=v4.0”.

We have a VB.NET application which was originally developed with the target framework as .NET Framework 4.5. However, because the client wants it to also run on Windows XP, we were forced it to change to .NET Framework 4. The solution is in this link. Just follow the steps on the Workaround section. I also copied the steps below to save you time from opening another page.

However, of course, if the current program requires the features that .NET Framework 4.5 offers, then you have no other choice but to re-program to support Windows XP (if the client doesn’t want to upgrade their computers and is willing to pay again to support Windows XP).


Workaround

The simplest workaround is to edit the modeling project file to ignore target framework version mismatches as follows:

1. Unload the modeling project by right clicking on it in Solution Explorer window and choosing Unload Project.

1

2. Open the project file into the editor by right clicking on it in Solution Explorer window and choosing Edit projectname.modelproj.

2

 

3. Add the following element inside the <Project> element:
<PropertyGroup>

<ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>true</ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>

</PropertyGroup>

3

4. Save the project file.

5. Right click on the modeling project in Solution Explorer and choose Reload Project.

4

6. Validate your architecture in the usual way.

Advertisements

The Ultimate Introduction To Agile Project Management

The Brief

You’re in charge of delivering your company’s latest and greatest initiative that’s going to change the face of “Widgets International” forever. It’s a software project that’ll engage and enthrall your customers, make your colleague’s lives easier, and make the company millions in revenue. There’s a great deal of anticipation, fervour, excitement, and expectation. You need to get it done as quickly as possible, so your business can start to reap the benefits. The future success of the company depends on you. All eyes are on you. You cannot fail.

Agile project management

At first, you’re thinking to yourself “awesome, I’m up for the challenge. Let’s get this thing done!”. You pause for a moment, step back, and think to yourself “okay, so how do we do this?”. You start to talk to your colleagues and peers. You spend time searching for best practice software development and project management techniques, but the options and approaches are countless. There are acronyms and methodologies aplenty. Notable ones rise to the top. Doubt creeps in. Which one should we use? How can I guarantee success? What if I make the wrong decisions?

When it comes to managing software projects, there’s a heady mix of options supported by a myriad of opinion. Voices from the corners of the room whisper “try doing it this way”, others shout “this is the only way to do it”, and the rest just whimper “don’t manage it at all, just get on with it”. In reality, all those voices speak some truth. But what’s important is working out what’s right for your needs, your team, your business, and your customers.

Read More »

You Need a Hero: The Project Manager

This article is for you, the plucky entrepreneur with an app idea in your heart and a bit of cash in the bank. The diagrams that you’ve scribbled on cocktail napkins will disrupt the entire world, and dump trucks full of money have already been dispatched to your house. To ensure that they arrive on time, here’s some simple advice for making your production cycle run smoothly.

Why You Need A Project Manager In The First Place

“Computer programs are the most complex things that humans make”, says Douglas Crockford. You may not have heard that name before, but he’s pretty famous for a programmer. He’s currently a senior software architect at Paypal, and he has pioneered all sorts of cool technology that is beyond the purview of this article. He is someone who knows a great deal about working on large projects.

As for myself, I’ve been programming for 13 years, and even now, at some point, every project takes me into uncharted territory. There are so many different technologies out there, and new techniques are being devised at such an alarming rate that I never feel I’m completely on top of what’s going on. While every project has its unique challenges, there are some constants:

  • The project has time pressure.
  • The budget is smaller than I would like.
  • I am a more expensive than the client would like.
  • I do not listen as perfectly as the client would like.
  • The client does not explain things as perfectly as I would like.

Clearly, we need a babysitter. Someone has to step in to establish the ground rules, keep everyone honest and make sure that we’re not forgetting anything important. Someone has to facilitate communication between all parties.

Read More »