The VB and C# teams have also added some nice improvements
to VS 2008 SP1:
Visual Basic
You can now add "XML to Schema" items to Visual
Basic projects. On adding these project items a wizard will open that
allows you to create a XSD schema set from a variety of XML sources. This
schema set is then added to the project and it enables VB XML intellisense.
This support was previously available as a web download - you can learn more
about it here.
A XSD browser is also now included with VS 2008 SP1 and
allows you to browse XSD schema sets. With the final SP1 release,
developers will be able to right-click on XML element names (either in XML
properties or XML literals) in the VB code editor and select “Go To XML Schema
Definition” - this will open the XSD browser and display the schema set (and
select the current element) for the VB project.
C#
The C# code editor now identifies and displays red squiggle
errors for many semantic code issues that previously required an explicit
compilation to identify. For example, if you try to declare and use an
unknown type in the C# code-editor today you won't see a compile error until
you do a build. Now with SP1 you'll see live red squiggle errors
immediately (no explicit compile required):
Figure 14
The debugger in VS 2008 SP1 has also been improved to
provide more debugging support for evaluating LINQ expressions and viewing
results at debug time:
Figure 15
LINQ enabled data sources now have a "Results
View" node show up within the debugger watch window. Expanding this node
will evaluate a LINQ expression and allow you to examine the materialized
objects it returns:
Figure 16