Ahmed's profileAhmed Mahdy - Microsoft ...PhotosBlogLists Tools Help

Blog


    Smart Devices in Visual Studio 2010 – Good News Coming?

     

    In a previous article, I’ve make a preview about the new Visual Studio 2010 features and drawbacks. One of the key drawbacks is that Smart Devices is no more supported in Visual Studio 2010.Visual Studio 2010

    Some people think that Microsoft is going to build a standalone IDE for Smart Devices including Windows CE and Windows Mobile applications like major competitors in this field “Apple and Google” who released free IDEs for development of both iPhone and Android applications respectively. Those thoughts were confirmed after the release of a public beta of Microsoft’s main development IDE, Visual Studio 2010 in the last week. Microsoft did not include Smart Devices programmability features in all supported languages in Visual Studio 2010, which was a bad news for smart devices developers when they found that out, especially for Windows Embedded developers which became very certain that Visual Studio will no more work with BSPs after much complaints of forcing most of Embedded developers who upgraded to Visual Studio 2008 to stick back to Visual Studio 2005 since VS 2008 and WinCE 6.0 were not compatible.

    The good news that Microsoft Windows Embedded team is not intending to build its standalone IDE for Windows Embedded and Windows Mobile development. They’re working with Visual Studio team in order to find a solution for Smart Device programmability options in Visual Studio 2010.

    Hoping to see Smart Devices back in next builds of Visual Studio 2010!

    Visual Studio 2010 Beta 1: A Stack of Bugs!

     

    In a previous article, I displayed brand technologies in Visual Studio 2010. Since Visual Studio 2010 still in beta phase, some bugs and errors are found in this version of Visual Studio in just a glimpse about the product in less than 3 hours from first installation on a Windows 7 RC x64 machine.

    Installation

    Installation went smooth and fast without mentioned errors. I’ve tried several tests of installation on optical media "DVD”, local source and network source.

    During network installation, I’ve powered off the network machine that include shared installation folder while installer was trying to extract a cabinet file. Installation considered file as corrupted and installation rolled back. During rollback, an error occurred stating that one of restoring computer to its previous state could not be found. Setup crashed because of absence of a Retry option during installation!

    Smart Devices Developers

    If you’re a smart device developer, Microsoft is telling you if you still in need of programming Windows Mobile and Windows CE application, do not rely on Visual Studio 2010 since it’s no more supported in this release of Visual Studio. As most of Windows CE developers expected a solution for the Platform Builder on Windows CE 6.0 that was only was available for installation on Visual Studio 2005, Microsoft didn’t include the whole smart devices programmability set!

    That maybe since Google and Apple released a free IDE for mobile developers to develop their own application, I guess Microsoft is going to release a special IDE for mobile developers free of charge unlike Visual Studio 2010. Hoping Microsoft would make a declaration about this criticism as soon as possible.

    Cursor Blink

    A very strange issue in the Visual Studio 2010 IDE is that the Cursor blinks in a strange technique causing a shadow after every blink which might cause some eye problems especially developers can’t work except by tracking the cursor (The shown image illustrates the cursor “3rd line” in a snapshot and it appears scattered").

    Non Functional Buttons

    Let’s start a project from an existing code for all C++, Visual Basic and C#.

    For C++

     

    I’ve tried to open an existing code folder written on C++ to complete it. I tried to click the Browse button, it’s not functional! I tried to do the same for Add button to check validity of it, the same! Not working!

    For Visual Basic and C#

    I’ve tried to validate all buttons and actions on this wizard for both VB and C#, I clicked the Browse button (represented as …) and then a window appeared to Select Folder then clicked Cancel without adding an option. The bug appeared, the drive letter (c:\) was called back again but in a non-unicode character (Asian character) that was translated into a strange box or undefined character set. Also the whole path was converted into lowercase ignoring true naming of path folders and drive letters as well.

    Visio 2007 UML Reverse Engineering

    Microsoft Visio 2007 Professional is installed on my machine, since it’s installed, a plug-in used to reverse Engineer code into UML diagrams, the tool was not found in this release of Visual Studio 2010.

     

    That was after 2-3 hours of installation. I’m going to get in depth with Visual Studio 2010 Team System to find more bugs and I’m going list them in following articles beside another series of articles as tutorials of the new product.

    Visual Studio 2010: An Incredible UX Experience

     

    Microsoft Corporation just released its most famous IDE tool for developers, Visual Studio 2010 Beta 1 on May 20, 2009 for MSDN Subscribers and soon released another version to public. A CTP version of VS 2010 was released on 2008 in VHD format. Visual Studio 2010 was introduced by codename Hawaii.

    Actually, I didn’t try to test VS 2010 on VHD since a runtime installation would work fine for me to debug errors during installation and working environments.

    I’ve just installed Visual Studio 2010 (2 hours ago from posting this article) and here is the first impression.

    First Look

    VS 2010 Start Page

    As shown in figure, the Visual Studio 2010 IDE was redesigned for clear UI organization with support of multiple document windows and floating tools windows. The new that the IDE shell was rewritten on WPF “Windows Presentation Foundation”, Microsoft’s revolutions in graphics experiences was firstly introduced in .NET Framework 3.0, whereas the internals were redesigned using MEF “Managed Extensibility Framework” to allow rich add of add-ins.

    New Technologies

    .NET Framework 4.0

    Microsoft announced the .NET Framework 4.0 on 29 September 2008. Public beta was released with Visual Studio 2010 on May 26. The new .NET Framework empowers the Azure cloud computing platform programmability by support of: Parallel Extensions, PLINQ, Task Parallel Library. It also provides full support for F#, IronRuby and IronPython languages. It also provides supporting the subset of .NET Framework and ASP.NET with Server Core as in Windows Server 2008 R2. Beside lots of enhancements on existing .NET technologies.

    F#

    Full support of the multi-paradigm programming language F# which was included into the new version of .NET Framework 4.0. F# would be a replacement of J# that was no more included since Visual Studio 2008 as a sign that Microsoft will no more provide support for JAVA programming language. F# was developed in Microsoft Research Labs and firstly appeared in 2002 and it’s a language that provide rich support for both functional, imperative and object oriented programming aspects.

    Oracle Database Programmability Support

    Since Visual Studio 2010 provides extensibility and providing rich support for adding add-ins for third parties, Quest announced that they will provide an add-in that provide Oracle Database programmability support within Visual Studio 2010.

    The new tool enables Oracle developers to perform offline design, development and change management in VSTS, and integrate their changes into the application's automated build schedule. This capability ensures that all database changes are managed and tracked in the system, unifying Oracle professionals with the rest of their organization's VSTS team.

    "We are pleased to have Quest Software supporting Visual Studio Team System 2010," Jason Zander, general manager of Microsoft's Visual Studio Developer Division, said in the statement. "With this forthcoming solution, Oracle developers will be able to take full advantage of the benefits of Visual Studio Team System."

    Code Editor

    The Visual Studio 2010 code editor now highlights references; whenever a symbol is selected, all other usages of the symbol are highlighted. It also offers a Quick Search feature to incrementally search across all symbols in C++, C# and VB.NET projects. Quick Search supports substring matches and camelCase searches. The Call Hierarchy feature allows the developer to see all the methods that are called from a current method as well as the methods that call the current one.

    IntelliSense in Visual Studio supports a consume-first mode, which can be opted-into by the developer. In this mode, IntelliSense will not auto-complete identifiers; this allows the developer to use undefined identifiers (like variable or method names) and define those later. Visual Studio 2010 can help in this also by automatically defining them, if it can infer their types from usage.

    Visual Studio 2010 Team System

    Visual Studio Team System 2010, codenamed Rosario is being positioned for application lifecycle management. It will include new modeling tools, including the Architecture Explorer that graphically displays the projects and classes and the relationships between them. It supports UML activity diagram, component diagram, (logical) class diagram, sequence diagram, and use case diagram. Visual Studio Team System 2010 also includes Test Impact Analysis which provides hints on which test cases are impacted by modifications to the source code, without actually running the test cases. This speeds up testing by avoiding running unneeded test cases.

    Visual Studio Team System 2010 also includes a Historical Debugger. Unlike the current debugger, that records only the currently-active stack, the historical debugger records all events like prior function calls, method parameters, events, exceptions etc. This allows the code execution to be rewound in case a breakpoint wasn't set where the error occurred. The historical debugger will cause the application to run slower than the current debugger, and will use more memory as additional data needs to be recorded. Microsoft allows configuration of how much data should be recorded, in effect allowing developers to balance speed of execution and resource usage. The Lab Management component of Visual Studio Team System 2010 uses virtualization to create a similar execution environment for testers and developers. The virtual machines are tagged with checkpoints which can later be investigated for issues, as well as to reproduce the issue. Visual Studio Team System 2010 also includes the capability to record test runs, that capture the specific state of the operating environment as well as the precise steps used to run the test. These steps can then be played back to reproduce issues.

    I’m going to display a list of backdraws and bugs found in this release of Visual Studio in a later article.