Click here to Skip to main content
Sign Up to vote bad
good

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:26

Comments
sagar wasule - 16 May '12 - 2:03
Do your solution contain more than one UI projects where you have to have ajax toolkit??
Prasanta_Prince - 16 May '12 - 2:27
Yes. I have more than one project under same solution.
Sandeep Mewara - 16 May '12 - 2:31
Not clear. Please elaborate your scenario and doubt.
Prasanta_Prince - 16 May '12 - 2:35
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 - 16 May '12 - 2:42
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 - 16 May '12 - 5:27
When you have multiple project in same solution. and one solution has different ajax version then there is some problem.
Prasanta_Prince - 16 May '12 - 5:27
I have solved the problem using assembly binding redirect. Thanks friends for your valuable time.

2 solutions

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 - 16 May '12 - 1:48
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.
I have solved the problem using assembly binding redirect. Thanks friends for your valuable time.
  Permalink  
Comments
comred - 16 May '12 - 7:21
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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,286
1 OriginalGriff 6,561
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid