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

السؤال I am facing problem in porting my Silverlight based solution from VS 2008 to VS 2010.

  • 13 มีนาคม 2555 9:43
     
     

    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.


    • แก้ไขโดย SanjayGupta2110 13 มีนาคม 2555 10:12
    •  

ตอบทั้งหมด

  • 14 มีนาคม 2555 5:37
    ผู้ดูแล
     
     

    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

  • 19 มีนาคม 2555 2:27
    ผู้ดูแล
     
     

    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

  • 19 มีนาคม 2555 3:28
     
     

    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

  • 19 มีนาคม 2555 5:42
    ผู้ดูแล
     
     

    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