-
Smart Client Software Factory & Visual Studio 2008 Beta 2 – Workarounds for C# Known Issues
No CommentsNOTE: 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 (C#).
Note: For Visual Basic know issues, click here.
> Symptom: When you add a WPF view with presenter, a compilation error occurs because some references are missing.

Problem
The Target Framework for the unfolded project is 2.0 by default. With this target framework, references to .NET 3.0 assemblies are not being added by Visual Studio.
Workarounds
- Workaround 1: Update manually in the project’s properties page the Target Framework, setting it to 3.0 or 3.5
- Workaround 2: Modifying the projects’ templates inside the guidance package to include the TargetFramework directive. If we follow this approach, solutions will be coupled to a specific framework version. Note: having this directive in the template and unfolding it in VS2005 doesn’t cause problems.
(Note: Before, visit this post: How-To: Installing Smart Client Software Factory May 2007 source code and customizing the Guidance Package in Visual Studio Orcas Beta 2)
> Symptom: After adding a WPF View and compile the solution, a warning appears.
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.
-
Leave a comment
Your email address will not be published.