visual-studio

Importing UML Diagrams into Visual Studio

In school I have learned that creating UML Diagrams/Models is great design practice before taking on a project. I have found it quite useful myself, in doing so I tackle projects much faster, and my overall design tends to be better. I've noticed a basic redundancy issue when it comes to writing code. In Visio you can be very descriptiv...

For what purposes have YOU used T4?

T4 has existed for several years in Visual Studio, but doesn't get a lot of attention. However, for those that know it, there seems to be some very creative and useful purposes. I am researching some different ways that T4 is used, and I would appreciate to hear how YOU may have used it for real life scenarios. I am primarily interest...

Visual Studio: CTRL+M CTRL+V (.Net MVC)

I've seen this combination (CTRL+M CTRL+V) used to create Views for ASP .Net MVC with Visual Studio, but it doesn't work on my computer. So I was wondering where does it come from and how to make it work? Solution: Apparently MVC was not registered within Visual Studio, so I had to reinstall it. The shortcut is added by MVC. ...

SQL Server 2008 Express - sample database download?

is there a sample database for SQL Server 2008 that I can download to practice learning how to develop/use SQL Server...I have downloaded the SQL Server 2008 Express Edition, Visual Studio 2008, MS Web Dev 2008, ASP.NET 3.5..... ...don't think I can download anything else before I start learning how to use this stuff. Thanks guys... p...

How do I start a new CUDA app in visual studio 2008?

This is an incredibly basic question, but how do I start a new CUDA app in visual studio 2008? I have found tons and tons of documentation about CUDA related matters, but nothing about how to start a new project. I am working with Windows 7 x64 Visual Studio 2008 C++. I would really like to find some sort of really really basic Hello ...

Is there a similar option in Visual Studio like `-iquote` in GCC?

I found there was an option -iquoteDIR in GCC to control the search path just for #include "FILE" other than #include <FILE>. But I didn't find a similar option in Visual Studio. Is there anybody knows it? ...

64bit Visual Studio

Why Visual Studio does not have a 64bit version? ...

Create dependency in DLL to other module with a non-".DLL" extension

A bit of an odd question here, but AutoCAD uses extension DLL's with the .ARX extension, which are really exactly like regular DLL's, besides their extension. Now we have built three .ARX files, where the two latter ones have dependencies to the first. Upon loading these two, AutoCAD complains that it can't find a required file, and whe...

Productivity features in vs2010

I have recently upgraded to VS2010, and overall I must say that I'm very impressed. I used to use ReSharper when working with VS2008, but I have found that many of it's features have been incorporated into VS2010. One of the features I like the most is the CTRL+, command which lets you navigate to a class or method by writing part of it...

VS2008 + MVC2 RC + L2S or VS10Beta2 + MVC2 Preview 2 + EFv4

I'm starting a new project which must have a working prototype within 10 days. The project should be cutting edge and I'd love to use latest tech, especially EFv4. But, also I like new MVC2 features like ForEdit and easier validation implementation (for Areas I don't care). MVC2 RC is out for VS2008 and works on VS10Beta 2 too, but "too...

Unable to use Opentype font with visual studio 2008

I am using Windows XP, and trying to use MyriadPro Opentype font with Visual Studio 2008. I can use this font with Wordpad, but Visual Studio IDE does not show this Font in Font property for a control. ...

Why have separate Debug and Release folders in Visual Studio?

By default, of course, Visual Studio creates separate bin folders for Debug and Release builds. We are having some minor issues dealing with those from the perspective of external dependencies, where sometimes we want release binaries and sometimes debug. It would make life slightly easier to just have a single bin folder on all projects...

Add Source file link to the default ASP.NET Server Error page?

Has anyone ever thought to attempt to modify the default ASP.NET Server error page to provide a link BACK to the error source in Visual Studio? Consider the following standard error page in ASP.NET: Server Error in '/myproject' Application. Invalid object name 'usp_DoSomething'. Description: An unhandled exception ...

altering Visual Studio's Clean Solution option

As a post-build event for some of my projects, I have documentation copied from directories like bin\Project\Debug to a central doc\ directory in the root directory of my solution. When I do a Clean Solution, I know bin\ and obj\ files get deleted, but I would like for another event to happen to delete cruft from my own doc\ directory. ...

Visual Studio internet connection failue

Last night my Visual Studio was working fine. Today it fails to connect to the internet (can't download rss feeds or connect to my TFS Server). My internet connection is working fine (I am using it to write this). What could cause this? Are there settings that I can get at to fix it? The only clue I have is that Resharper is giving ...

Visual Studio 2008 devenv running application, then leaving ghost

I'm developing a C#/WPF application using Visual Studio. This app uses a com port, then releases it upon exit. I'm using the debugger to run and stop this application often. Sometimes, I get an exception when starting up a debug session saying that the com port is already in use. The code always closes the open com port on exit, so I ra...

Visual Source Safe New files check in

I have asp files on server and i created a working folder and checked out code. I then created new files in working folder and did checkin but they new files are not copied. Does VSS do not copy new files or is there a way i can check in those files to VSS database. ...

getting Windows Identity Foundation "Developer Training Kit" examples to work

I downloaded the "Developer Training Kit" for Windows Identity Foundation and installed it on a newly set up Windows Server 2008 R2 virtual machine. When I open up the example solutions and press F5 to run them, I get the following error: "Unable to start debugging on the web server. The underlying connection was closed: An unexpected...

Circular dependencies

I have 2 projects. Project#2 has a reference to Project#1 Now I need to reference Project#2 in Project#1, but vs.net is complaining about a circular dependency. Is there a way out of this? ...

Visual Studio 2005 - Remote Debugging Connection Issue?

I’m trying to get remote debugging working again on a Windows 2003 server that I use for ASP.Net 2.0 development. I had everything up and running for months then one day, I was forced by our AD policy to change my password and the remote debugging has not worked since. I have a Windows 2003 server running virtually (MS Virtual PC 2007)...