visual-studio

Visual Studio 2010 Static Code Analysis in 2008 Projects

If VS2010 is installed alongside VS2008, is there a way to incorporate VS2010 static code analysis within projects being developed in VS2008? We would like to use the additional code analysis rules that ship with VS2010. I'm on a project where we have a primary solution developed with VS2010 and a satellite .NET Compact Framework soluti...

How do you bulk import from a file during a Visual Studio database project deployment?

I’ve got a database project in Visual Studio that uses bulk import during its post-deployment tasks. This works perfectly if I give the full path to the file; aka “c:...”. I would like to convert this to use build variables so that I don’t need to give it the full absolute path to the files. Something closer to $(SolutionDir)$(OutDir)\f...

How can I add a button to the stage in flex using only as3?

I am using the Flex SDK within visual studio and trying to dynamically add a button to the stage. Here is a quick example of what I am doing. public class Test extends Sprite { public function Test() { init(); } private function init():void { var btnBrowse:Button...

Can Visual Studio's C# intellisense be given a hint to display a certain method overload first?

Hi everyone, I have two methods that are overloads of each other public class Car { public int GetPrice(string vinNumber) { string make = Database.GetMake(vinNumber); // expensive operation string model = Database.GetModel(vinNumber); // expensive operation int year = Database.GetYear(vinNumber); // expensiv...

How to run an ASP.NET Application on Another System?

I have developed an ASP.NET web application in visual studio 2008. I want to run the same application on another system, but Visual Studio is not installed on that system. Is there a way I can run without visual studio? I heard about deploying, but I don't know much about it. ...

Uninstall ReSharper 4.5

I have ReSahrper 4.5 in Visual Studio 2008. Now I want to install ReSharper 5, but I can't do it before I uninstall ReSharper 4.5. How can I uninstall ReSharper 4.5? ...

How to find project appartenance of a given file (Visual C++)

I am messing with a very big solution in Visual C++ 2008 (150+ projects), and by browsing the code with the useful "Go to Definition/Declaration" feature, I end up in C files, but I don't know in which project they belong ... So here's my question : Is there a way to know the projects referencing a given file in a visual C++ solution ? ...

VisualStudio C++ how to make debuginfo reliable in releasemode

Hi! I've got a little problem. my application runs without problems in Debug mode, but crashes in release mode. I can't track down the problem, because in release mode all the Debuginfo appears to be nonsense. However - sometimes in other projects the Debug output is also valid in release mode. What projectsettings do I have to change s...

Could not load file or assembly 'skmMenu' or one of its dependencies. The system cannot find the file specified.

I'm getting this error when trying to load a .NET app in visual studio... for some reason visual studio is having difficulty loading skmmenu which is a user control. Is this not part of visual studio? please help! Could not load file or assembly 'skmMenu' or one of its dependencies. The system cannot find the file specified. <%@ Regi...

Why is "Evaluation of lambda expressions is not valid in the debugger"?

I have a seemingly innocent code snippet, which I typed into Visual Studio 2008 Immediate Window. ? results.Join(lstDocs, Function(docID) docID) Evaluation of lambda expressions is not valid in the debugger. As the message says, it's not possible to call a lambda expression in the debugger. Why is it not allowed? ...

TFS File Changed Notification

We have a number of files in our project and if they change they require changes to the Installers. Developers don't seem to be aware of the knock-ons of not notifying guy that looks after the installers of a change no matter how many emails are sent about it. We need some way of being notified if any of these files change. I know T...

Additional Queries in a Crystal Report

I have a crystal report that gets its data from one stored procedure, this works fine and I have a nice grouped report with this data, showing information about a particular report, However, this report also needs to have a number of graphs in the footer. These graphs draw their data from a different table, and so a different stored pro...

Any issues with JDK and Visual Studio on the same machine?

Is it ok to install the latest JDK to run IntelliJ-IDEA as well as have VS 2008 on the same machine? ...

Ajax Minifier Visual Studio include all javascript files

I am using the Ajax Minifier http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=766 and have embedded it in the csproj file for use in Visual Studio 2008 (not the free version). I have two folders, Content and Scripts, directly under the root of the project. Also, the Content folder has subfolders, and would like to include all ...

Is there a way for me to show DataSet visualizer in application?

I notice when I'm debugging in Visual Studio 2005+ - if I hover a DataSet, DataTable or XML object there is an option for a visualizer. In this case I have a DataSet, so I get the DataSet visualizer which gives me a window with ComboBox to choose which DataTable to view and automatically displays all the contents. Is there a way for me ...

File-specific compilation options in Visual Studio 2008

If I had a project structured like this... a.cpp b.cpp c.cpp ...and I wanted to compile a.cpp and b.cpp with one set of compiler options, and c.cpp with another set, how would I do that? ...

Can I use precompile symbol to determine which code fragment would be compiled when I switching target framework in Visual Studio.

We can switch to different .NET Framework target in Visual Studio after 2008. I have a project, and I want to build 2 different target Frameworks assembly of it. If my target Framework is 2.0, I want it to build some code, and when I switch to another target Framework, I want it to build another code fragment to use some new functions. ...

Visual Studio debug menu invisible

I feel a little stupid asking this, but the "Debug"-menu in my Visual Studio installation has disappeared. It supposed to be between the "Build" and "Tools" menu, but it is simply not there. Restarting VS doesn't help. Also tried looking for a way to customize the menus, but no success. Any ideas where it went, and how I can get it back...

Intellisense support in Visual Studio 2008/2010 for jQuery closures {

I'm trying to get Intellisense to correctly work for closure. As a plugin author, I always use a closure to create an isolated environment for my plugin code: (function($) { // code here })(jQuery); But the problem here is that Intellisense doesn't pick up that jQuery is being passed in the execution of the function. Adding $ = jQue...

Better obfuscating in Visual Studio for solutions with many projects?

I have a solution with many projects, which leads to many dll files. My question is, is this an obstacle when obfuscating and should I optimize this in some way? Or it is just a matter of public/private fields/methods? ...