2012-03-06 2 views
0

Build 데모를 사용하려고합니다. devenv.exe 및 fsi.exe의 구성 파일에 추가 한 후 더 이상 db를로드하지 않습니다.프록시 (fsharp interactive)

트위터 샘플을 회사의 프록시를 사용하도록 수정할 수는 있지만 freebase 유형 공급자는 이러한 재정의를 허용하지 않습니다.

내 VS 환경이 pb없이 웹에 액세스하는 동안 FSI.exe가 지정된 프록시를 통과하지 못하는 것 같습니다. 내가 지정한 프록시를 기본적으로 사용하도록하려면 어떻게해야합니까? 어떻게 devenv.exe에 특정 설정이 필요하지 않습니까?

PS : 다음 설정은 fsi.exe 같은 디렉토리에 작동하지 않았다

<?xml version="1.0" encoding="utf-8"?> 
<configuration> 
    <runtime> 
    <defaultProxy useDefaultCredentials="true" enabled="true"> 
     <proxy usesystemdefault = "false" proxyaddress = "ipaddress:portnumber" bypassonlocal = "true"/> 
     </defaultProxy> 

    <loadFromRemoteSources enabled="true" /> 
    <legacyUnhandledExceptionPolicy enabled="true" /> 
    </runtime> 
</configuration> 

답변

0

확인 기본 프록시가 잘못 설정 섹션에 있었다. 은 런타임 대신 이어야합니다. 또한 ipaddress 앞에 http : //가 있어야합니다.

<?xml version="1.0" encoding="utf-8"?> 
<configuration> 
    **<system.net>** 
     <defaultProxy useDefaultCredentials="true" enabled="true"> 
     <proxy usesystemdefault = "false" proxyaddress = "**http://**ipadress:portnumber" bypassonlocal = "true"/> 
     </defaultProxy> 
    **</system.net>** 


    <runtime>  
    <loadFromRemoteSources enabled="true" /> 
    <legacyUnhandledExceptionPolicy enabled="true" /> 
    </runtime> 
</configuration>