Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pete K 317 posts 56 karma points
    Jun 10, 2013 @ 15:40
    Pete K
    0

    User control error in 4.5.2 -- now fixed?

    I am in the midst of a summer project to upgrade an Umbraco iste from 3.0.5 to version 6 in increments. My current version is 4.5.2. After upgrading and moving the site to a new server, I found that a custom control that I wrote a few years ago no longer worked. I recompiled it, targeting the 4.0 .Net framework, but it started throwing the following error: 

    Error creating usercontrol (/usercontrols/tvlisting.ascx)

    InternalXmlHelper.vb(9): error BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.

    I Googled this and found the following article, which seemed to fit my issue: 

    http://stackoverflow.com/questions/12104883/bc30560-extensionattribute-is-ambiguous-in-the-namespace-system-runtime-comp

    However, I could find no reference anywhere in my project to "ExtensionAttribute". 

    Then I found this thread on this forum: http://our.umbraco.org/forum/using/ui-questions/11217-ExtensionAttribute-is-ambiguous-Why-is-it-not-getting-attention

    So it looks like this was a known issue in 4.5.1 and 4.5.2. Can I assume it has been subsequently fixed? (I plan to continue upgrading the site to the latest 6.x version later this summer.)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jun 10, 2013 @ 23:08
    Jan Skovgaard
    0

    Hi Pete

    Have you checked that you don't have a reference for some legacy files in your project somewhere?

    /Jan

  • Pete K 317 posts 56 karma points
    Jun 11, 2013 @ 15:15
    Pete K
    0

    I don't believe so, Jan. The project is a ver simple one -- there is only an ascx and code behind .vb file. 

Please Sign in or register to post replies

Write your reply to:

Draft