NUnittfs.exe.config

Sep 6, 2012 at 3:58 PM

I have a problem when I try to connecto to TFS2010.

I read this post:

http://stackoverflow.com/questions/9260175/getting-no-test-results-after-customising-the-build-template-for-nunit-tests-in

And this:

http://geek.ianbattersby.com/2012/01/04/tfsbuild-2010-nunit-integration

My actual config is like these:

 

<?xml version="1.0" encoding="utf-8" ?><configuration> <system.serviceModel> <bindings> <basicHttpBinding> <binding name="BuildServiceSoap" closeTimeout="00:01:00" openTimeout="00:01:00"                    receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"                    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"                    useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"                        maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding>
<binding name="LinkingService" closeTimeout="00:01:00" openTimeout="00:01:00"                    receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"                    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"                    useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"                        maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding>
<binding name="Service2Soap" closeTimeout="00:01:00" openTimeout="00:01:00"                    receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"                    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"                    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"                    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"                    useDefaultWebProxy="true"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"                        maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <security mode="TransportCredentialOnly"> <transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security> </binding> </basicHttpBinding> </bindings>
<client> <!-- TFS 2010 services. -->
            <endpoint address="http://tfs:8080/tfs/MyProject/TestManagement/v1.0/TestResults.asmx"              binding="basicHttpBinding" bindingConfiguration="TestResultsServiceSoap"             contract="Tfs2010.TestResultsServiceV1.TestResultsServiceSoap" name="Service2Soap" />            <endpoint address="http://tfs:8080/tfs/MyProject/Services/v3.0/IdentityManagementService.asmx"             binding="basicHttpBinding" bindingConfiguration="IdentityManagementWebServiceSoap"             contract="Tfs2010.IdentityManagementServiceV3.IdentityManagementWebServiceSoap"             name="LinkingService" />            <endpoint address="http://tfs:8080/tfs/MyProject/Build/v3.0/BuildService.asmx"             binding="basicHttpBinding" bindingConfiguration="BuildWebServiceSoap"             contract="Tfs2010.BuildServiceV3.BuildWebServiceSoap" name="BuildServiceSoap" /> </client> </system.serviceModel></configuration>

Somebody can help me to configure or give me a sample of the complete file for TFS2010