none
I am facing problem in porting my Silverlight based solution from VS 2008 to VS 2010. RRS feed

  • Question

  • I am facing problem in porting my Silverlight based solution from VS 2008 to VS 2010.

     Error : "Association is marked with RequiredAttribute. Please remove the attribute and mark the underlying foreign key members with RequiredAttribute instead."

    And I am unable to locate that where to set/reset this RequiredAttribute in Association.

    Note : I am using Linq to Sql for data objects.

    I have checked metadata, dbml designer and its Xml too.

    I have moved my projects from .netframework 3.5 to .netframework 4.0 and Silverlight 3 to Silverlight 4.

    But still I am not able to build it.


    Tuesday, March 13, 2012 9:43 AM

All replies

  • Hi SanjayGupta2110,

    Welcome to MSDN Forum.

    Based on the issue, could you please upload the project to SkyDrive and post the link here? I will test the code and help you to find the root cause.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, March 14, 2012 5:37 AM
    Moderator
  • Hi SanjayGupta2110,

    Have you solved the issue? I look forward to hearing from you.

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Monday, March 19, 2012 2:27 AM
    Moderator
  • Hi,

    Thanks for your reply, but i will not able to share the code as it is not allowed to share codebase.

    Is there is any other way to get help?


    Thanks and Regards Sanjay Gupta

    Monday, March 19, 2012 3:28 AM
  • Hi SanjayGupta2110,

    I'm afraid I can hardly help you to find the root cause without the code. Could you please write a demo?

    Best Regards


    Allen Li [MSFT]
    MSDN Community Support | Feedback to us

    Monday, March 19, 2012 5:42 AM
    Moderator