Is it possible to extend primitive types such as System.String and System.Int32 (IE: integer) in .Net 4 and if so how?
To be more specific, I am aware of the concept of partial classes but this doesnt seem to be the answer. Also I find that System.String is not inheritable and Int32 is a structure.
Lastly I am interested in knowing bot...
When you work in Visual Studio 2010 and write a comment on a method and click enter
Visual Studio 2010 allows you to create "see" and "see also" XML comments.
If you type in comment "see" and press TAB then it looks like
/// <see cref=""/>
/// <seealso cref=""/>
What is meaning of it in C#?
...
Is there a way to disable the WPF designer (the preview pane, I only need the XAML-pane with intellisense) in VS 2010?
Please note that when hiding the Design view of the WPF designer, it will still render the form/control ... I don't consider that disabled.
I only see the "Open With" + "XML Editor"-solution, which doesn't give nearly ...
Installed Visual Studio Web Developer 2010 Express from the ISO available from this page:
http://www.microsoft.com/express/downloads/
If it helps this is the info from the about visual studio window:
Microsoft Visual Studio 2010: Version 10.0.30319.1 RTMRel
Microsoft .NET Framework - Version 4.0.30319 RTMRel
Installed Version: WD E...
I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
...
I created a new sharepoint project in Visual studio 2010 and by mistake it was sandboxed solution, after finishing my development its wont build because i am adding items to controltemplates and its saying i need to have the project as farm solution, so how to change th eproject type ?
...
I might be in the minority, but I really dislike how the Subversion client integrates into the Windows shell. Is there a Subversion client that simply integrates into VS2010 and that's all and doesn't mess with the Windows shell?
...
I'm using VS2010, ASP.NET MVC 2, and ReSharper 5.0. When I create a new view that's typed off of a model from the same project as my view, ReSharper doesn't see the reference to the model.
This is the definition of my view:
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Web.Domain.UserViewModel>" %>
Domain.UserViewModel ...
I need to debug in IE6 (failed at getting the standalone installs to work) so I want to be able to access my debug mode from another computer (which has IE6 installed) and that way I will be able to fix bugs much easier.
Im sure this is possible so please help its pretty urgent thanks :)
...
I am using FormRewriterControlAdapter at VS2010(.NET 3.5)
When I compile and deploy, form tag have wrong action attribute. I need to delete __browserCapabilitiesCompiler.compiled to work. But I dont know if have any collateral effect.
Why?
I founded one case similar: http://quangouk.spaces.live.com/blog/cns!AC44601E5195662B!246.entry
...
I can't seem to find a question on this, but it might be because I'm unable to find a good way to search for it...
I recently updated my installation of Visual Studio 2010 Pro Power Tools, and now every time I type @ in a code window, I get a search window of some sort opened instead of the @ symbol in my code. I can't find the key sett...
Hi,
I am using:
Visual Studio 2010 Professional,
Silverlight 4 Toolkit
The WPF Designer don't show (invisible) - while the Component Toolbox is showing the relevant controls, and the Windows->Windows option shows the designer to be active. It does this with ALL XAML for me, regardless of its complexity. I have already tried the /Reset...
When working on console applications in Visual Studio, I will run the application by pressing F5 to bring it into debug mode. Occasionally (and I'm not sure how this happens), I'll get back into "edit mode" in Visual Studio and the debugged console window will still be open.
It will remain open but entirely unresponsive. I can't clo...
When comparing schemas from a SQL 2008 database to a Visual Studio 2010 database project, if the schema name has a space in it, the script generator generates the following:
create view "Alphabetical list of products" AS...
When the database project is built, it throws errors due to incorrect syntax (the double quotes). Is there an op...
I've got a shiny new laptop with the latest Dev tools installed such as Visual Studio 2010.
Now I've got a task to build a C++ CLR app targeting the 2.0 runtime (this is well outside my comfort zone). So I've specifed the v90 Platform Toolset but when I build I get:-
error MSB8010: Specified platform toolset (v90) requires Visual S...
Here's my current problem:
I have a data grid with 4 columns in it: Year One by Index, Year One by Percentage, Year Two+ by Index, and Year Two+ by Percentage. I want my data grid to make these columns mutually exclusive with its counterpart column.
So for example, if I type in a number for Year One by Percentage I shouldn't be allowed...
I have taken the POCO tt templates that can be used in Studio 2010 with Entity Framework and modified them to better fit my needs. I have added a few things to make testing easier.
Now I want to be able to right click on the entity framework design surface, choose "Add Code Generation Item" and select my templates instead of the built ...
Is it possible to change the target framework to .net 4.0 in an application originally started in Silverlight 3? I have upgraded the Silverlight target to Silverlight 4 with no problem, but it seems that I am stuck with using the .net framework 3.5 in my actual C# code. (I'm trying to use threading tasks if that is any help)
I am usin...
Googling this yields lots of entries on HOW TO step through Framework code. I'm trying to find out how NOT TO step into.
First check: Yes, "Enable Just My Code" is checked in the Tools->Options->Debugging. That is supposed to keep VS2010 from looking for source code when you are stepping through a framework function (or anything else t...
In Visual Studio 2008, when I print code with "hide collapsed region", the print result would include the region header name.
For example, if the code looks like this:
using ...
namespace Foo
{
#region MyRegion1...
#region MyRegion2...
public void SomeAction{}
}
In Visual Studio 2008 print, it looks like:
using ...
names...