Upgrade to v.5.2 - Warning CS1701: Assuming assembly reference... you may need to supply runtime policy...

Last post 03-29-2006, 11:24 AM by Adam. 4 replies.
Sort Posts: Previous Next
  •  03-27-2006, 3:48 PM 17631

    Upgrade to v.5.2 - Warning CS1701: Assuming assembly reference... you may need to supply runtime policy...

    Greetings,
     
    We have upgraded CuteEdit.dll to version 5.2.0.0
    No other versions of the DLL exist on the machine - yet when compiled with VS2005
    we are receiving the following error message.
     
    (0,0): warning CS1701: Assuming assembly reference 'CuteEditor, Version=5.0.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a' matches 'CuteEditor, Version=5.2.0.0, Culture=neutral, PublicKeyToken=3858aa6802b1223a', you may need to supply runtime policy
     
    We would like to compile without warnings.
    Please advise.
    Thank you.
    Randy
     
  •  03-28-2006, 1:27 PM 17662 in reply to 17631

    Re: Upgrade to v.5.2 - Warning CS1701: Assuming assembly reference... you may need to supply runtime policy...

    Randy,
     
    For some reasons, your project is still reference to the version 5.0.
     
    Can you remove the reference to the version 5.0 and add the reference to the version 5.2?
     
    Keep me posted
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-28-2006, 5:43 PM 17678 in reply to 17662

    Re: Upgrade to v.5.2 - Warning CS1701: Assuming assembly reference... you may need to supply runtime policy...

    I removed all/any references to v.5.0
    Re-added it to VS2005 project
    The version in VS2005 shows as 'auto' - just like other dll/assemblies
     
    Still no luck.
     
    Made sure it is not in the GAC
    Made sure it is not in the Web.config
    Made sure the only CuteEditor.dll file on PC is new version.
    (Did not find it in the registry either)
     
    Any other ideas on where this reference to old version might be?
     
    Thanks,
    Randy
     
     
     
  •  03-29-2006, 11:16 AM 17713 in reply to 17678

    Re: Upgrade to v.5.2 - Warning CS1701: Assuming assembly reference... you may need to supply runtime policy...

    Ok - I figured it out...
     
    We are using MSBuild for our new projects. (Since moving to VS2005)
    Our configuration for "Building All' of our files says "Rebuild All"
    but in fact, only rebuilds out of date files.
     
    Some of the 'assumed' up to date obj/dll files still referenced the 5.0 CuteEditor.dll file.
     
    After *really* rebuilding all files - everything seems ok.
     
    So - It was not a CuteSoft problem...
    It was a problem between the keyboard and the chair of the customer!
     
    Thanks for your help.
    Randy
     
    PS. I would like to reserve the right to ask stupid questions at a later date as well.
     
     
  •  03-29-2006, 11:24 AM 17716 in reply to 17713

    Re: Upgrade to v.5.2 - Warning CS1701: Assuming assembly reference... you may need to supply runtime policy...

    Randy,
     
    Glad to know you found the problem.
     
    >>PS. I would like to reserve the right to ask stupid questions at a later date as well.
     
    No problem.

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML