Mark Barto's Blog

Technical Blog about the Microsoft .NET Platform and everything that surrounds it such as .Net, C#, BizTalk, WCF, ASP.NET, SQL, Silverlight, IIS ...

Framework: Mixed mode assembly is built against version 'v2.0.50727' of the runtime

aa496123_NET_logoenusMSDN_10

When we were upgraded our project to Framework 4 and compiled we were getting the following error:

Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

Read More ...

Posted by mabarto on 21-09-2011 and Filed under: .NET
3 comments

ASP.NET, .NET, Visual Studio: MSDN Event - Scott Guthrie - Part 1

swSpeaker7wp_


Yesterday I was attended at the talk from Scott Guthrie in Brussels. It was an interesting technical session about all the new features within .Net Framework 4.0, Silverlight 4, VS2010, ASP.NET MVC 2.0.

The final agenda for the event was as follow:

13:00 - 13:30: Welcome and registration
13:30 - 15:00: Visual Studio 2010, .NET 4 Web Development
15:00 - 15:20: Coffee Break
15:20 - 17:30: Silverlight and ASP.NET MVC 2 Beta
17:30 - 18:00: Q&A with Scott Guthrie

 

 

Read More ...

Posted by Mark on 05-12-2009 and Filed under: .NET, Visual Studio, ASP.NET
3 comments

C#, .NET: Current Directory for Windows Service

cat_icon_files_256



When calling for the current directory in a Windows Service with the Path.GetCurrentDirectory() you will probably not getting the correct directory but the C:\Windows\System32 directory.

 

Read More ...

Posted by Mark on 01-09-2009 and Filed under: .NET, C#
3 comments

.NET, Tools: Framework Configuration Tool (mscorcfg.msc)

NET_v_rgb_w

 

Microsoft has removed the .NET Framework Configuration Tool from the standard framework installations. They have decided to remove this tool from the control panel because the average end-user don't need this tool. But me as Developer this tool is a must have.

If you want to use this tool Microsoft has decided to make it part of the SDK version.

Because I'm not happy to install the whole SDK version only for this tool I have found a workaround with an setup.

Read More ...

Posted by Mark on 29-07-2009 and Filed under: .NET, Tools
3 comments