Red Gate forums :: View topic - LinqBridge.dll breaks ASP.NET MVC Razor Views
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK 10
SQL Comparison SDK 10 forum

LinqBridge.dll breaks ASP.NET MVC Razor Views

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
geetar85



Joined: 22 Feb 2013
Posts: 3

PostPosted: Fri Feb 22, 2013 10:36 pm    Post subject: LinqBridge.dll breaks ASP.NET MVC Razor Views Reply with quote

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?
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 690
Location: Cambridge

PostPosted: Mon Feb 25, 2013 11:09 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
geetar85



Joined: 22 Feb 2013
Posts: 3

PostPosted: Wed Feb 27, 2013 3:29 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
geetar85



Joined: 22 Feb 2013
Posts: 3

PostPosted: Wed Mar 06, 2013 4:28 pm    Post subject: Reply with quote

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

Quote:
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.
Back to top
View user's profile Send private message
Michelle Taylor



Joined: 30 Oct 2006
Posts: 529
Location: Red Gate Software

PostPosted: Tue Mar 12, 2013 5:32 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group