Previous | Index | Next 

[HOWTO] Have VB Migration Partner correctly locate TlbImp and other .NET SDK tools

VB Migration Partner uses the TlbImp, AxImp, and other command line tools behind the scenes. These tools are part of the .NET Framework and are installed in a location that depends on the current .NET Framework version, for example c:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools (for .NET 4.0) or c:\Program Files\Microsoft SDKs\Windows\v6.0\Bin (for .NET 3.5)

VB Migration Partner is usually able to correctly locate these tools, but in some cases the search fails or you might want VB Migration Partner to use a specific TlbImp or AxImp version. In such circumstances, you can specify a different folder for these .NET SDK utilities by setting a value in an entry near the and of the VBMigrationPartner.exe.config file:

    <applicationSettings>
      <VBMigrationPartner.My.MySettings>
          ...
        <setting name="FrameworkSdkPath" serializeAs="String">
          <value>c:\MyAlternateSdkTools</value>
        </setting>
          ...
      </VBMigrationPartner.My.MySettings>
    </applicationSettings>

 

Previous | Index | Next