Developer Support Languages - VC++, C# and VB.NET

Welcome to Microsoft Developer Support, Languages team blog! You will find a lot of language related troubleshooting resources here.

Browse by Tags

Tagged Content List
  • Blog Post: Visual Studio 2012 IDE freezes while editing a UML model object

    Recently I got an opportunity to work with a customer who was observing some performance issue with their VS2012 IDE intermittently while editing some UML diagrams. More information about the problem assessment is as below: Symptom While trying to edit any UML model in Model Explorer, e.g. editing a...
  • Blog Post: Usage of .NET Collections types in VBScript is not supported after .NET 4.5

    While working with a customer, we came across a change in .NET 4.5 around usability of .NET types/classes (e.g., System.Collections. ArrayList ) in VBScript. I consider it as one of the major changes in .NET 4.5 (it might have been with .NET 4.0 itself as .NET 4.5 is just an in-place upgrade to .NET...
  • Blog Post: Finding Assemblies based on the .net runtime version it targets

    Recently had a customer who had this requirement to find all .net assemblies which targets .net framework 1.1 on his machine. The reason for this was that they were de-commissioning all .net assemblies that targets .net 1.1. So wrote a simple console application (EnumAssemblies.exe) for this customer...
  • Blog Post: System.MissingMethodException – Bad profiler changing the method name

    Usually System.MissingMethodException exception is thrown when there is an attempt to dynamically access a method that does not exist. Recently we worked on few issues where we saw applications throwing System.MissingMethodException intermittently. In these issues, the method names of the functions were...
  • Blog Post: Investigating a GSCookie Corruption

    GSCookie helps in finding buffer overrun cases on the stack and terminates the application when this is detected. In the .NET environment this would happen when calling into a native function when the function overrides the buffer on the stack corrupting the GSCookie put in place. Here is a similar case...
  • Blog Post: P/Invoke Marshal.StructuretoPtr

    In this blog I am going to talk about Marshal.StructuretoPtr , especially its last parameter fDeleteOld. Although its msdn description is pretty concise but I have seen it to be a source of confusion a lot of times. Following is what it says: fDeleteOld Type: System..::.Boolean true to have the...
  • Blog Post: .NET-BroadcastEventWindow causing BOOTUP_EXCEPTION_COMPLUS during application shutdown

    This is one of the interesting scenario in which an unmanaged application built with Non-Microsoft technology was crashing during application shutdown with BOOTUP_EXCEPTION_COMPLUS exception (c0020001). This unmanaged application happened to be using unmanaged dll (built with Microsoft compiler) which...
  • Blog Post: Porting C++ native code to managed (/clr) - Threads

    In native world, one interacts with OS directly by calling Win32 APIs for managing resources (like allocating/deallocating memory,opening/closing handles). In managed world one relies on CLR totally or at times partially for doing the same( eg GC does memory management for us).Due to lack of understanding...
  • Blog Post: A chalktalk on .NET troubleshooting at Vitual Tech Days

    This was my yet another venture with Microsoft Evangelism team. I was invited as the Speaker on .NET troubleshooting in the chalktalk session where developers all across logged in to the live meeting and threw a lot of questions on me. The DPE team recorded all the sessions during the event and they...
  • Blog Post: The developer's toolkit for .NET: Part II: Cold Startup time

    2. Application slow to load: Scenario : “Our application takes too long to load for the first time. It exhibits the same behavior once in a while…” To go ahead and analyze this scenario, we need to understand as to what happens when the application is loaded. Let me give a quick recap on that...
  • Blog Post: The developer's toolkit for .NET: Part I : FileNotFoundException

    Recently I had been to couple of places on behalf of Microsoft DPE (Developer & Platform Evangelism) group as part of their new initiative Innovation Day to talk about The developer's toolkit for .NET . It was an exciting experience and it was little surprising to know how much this territory is...
  • Blog Post: X86,x64,IA64,Any CPU

    When a managed application is built on Visual Studio , we get four options to choose for a platform .Lets discuss these options in detail . 1)x86 X86 is the generic name for all Intel x86 32 bit architectures. If you build your application using x86 switch , your binary will run as 32 bit process...
Page 1 of 1 (12 items)