Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
[Windows phone 7] The project 'SlXnaApp1Lib' cannot be referenced. The referenced project is targeted to a different framework family (.NETFramework)

问题 [Windows phone 7] The project 'SlXnaApp1Lib' cannot be referenced. The referenced project is targeted to a different framework family (.NETFramework)

  • 2012년 4월 30일 월요일 오전 10:16
    중재자
     
     

    Windows Phone SDK 7.1을 이요하여 Silverlight와 XNA 어플리케이션 프로젝트를 만들때

    The project 'SlXnaApp1Lib' cannot be referenced.  The referenced project is targeted to a different framework family (.NETFramework)

    와 같은 경고 메시지를 보입니다.

    어떻게 해야하나요?

모든 응답

  • 2012년 4월 30일 월요일 오전 10:28
    중재자
     
     

    위에러는 Silverlight와 XNA 어플리케이션 프로젝트 실행에 방해하지 않으므로, 무시하셔도 괜찬습니다.

    Silverlight와 XNA Application 은 Silverlight project, XNA Game Studio Windows Phone Game Library project 그리고  XNA Game Studio content project를 포함하는데
    이 경고 메시지는 Visual Studio가 Silverlight project와 XNA project 의 같은 .NET Framework 프로파일로 지정되지 않음을 감지했기 때문입니다.
    프로젝트 파일에서 하나의 .NET Framework 프로파일을 지정하기 때문입니다.