Web.Extensions 3.5 conflicts with 1.0.61025

Posted on 2011-10-31
Last Modified: 2012-05-12

I have installed both vs 2010(.net4.0) and vs 2005(.net2.0).
.net 4.0 working correctly. When  i build the .net 2.0 projects gets error below.

First installed .net4.0(vs2010) then installed .net 2.0(vs 2k5)

The type 'System.Web.Script.Services.ScriptMethodAttribute' exists in both
'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\projectking.web\5437aa02\ea21bcc0\assembly\dl3\76285535\0045f8b2_18dcc801\System.Web.Extensions.DLL'
and 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\\System.Web.Extensions.dll'      

Question by:sunilpasupunuri
    LVL 8

    Expert Comment

    Please check whether your project references both assemblies.

    Author Comment

    I have added this System.Web.Extensions.dll  dll files externally. Not through add reference. Because there is different version(higher) there. So i have added manually into bin folder.  Please attached the screenshot
    LVL 8

    Accepted Solution

    I don't think it's a correct way.
    You should create a .net 2.0 project that references right assemblies.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now