• Smart Client Software Factory & Visual Studio 2008 Beta 2 – Workarounds for Visual Basic Known Issues

    Published by siacomuzzi on September 6th, 2007 6:13 pm under SCSF, Visual Studio 2008

    No Comments

    NOTE: A new version of Smart Client Software Factory was published. This new version is for Visual Studio 2008. Please check this post for more information.

    Now that we have SCSF installed in Orcas B2, we are able to apply workarounds for the known issues (Visual Basic).

    Note: For C# know issues, click here.

    > Symptom: When adding a WPF view with presenter, Visual Studio crashes.

    OrcasB2-issuesVB_1

    Problem
    We believe that the problem has to do with the Target Framework as in C#, but we are not sure.

    Workarounds

    • Workaround 1: Update manually in the project’s properties page the Target Framework, setting it to 3.0 or 3.5 (this would have to be done before adding a WPF View so that it doesn’t crash)

    OrcasB2-issuesVB_1
    Fig. 1 | Target Framework in VB.NET project

    OrcasB2-issuesVB_3
    Fig. 2 | Module.vbproj.template

    > Symptom: Form1 is not a member of Shell

    OrcasB2-issuesVB_4
    Fig. 3 | Error Message : ‘Form1’ is not member of Shell

    Problem
    The MainForm set to the project is Form1 instead of ShellForm.

    Workarounds

    • Workaround 1: Manually, by replacing the “Form1” with a “ShellForm

    OrcasB2-issuesVB_5
    Fig. 4 | Application.Designer.vb

    OrcasB2-issuesVB_6
    Fig. 5 | Application.myapp.template

    > Symptom: After adding a WPF View and compile the solution, a warning appears.

    OrcasB2-issuesVB_7

    Problem
    The file which contains the WinFx targets is being imported more than once.

    So far we were only able to fix this manually. However, we could search for a way to make the Guidance Package get the environment (whether it’s running Orcas Beta2 or not) and, in case it’s running Orcas B2, skip adding the import line.

    OrcasB2-issuesVB_8

  • Leave a comment

    Your email address will not be published.