.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Imran Ghani
Post New Web Links

Why doesn't Visual Studio support MSIL as a first class language?

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :.NET Framework
 

I'm dissapointed that Visual Studio (I'm running VS 2008) doesn't support IL as a project language, so that we can select it when starting a new project. We could then edit/assemble in VS and build debug test etc just like any other language. There seems to be no support for this either from MS or as an add-on.

The main motivation is to ease the development of dynamic methods, where we can actually see the stack, operations, memory etc in a proper debugger, right now developing dynamic methods is hit and miss, and very time consuming to debug (because the only assembler we can see in VS is native CPU !)

Also even if I debug C# code and select assembler in the source window I do NOT see IL assembler, only the jitted native assembler.

Is there any way to debug IL as IL, and see the stack etc etc?

Cap'n




View Complete Post


More Related Resource Links

Russian language support in visual studio 6.0

  

Hello sir/madam

I am working on localization project for Russian langauage support.

In operating system windows 2003 server

visual studio 6.0

I update the string in  .RC file or in string table from visual studio 6.0 resource editor

when I editing  Russian language  .

I am getting Junk letter in Visual studio editor.

please help me on solving this problem.

 

if there any way to solve this problem.

 

 

 


Coding Tools: Improved Support For Parallelism In The Next Version Of Visual Studio

  

We take a look at planned support for parallel programming for both managed and native code in the next version of Visual Studio.

Stephen Toub and Hazim Shafi

MSDN Magazine October 2008


Visual Studio .NET: Managed Extensions Bring .NET CLR Support to C++

  

If you're a longtime C++ programmer, the thought of migrating to Visual Studio .NET might make you wary at first. However, a new feature of Visual C++, the managed extensions for C++, allows you to build apps with the .NET Framework. When you use managed C++, your code is handled by the common language runtime (CLR). This provides advanced features like garbage collection, interoperability, and more. This article explains why you'd want to use the managed extensions, how to use them, how to mix managed and unmanaged code, and how your managed code can interoperate with programs written in other languages.

Chris Sells

MSDN Magazine July 2001


CSS support in visual studio 2008 express edition

  

I have several css style sheets I want to work with.  I have copied them into the appropriate directory structure in my project.  The styles are applied correctly.

But the manage CSS styles tool bar on the left margin doesn't seem to work correctly.  At one point I had generated a style sheet and worked with it there, but now it not only can't find the one it generated, but the attach style sheet link doesn't respond at all, nor does anything in this bar.  Same deadness with the CSS Properties bar.  With or without a style sheet loaded in the editor -- a style sheet that is active in the project such that when I run it, the styles are applied.

VB version of studio, running on Vista home basic.


PS, the design mode works a lot better than the professional version I use in my day job on XP and server 2003.



Video: SharePoint 2010: Creating .NET Assembly Connectors in Visual Studio 2010 Support

  
Learn how the inclusion of Business Connectivity Services (BCS) creates opportunities to leverage SharePoint features and APIs against your existing line of business data that is available via direct database access or via Web services. (Length: 5:41)

Visual Studio 2008 Professional v.s. Standard - support SharePoint 2007 sequential workflow?

  

I would like to ask if VS2008 Standard edition support the project type of SharePoint2007 sequential workflow?

I have a VS2008 Professional edition and it is Ok to create SharePoint2007 sequential workflow project and deply to MOSS2007 successfully.

Is it possible in a VS2008 Standard edition?

Thanks in advance.


Visual Studio doesn't build with InternalsVisibleTo if using a CodeActivity within the same assembl

  

I have unit test projects to test some workflows. So I have some InternalVisiblesTo in my main project so my test project can call them. But when I do workflows (.xaml) in the test project using some codeactivity also defined into the test projects, the build doesn't see the InternalVisiblesTo attribute and I get errors like this one :

Error 1 'BugVSInternalVisiblesTo.Class1' ne contient pas de définition pour 'Method1' c:\Projects\BugVSInternalVisiblesTo\ActivityLibrary1\CodeActivity1.cs 9 41 ActivityLibrary1

Here are the steps to reproduce easily my case :

1- Create a C# Class Library project with this code :

using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo ("ActivityLibrary1")]

namespace BugVSInternalVisiblesTo
{
  public static class Class1
  {
   internal static void Method1 ()
   {
   }
  }
}

2 : Create a new C# Workflow ActivityLibrary project named "ActivityLibra

SQL query gives results, but Visual Studio doesn't

  

Hello!

I have problem accessing data from SQL query in ASP.net. I checked the query and it returns two fields, both with data, but when I run the same query in Visual Studio I get the following error: "Invalid attempt to read data when no data is present."

The problem is that data does exist...

This is what SQL query returns when executed on SQL Server Management Studio (I bolded the different header so you can see the difference):

url idClanak
Upload/Default2.png 8
Upload/Default3.png 8
Upload/Catrinel Menghia 7.jpg 8


The following is the ASP.net code (I bolded the piece of the code that apparently has some problems):

    private void Upisivanje(int idClanak, string naslov, string datumString, string kategorija, string autor, string slika, string opisSlike, string sadrzaj)
    {
        string facebook = "<a href='http://www.facebook.com/sharer.php?u=" + Request.RawUrl + "&t=" + naslov + "'><img src='Images/Facebook.png'/></a>";
        string twitter = "<a href='http://twitter.com/home?status=" + naslov + " na: " + Request.RawUrl + "'><img src='Images/Twitter.png'/></a>

Is it a bug in Visual Studio 2008 in WPF Designer when binding to enum defined inside of class?

  

Hello,

 

I have following problem:

when defining an enumeration inside of class (either static class or not) I can bind to this enum, however the WPF Designer inside Visual Studio does not display designed GUI anymore and show an error Type "MyClass+MyEnum" was not found.

However I can compile and execute the code and in the combobox all enum- values are listed.

 

Code behind:

    public class MyClass
    {
        public enum MyEnum { enumValue01, enumValue02, enumValue03, enumValue04, enumValue05 }
    }

 

My xaml-code:

<Window x:Class="SampleBindingOfNestedEnumToComboBox.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"          
    xmlns:local="clr-namespace:SampleBindingOfNestedEnumToComboBox"
    Title="Window1" Height="300" Width="300">

    <Window.Resources>

Is it a bug in Visual Studio 2008 in WPF Designer when binding to enum defined inside of class?

  

Hello,

 

I have following problem:

when defining an enumeration inside of class (either static class or not) I can bind to this enum, however the WPF Designer inside Visual Studio does not display designed GUI anymore and show an error Type "MyClass+MyEnum" was not found.

However I can compile and execute the code and in the combobox all enum- values are listed.

 

Code behind:

  public class MyClass
  {
    public enum MyEnum { enumValue01, enumValue02, enumValue03, enumValue04, enumValue05 }
  }

 

My xaml-code:

<Window x:Class="SampleBindingOfNestedEnumToComboBox.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:sys="clr-namespace:System;assembly=mscorlib"     
  xmlns:local="clr-namespace:SampleBindingOfNestedEnumToComboBox"
  Title="Window1" Height="300" Width="300">

  <Window.Resources>
    <ObjectDataProvider MethodName="GetValues" ObjectType="{x:Type sys:Enum}" x:Key="odp">
      <ObjectDataProvider.MethodParameters>
        <x:Type TypeName="local:MyClass+MyEnum"/>
      <

Adding CSS 3.0 support to Visual Studio 2010

  
The article Adding CSS 3.0 support to Visual Studio 2010 was added by codenickel on Saturday, April 09, 2011.

Many of us want to use CSS 3.0. This feature is promised in Visual Studio 2010 however if you open any given CSS file, the option does not appear in the dropdown. So I decided to write this WIKI to help. 1. Open this link to download the CSS 3.0 installer

Visual Studio doesn't draw properly.

  

When I load my Visual Studio (C++ 2010 Express and / or Visual Basic 2010 Express, it's even happened with Web Developer 2010 Express and C# 2010 Express), it never seems to work properly.

As I'm sure you know, at load a start page is meant to show with a list of previously opened projects and the latest news on the product, but for me its just a solid colour of purple from the background colour of the application. If I manage to load a project it does an initial refresh and seems fine, but when I scroll the code it doesn't refresh, the same can be said for when I goto edit the code.

I found that resizing the window and / or changing its maximized / minimized state generates a refresh and allows me to view changes, I've also found that restart my computer a few times or re-logging allows the VS collection to work fine. Interestingly it will work, but then if I close it for more than a few hours it stops, and vise-versa.

I've re-installed both C++ 2010 Express and Visual Basic 2010 Express at least twice, I also have the latest drivers and service packs.

Any help will be appreciated, I hate coding in Notepad++ and then debugging in VS.


debug and class diagram question, visual studio 2008

  

Hi. Im working on a project where there are a lot of imported dll's from a company that have e-soultions. now some times when i debug i get to a dead end when a class or method is used from their project. They supplied me with their sourcecode so i got that, now the question is can i somehow debug in my main project and to trace it to their project if i got the source code? (hope im clear on what i want to do)

 

second question is that i want to print all the classes and inherits, can i get that somehow with the different relations between classes straigh out of visual studio? i know about class diagram but it dont show relations.

 

thanks for reply


ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

  
Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

  
This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.

ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

  
There's a lot of stuff that's new and added in .NET 4, but not in that "overwhelming-I-need-to-relearn-everything" way. More in that, "oh, this is way easier/simpler now" way. Like, moving data around with ADO.NET DataServices is easy, binding with client templates is easy, there's F# if you need it, the "dynamic" keyword if you need it, Silverlight's already installed, oh, and the parallel stuff will freak you out, but in a good way.

Short Overview of SharePoint Features in Visual Studio 2010

  
As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend