visual-studio

Force Visual Studio 2010 to Place CSS in File Not Inline?

By default VS 2010 likes to put CSS in-line, I'm wondering if there is a way to force it to put the CSS into a css file instead? ...

Visual Studio Setup when first viewing a page

Is there a way to setup visual studio 2008 to automatically collapse regions/functions/methods when the code behind is first opened? ...

Problem in Add Reference dialog with paths containing #

I am new to using Microsoft development tools but have been using Visual Studio 2010, .NET 4 and C# for the past few weeks. I ran into a problem yesterday creating a new project the same way I have been doing it successfully from the start: right-click on the project in the Solution Explorer Add Reference, which used to bring up this di...

Is there a SQL Server function for displaying pseudo-random database records?

is there a way to show a certain amount of random records from a database table, but heavily influenced by the date and time of creation. for example: showing 10 records at random, but showing latest with more frequency than the earliest say there are 100 entries in the news table latest (by date time) record would have an almost 100%...

What is the short cut for opening method definitions in visual studio 2008

I would like to open a window that lists all the method definitions so that I can navigate to the one I am interested in. Eclipse does this very elegantly ; I think it is CTRl + O there. ...

HTML5/DOM2/Javascript Visual Studio 2008

I've found this link- http://blogs.msdn.com/b/webdevtools/archive/2009/11/18/html-5-intellisense-and-validation-schema-for-visual-studio-2008-and-visual-web-developer.aspx to update the tags for HTML5, which isn't a whole lot of use when I'm using just one or two new tags. Is there any way to get Visual Studio 2008 to recognise the new J...

Merging multiple jscript files into one with msbuild task?

I am using Microsoft Ajax Minifier to convert file1.js to file1.min.js. Now I would like to take file1.min.js and file2.min.js and merge them into files-merged.min.js. I have found several open source msbuild projects but with no documentation on how to use them! I am using Visual Studio 2010, is this something Ajax Minifier can do, if...

Visual Studio: How to open file from Windows command line to specific line in running instance of VS?

Hello - Unfortunately, it is impossible to use the Windows command line to open a file in an already-running instance of Visual Studio at a specific line number. (VS 2008) http://stackoverflow.com/questions/350323/open-a-file-in-visual-studio-at-a-specific-line-number shows a command-line parameter combination that fails, and presents...

Visual Studio: Unable to open Macro editor in VS; get "No such interface supported" error

Hello - When I attempt to open the Macro editor in Visual Studio 2008 by double-clicking a personal (empty) macro project (visible in the Macro Explorer pane), I receive the following error: "No such interface supported" From a Google search I followed a suggestion of repairing my Visual Studio 2008 installation using the original DVD...

How can I create a vs.net website project from existing files on a server?

I am taking over a project that has all the files on the server. It seems the project was build using a website project type. What is the best way for me to re-create a vs.net solution? Update So I pulled all the files down, saved the solution. Trying to Run the application but it says 'getting files from server...", how to I confi...

Automated Visual Studio Source Changes on Build (Update DBML etc.)

Every time I rebuild by DBML, I have to adjust settings for auto generated value etc. for individual fields. Is there a built-in tool which I could use to automate my changes in the DBML when I build? I'm using Visual Studio 2008. ...

What does 'inconsistent line ending' mean in Visual Studio 2010?

What does 'inconsistent line ending' mean in Visual Studio 2010? I also see this error in a dialog when I'm coding in VS2010. How can I stop this error from showing in the dialog? ...

Code snippet plugin

Are there any good code snippet plugins for visual studio? I want a plugin which can use a online snippet site (such as snipplr). It should be easy to both find and upload snippets. ...

on C part of C++ project (VS10)

I have a C++ VS10 project. I want its part to be pure C. So I will have pure C lib and A C++ file that will have part with C code calling that pure Lib. Is it possible? Will I have posebilety to pass data from that C part to C++? ...

Where can I modify detailed C# compiler optimization settings in Visual Studio?

In Visual Studio C/C++ projects, it's easy to modify compiler's optimization settings in "Property Pages | C/C++ | Optimization". For example, we may give different optimization levels such as /O2 and /O3, as well as advanced optimizations like "Omit Frame Pointers". However, I can't simply find corresponding UIs in C# project of Visual...

How to create a graph or a radar in Visual Basic .NET?

I'm developing an application with Visual Basic. NET. How do I create a graph or a radar system that uses data from a DataGridView? ...

Debug released managed code (.net 3.5) using a dump file

Our application started to have some strange performance problems in the production environment. Constant CPU usage, although the app doesn't seem to be doing anything, and high memory usage. We've created a dump file of the process using the Task Manager's feature. Now we're trying to debug it, but it doesn't seem to be that easy :) V...

Visual Studio reference question

Hi all: Why do some version columns in Properties Page -> References show Auto Update and some show specific versions? Thank you. ...

How to change Crystal Reports measurement units in Visual Studio 2008

I've read that units in CR are displayed in TWIPS, but I can't find a way to change that nor in VS nor in CR. I need to set left and top properties of fields in CR in centimeters. Any idea how to do that? tnx! ...

Is it possible to convert a Visual Studio project to a Jamfile?

Hello, I'd like to convert a c++ VS project into a jamfile, so I can compile the code on linux using Bjam. Ideally, it'd be a script I could run, so as I update the VS project I can keep the Jamfiles synchronised. Has anyone tried this? Thanks Si ...