Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET2.0 C#1.0 C#2.0 .NET3.0 C#3.0 , +

Hi all,

I have faced a problem intime of use different Ajax toolkit for different project under same solution. My question is How to use different Ajax toolkit for different project under same solution ?
Posted 15-May-12 19:26pm
Comments
sagar wasule at 16-May-12 2:03am
   
Do your solution contain more than one UI projects where you have to have ajax toolkit??
Prasanta_Prince at 16-May-12 2:27am
   
Yes. I have more than one project under same solution.
Sandeep Mewara at 16-May-12 2:31am
   
Not clear. Please elaborate your scenario and doubt.
Prasanta_Prince at 16-May-12 2:35am
   
I have more than one project under same solution which use ajaxcontroltoolkit dll from main solution. but in one project I need to use latest ajax dll . But I cant build all project and upload all dll . I need to use separate dll for that particular project.
sagar wasule at 16-May-12 2:42am
   
you can addthe reference by 'Add Reference' go to Projects tab , here it will show the dll , references of project u can add reference of a particular project which when build will provide all the updates to various location where the dll is used..
Check out if this helps
Prasanta_Prince at 16-May-12 5:27am
   
When you have multiple project in same solution. and one solution has different ajax version then there is some problem.
Prasanta_Prince at 16-May-12 5:27am
   
I have solved the problem using assembly binding redirect. Thanks friends for your valuable time.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You need Ajax Toolkit Dll. Its depend upon your .Net framework, according to the framework version your dll version will change. You need at least on script manager in each page. for different solutions you have to add separate script managers.
  Permalink  
Comments
Prasanta_Prince at 16-May-12 1:48am
   
My solution is in .net framework 4.0. but it has more than one project . In a particular project under the same solution I need updated toolkit, Which will not coming from main solution dll.(as it has old dll). So , How I can add latest version of dll to a particular project under same solution.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

I have solved the problem using assembly binding redirect. Thanks friends for your valuable time.
  Permalink  
Comments
comred at 16-May-12 7:21am
   
Thanks for sharing your problem. Your answer is more clear than your question..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 271
1 OriginalGriff 253
2 nv3 50
3 VJ Reddy 45
4 Mehdi Gholam 45
0 Sergey Alexandrovich Kryukov 6,696
1 OriginalGriff 6,149
2 CPallini 2,473
3 Richard MacCutchan 1,697
4 Abhinav S 1,560


Advertise | Privacy | Mobile
Web01 | 2.8.140821.2 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100