성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
[정성태] 저렇게 조각 코드 말고, 실제로 재현이 되는 예제 프로젝트를 압...
[정성태] Modules 창(Ctrl+Shift+U)을 띄워서, 해당 Op...
[정성태] 만드실 수 있습니다. 단지, Unity 엔진 내의 스크립트와 W...
[공진영] 안녕하세요 좋은글 감사합니다. 현재 제가 wpf로 관제 모...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
닷넷
.NET 3.0
.NET 3.5
.NET 4.0
VC++
개발 환경 구성
제품 소개
VS.NET IDE
Vista
Windows 7
Windows 8
Windows 서버
Team Foundation Server
IIS
디버깅 기술
Win32
64비트
오피스
웹
기타
Phone
부모글 보이기/감추기
내용
출처: <a target="_blank" src="http://blogs.msdn.com/junfeng/archive/2004/07/22/190813.aspx">http://blogs.msdn.com/junfeng/archive/2004/07/22/190813.aspx</a> <br /> assembly not found에 대한 속도를 높이기 상당히 고심한 흔적이 엿보이네요. ^^<br /> <hr /> <h2> Whidbey breaking change --- Caching binding failures</h2> <p> This is one of the breaking change mentioned in gotdotnet.com's break change from .Net 1.1 to 2.0</p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> <strong>Cache load failures in order to ensure that different app domains do not have different dependency loading success/failure characteristics in domain neutral sharing scenarios</strong></p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> <?xml namespace="" ns="urn:schemas-microsoft-com:office:office" prefix="o" ?> <o:p> </o:p> </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> <a href="http://www.gotdotnet.com/team/changeinfo/Backwards1.1to2.0/default.aspx#00000067"> http://www.gotdotnet.com/team/changeinfo/Backwards1.1to2.0/default.aspx#00000067</a></p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> What does it mean?</p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> Say you call Assembly.Load(”Foo, version=1.0.0.0, culture=neutral, publicKeyToken=0123456789abcdef”), you get a FileNotFoundException. You realize that foo.dll should be in GAC but you forget to install it. So you install it (using gacutil.exe or some other mechanism) to GAC. Now you call Assembly.Load(“Foo, version=1.0.0.0, culture=neutral, publicKeyToken=0123456789abcdef“) again. </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> In v1.0/v1.1, the second load will succeed. In Whidbey, the second load will fail. </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> Installing to GAC is just an example. As long as the first bind failed, the second bind will fail with exactly the same exception. </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> </p> <p class="MsoNormal" style="margin: 0in 0in 0pt"> The caching is done on per AppDomain basis. If you create a new AppDomain and call Assembly.Load() on that app domain, it will succeed. </p>
첨부파일
스팸 방지용 인증 번호
6954
(왼쪽의 숫자를 입력해야 합니다.)