Moving the Sign-in Control to Another Directory

This example will show the simplest way to change the location where the SignIn_Control will be generated.

Procedure

Step 1:  Locate the Sign-in control properties file:

…\MyApp\Shared\SignIn_Control.xml

Step 2:  Edit the <GenerateDirectory> tag in the Sign-in control properties file.  Specify your own output directory where the generated sign-in control will be placed, e.g.:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

     <ComponentDefinition    xmlns:xsd=http://www.w3.org/2001/XMLSchema

                                              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                                              xmlns="http://www.ironspeed.com/designer">

          <Generator>Iron Speed Designer</Generator>

          <Version>1.4</Version>

          <Self>

              <Name>SignIn_Control</Name>

              <Type>UserControl</Type>

              <GenerateDirectory>DirectoryNameForSignInControl</GenerateDirectory>

              <Layout>Shared\SignIn_Control.html</Layout>

              <DisplayName>SignIn_Control</DisplayName>

              <Description>(Description)</Description>

          </Self>

     </ComponentDefinition>

Step 3:  Locate the SignIn_Control.ascx and related code-behind files:

…\MyApp\Shared\SignIn_Control.ascx

…\MyApp\Shared\BaseSignIn_Control.vb

…\MyApp\Shared\SignIn_Control.ascx.vb

Move them to your “DirectoryNameForSignInControl” directory:

…\MyApp\DirectoryNameForSignInControl\SignIn_Control.ascx

…\MyApp\DirectoryNameForSignInControl\BaseSignIn_Control.vb

…\MyApp\DirectoryNameForSignInControl\SignIn_Control.ascx.vb

Step 4:  Build and run the application.