title: Can a standalone .EXE be created from a coded WebTest in Visual Studio Team Studio
body: <p>I am running VS Team Studio 2008. I have created a web test that I want to use for monitoring a company web site. It interacts with the site and does some round trip processing.  I want to create a standalone EXE file that can be run remotely.  I have tried converting it to VB code and C# code and then creating compiling it into an EXE. But, when running it, no traffic is generated from the host to the webserver.  Has anyone tried to do this before successfully?</p>
  
  <p>I tried this in VB. </p>
  
  <pre><code>  Option Strict Off
    Option Explicit On
  
    Imports Microsoft.VisualStudio.TestTools.WebTesting
    Imports Microsoft.VisualStudio.TestTools.WebTesting.Rules
    Imports System
    Imports System.Collections.Generic
    Imports System.Text
  
    Public Module RunMonitor
      Sub Main()
          Dim S As Monitor.MonitorCoded = New Monitor.MonitorCoded()
          S.Run()
      End Sub
    End Module
    Namespace TheMonitor
      Public Class MonitorCoded
          Inherits ThreadedWebTest
          Public Sub New()
              MyBase.New()
              Me.PreAuthenticate = True
          End Sub
  
     Public Overrides Sub Run()
      'WebRequest code is here'
       End Sub
      End Class
    End Namespace
  </code></pre>
  
  <p>Any suggestions appreciated. </p>