I created a custom HTML code snippet in Visual Studio 2010 to insert a form field with label, textbox and RequiredFieldValidator.
I specified Declaration tags for the control IDs, label text and validator ErrorMessage property. The snippet has been imported into the My HTML Snippets folder with the Code Snippet Manager in VS 2010.
When ...
This is driving us crazy... In VS2010, MVC2 projects, not all projects.... both on a project that was upgraded from 2008/mvc1 and on a brand new project created within 2010/MVC2, we have the following behavior:
1) develop as normal..
2) hit F5 or CTRL-F5 to open up a browser
3) works great!
4) add a CSS file (or JS file or any file...
I just ran the Visual Studio 2010 Thread Profiler against my Azure code and noticed I'm getting a LOT of contentions. My code is blocked more often than it is running!
My worker has no custom threading logic in it at all. It is a simple While loop which asks various queues if they have work. I make an instance of the QueueRepositoryClas...
I've got a relatively simple project that is under source control (svn), and I wanted to create an installer. I know that I could (should) use WiX, but as I'm new to creating installers I thought it'd be easier to just use the built-in Visual Studio (2010) Setup and Deployment Wizard.
Unfortunately, it seems that files including externa...
I am running TFS 2008 and plan to upgrade to TFS 2010. There is no Test Case work item in TFS 2008 (only in TFS 2010) and I am wondering what is best, to create a Test Case work item in TFS 2008 and later import in TFS 2010, or, create the test cases in Excel and use the CodePlex utility to import into TFS 2010?
...
I'd like to extend the 2010 static code analysis metrics (mostly fix it so the rollup is max instead of sum). Where is the extensibility point? Is it an MEF component somewhere?
...
I just updated VS 2010 from Professional to Ultimate, specifically to gain access to the Architecture Modeling utilities.
After successfully creating a new Modeling Project, I have been unable to create a usable Layer Diagram. Each time the VS designer shows the diagram, VS freezes, requiring a forced close via Task Manager.
I have don...
My current visual studio panel layout looks similar to the drawing below:
-----------------
| | | |
| | | |
| | | |
| | |--|
| | | |
| |---------| |
| | | |
-----------------
I really don't need the full height of the screen for the toolbox or server explor...
I searched for this here and on msdn but didn't find a satisfactory answer either because things changed from 2005/2008 to 2010 or I don't know how to use VS IDE.
So, here is what I am trying to I have an xsd file and I want to perform searching operations on that. For that I figured that I would need corresponding classes and dataset i...
Hi,
I just moved my code from subversion to TFS.
When I get latest version, I understand that I can't get write permissions.
However, when I check out and choose the option to take the exclusive lock, a check mark appears next to my files and I am able to edit them.
When I look in Windows explorer, however, some files are still marke...
Summary: I can run unit tests and code-coverage, but the report only includes NUnit classes, not my application classes.
I have successfully used PartCover in the past. Not so this time. I tried the latest PartCover (4.0), downgraded to the next latest (2.0), both with NUnit 2.5.6.
I created a simple .NET 4.0 class library (also tried ...
I am currently write an ASP.NET WebApplication in Visual Studio 2010. My default browser is Firefox. If I start an WebApplication, the WebApplication starts up in the same instance of Firefox. How is it possible to avoid it? How do I configure Visual Studio that the WebApplicaton starts in an new instance of Internet Explorer?
Thanks in...
I have a WPF (C#) project that has a Installer project. The thing is that one layer (UI) has a XML file that I wan't to be included in the Install.
That is to say, I wan't the file to appear in "C:\Program Files\appName\" when I Install the app on a client computer.
I have tried to change the "Build Action" but that doesn't work.
I have...
This may actually show how much of a Noobie I am but does anyone know where I can grab Java.net from?
I don't really like eclipse and would like a version integrated with my Visual Studio environment.
...
Hi guys,
I am working with VS 2010, Entity framework, SQl-Server 2005, ASP.Net web forms. Currently, I am working on the Data access layer library which soon will be a web service, using Entity Framework collaboration with different design patterns like repository pattern and some best practices that posts in different blogs. I am also ...
Visual Studio 2010 ("Project Properties" dialog)
I've installed Visual Studio 2010 Ultimate and it has apparently imported the default directories for my Win32 C++ includes and libraries. Every new Win32 C++ project I create automatically adds my old include/library directories which screws up my build.
Here is the "Project Properties...
Does anyone else wrestle with getting VB.NET Linq code formatted the way they want it in Visual Studio? What are some tricks you have for how do you deal with it? I know that Visual Studio lets you uncheck the option for "Pretty listing (reformatting) of code", but most of the time it's a really handy setting to keep on. And with a te...
I want to change the gray default background of the header of a listview but I don't know how to do it. Please help!
To clarify my needs, I put a screenshot here.
...
I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where ...
I have a sgen build step in my .NET 3.5 library. In VS2010 this generates .NET 4 MyLib.XmlSerializers.dll, which cannot be loaded from .NET 3.5 apps. Does anyone know how to change build step to get correct version of the assembly? Is it possible to IL merge serializers assembly and library into single dll?
This is my sgen build step:
...