LinqBridge.dll breaks ASP.NET MVC Razor Views

Automate and integrate using the SQL comparison API

Moderators: Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong

LinqBridge.dll breaks ASP.NET MVC Razor Views

Postby geetar85 » Fri Feb 22, 2013 10:36 pm

LinqBridge breaks razor views in ASP.NET MVC when trying to use the System.Linq namespace. When targeting .NET 4.0 why are we required to have LinqBridge when using Red-gate? The only way to fix this issue is to remove the LinqBridge dll, but then the RedGate SDK fails miserably.

Are there any workarounds for this and why is Red-gate using a tool that is meant for targeting .NET 2.0?
geetar85
 
Posts: 3
Joined: Fri Feb 22, 2013 10:32 pm

Postby Anu Deshpande » Mon Feb 25, 2013 11:09 am

Many thanks for your post geetar85.

Redgate products uses some LINQ technology, which is not present in .NET 2.0. But as you mentioned in your post you have framework 4.0 so you can do by not having that dll.

You need to make sure that the target framework for your project is Framework 4.0.

Let me know that doing this change solves the issue you are having?
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Anu Deshpande
 
Posts: 692
Joined: Mon Apr 20, 2009 3:53 pm
Location: Cambridge

Postby geetar85 » Wed Feb 27, 2013 3:29 pm

Hi Anu,

When I removed the DLL, the razor views worked fine, but any calls to my redgate SDK code failed saying the system could not find the file specified LinqBridge.dll. I am targeting .NET 4.5 in all of my projects.
geetar85
 
Posts: 3
Joined: Fri Feb 22, 2013 10:32 pm

Postby geetar85 » Wed Mar 06, 2013 4:28 pm

In case anyone else is reading this, here is the response from RedGate:

Apologies for that I had a look at the code today and looks like SDK has refernce to linqbridge.dll with in the code.

And hence looks like it won't be able to work without LinqBridge.dll.

Sorry about that I can add this as a feature request in our internal tracking system.


-- I've asked for an ETA on the fix.
geetar85
 
Posts: 3
Joined: Fri Feb 22, 2013 10:32 pm

Postby Michelle Taylor » Tue Mar 12, 2013 5:32 pm

LinqBridge.dll should no longer be needed in the next release of SQL Comparison SDK, but I can't provide a firm timescale for that release yet. My best guess is that it might be out in early July.
Michelle Taylor
 
Posts: 529
Joined: Mon Oct 30, 2006 12:45 pm
Location: Red Gate Software


Return to SQL Comparison SDK 10

Who is online

Users browsing this forum: No registered users and 0 guests