visual-studio

Are there any drawbacks to running Visual Studio remotely?

Let's say you have a slow laptop which can't handle Visual Studio but a blazingly fast desktop that can. Let's also say that you want to develop in several rooms in your house. Are there any drawbacks to having Visual Studio running on the desktop and simply using the laptop as a way to access it remotely? I'd guess that the only thin...

Visual C++: How to disable specific linker warnings?

I'm using a library from CGAL which during the linking stage of my code compilation produces a lot of linking warnings of this form: warning LNK4099: PDB 'vc80.pdb' was not found with 'gmp-vc80-mt-sgd.lib' or at 'vc80.pdb'; linking object as if no debug info How do I turn off this specific linker warning under Visual C++/Studio 2008? ...

Best way to configure build directory structure for a windows application.

I am writing a small application at the moment and am trying to organise my build output to be a little closer to the finished product. The application is made up of a number of different projects. There is a core library that contains most of the functionality, a GUI app and a command line app that both reference the Core Dll, and a num...

Visual Studio 2008 - Distribute library with sample-application - ensure no access to the source-code of the library

I guess that this is a really stupid question, knowing that .net-code can be viewed with tools such as Reflector but here it comes. I have written a library in VS2008 (vb.net) which I am distributing to some people for testing. With the distibution, I am also attaching a sample-project(application) which uses my library. I thought that ...

Visual Studio plug-in that mimics eclipse environment

I have been using eclipse development environment for almost 3 years. Now I am about to move to C# and Visual Studio IDE. Does anyone know a Free/Open Source plug-in for Visual Studio to that mimics eclipse environment? ...

Setting breakpoint on the first line of an anonymous Javascript function in Visual Studio 2008

I am having problems using the Visual Studio 2008 Javascript debugger. I can’t set the breakpoint on the first line of an anonymous function. Given that most Javascript is written using namespaces these days, this means that you can’t set the breakpoint on the first line of most Javascript function. Looking on google (e.g this) and co...

How can I use one texttemplate to generate text from N Diagrams in VS DSL Tools

I´ve got a project with 10 DSL Diagrams. I´m generating SQL Code from them. Now a use one .tt for each diagram. When I make a new diagram I have to copy one .tt and change the name and the file reference. So finally I end up with: N diagrams, N .tt and N .sql file. I want: N diagrams, 1 .tt and 1 .sql file. ...

VMware Workstation overrides VS2008 hotkeys

I recently installed VMware Workstation on my computer, and it is causing me some trouble. I'm used to pressing F6 to build in VS2008, but Workstation keeps replacing the hotkey for build with Ctrl+Alt+B, and assigning its own hotkey to F6. Every time I change the hotkey back and restart VS, VMware messes it up again. How do I get my hot...

What are the best features of Visual Studio Team System?

Microsoft has a lot of stuff in there, but I'm wondering what features of Visual Studio Team System people really like and really use. I'm specifically thinking about Team System as opposed to plain old Visual Studio. What makes it worth the price? ...

How do you make configuration-specific C# build events in VS2008

In vs2008, C# build events are configuration-specific. Looking for ideas on how to make my build event run only when doing a Release build. Ideas? ...

Visual Studio Macro to Paste similar to String.Format

I'd like to be able to cut/copy a string like "<strong>{0}</strong>" for example. I'd like to then select some code such as "Hello, World" and then invoke a macro which will result in "<strong>Hello, World</strong>". How could you do this? Update: WHY do I want to do this? I could just make a macro or shortcut to add something specif...

In WPF/XAML how do I change the size of a paragraph of text using a scroll bar?

I'm new to WPF/XAML & I'm just doing a training exercise at the moment. I've got a noddy application and I want to change the size of the text in a tag based on the position of a scroll bar. The text is defined by this code: <FlowDocumentScrollViewer Grid.Row="1"> <FlowDocument> <Paragraph> Text goes here ...

Can't get my custom controls to appear in intellisense

Hello, I have added my assembly and namespace to my project, but I cannot get intellisense to show my tag name in the ASP.NET markup. What am I missing? I have a project that is MyWebSite.Web. In my web.config I have: <controls> ... <add tagPrefix="MyTagName" namespace="Enhancements.Controls" assembly="Enhancemen...

How can I add a VC++ DLL as a reference in my C# Visual Studio project?

I want to add a VC++ DLL reference into my C# Visual Studio project. But when I try to add it I see, "It is not a valid assembly or COM component". Please suggest how I can use the VC++ DLL as a reference in a C# project. ...

Problem with large solutions and service factory

My team is developing WCF services in Visual Studio 2008 SP1 with the Service Factory Modeling Edition. The problem is that we have so many services to develop and we've put everything in the same solution. 250 projects later, the solution barely loads and adding to it is nearly impossible. We thought it would be good to split out eve...

What is the purpose of the Build Configuration Manager in VS2008?

I am struggling with the purpose of the build configuration manager in Visual Studio 2008. Specifically I am interested in knowing what it does when developing a console application and also a web application (web application project). Does setting it to Debug or Release mode make any difference when you are developing and runni...

Should I install ReSharper 4.5 beta, and using Beta VS plug-ins in general

I'm running ReSharper 4.1 and was wondering if anyone is using 4.5 beta? how stable is it, etc. Also how do people feel about using beta VS plug-ins in general on work systems. ...

strptime in windows?

I wrote this really nice app that works just fine in Linux. It uses strptime(). Windows doesn't have this. Is there a Windows alternative for this? My coworker needs to use this app. (I tried googling it already to no avail) ...

Under what circumstances can an assignment in C# not change a variable's value?

This behavior is so bizarre that I don't even know how best to ask the question. Given the following C# code snippet: public class Foo { private bool _value = true; // ... protected void Method() { _value = true; if(!_value) { throw new Exception("What the...?!?!"); } } } Attaching the Visual Studio deb...

How to build a kernel image using Visual Studio

I'd like to build an embedded kernel for an x86 machine using Visual C++. I have some C and assembly code files to compile and I'd like to link them all together in a way that is compatible with a Multiboot bootloader like GRUB. ...