Microsoft Developer Network > 포럼 홈 > Visual Studio Team System - Testing > Test Run deployment issue: The location of the file or directory <assembly path> is not trusted.
질문하기질문하기
 

답변됨Test Run deployment issue: The location of the file or directory <assembly path> is not trusted.

답변

  • 2005년 9월 27일 화요일 오후 6:02dhopton MSFT 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    For this you need to trust path the assembly is from.

    This can be done through the .net configuration wizard -- Just add that specific path as full trust, and you should be fine.

모든 응답

  • 2005년 9월 27일 화요일 오후 6:02dhopton MSFT 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    For this you need to trust path the assembly is from.

    This can be done through the .net configuration wizard -- Just add that specific path as full trust, and you should be fine.
  • 2005년 9월 27일 화요일 오후 6:22Michael Miller 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Thanks for the reply - but I think it was another problem.  I checked the .NET configuration settings and by default the My_Computer_Zone covers the location of the assembly with the FullTrust permission set.  The problem appears to be that the referenced assembly had a security attribute set and when viewing the properties of the file I saw the following message: This file came from another computer and might be blocked...  I clicked the Unblock button, rebuilt and it worked.  Thanks for the help.
  • 2005년 10월 28일 금요일 오전 12:20James Fuhr 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Is there a way to prevent Windows from re-blocking an assembly after you unblock and rebuild?

    I unblocked the assembly, rechecked properties, then rebuilt.  After a rebuild, the assembly is once again blocked.

  • 2005년 10월 28일 금요일 오전 12:26James Fuhr 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    Big SmileAh, I figured out what I was doing wrong.

    I was unblocking the copied assembly and not the source assembly.

    Once I unblocked the assembly at the source location, the copied version into the bin directory was fine.
  • 2007년 7월 13일 금요일 오후 12:34soundman32 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    My system (XP/SP2) doesn't have an unblock button !!

    Is there another way of unblocking this?

    Neil

  • 2008년 12월 8일 월요일 오후 5:02Devdumper 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달