visual-studio

Integrating a Custom Compiler with the Visual Studio IDE

Background: I want to create a custom VB compiler, extending the "original" compiler, to handle my custom compile-time attributes. Question: after I've created my custom compiler and I've got an executable file capable of compiling VB code via the standard command-line interface, how do I integrate this compiler with the Visual Studio I...

Visual Studio TeamExplorer disable project check-in

I need to disable check-in operation for several projects in my solution. I need it to ensure myself from uploading changes to projects which I don't want to change. Is it possible with Team Explorer? ...

No middle-click scrolling in visual studio 2010?

Just as I started to assume this feature was ubiquitous(middle-clicking on a page, then scrolling speed/direction is relative to the distance of the pointer on the y-axis). I can't believe this hasn't been implemented into the text editor in vs2010, I used it all the time in 2005 and 2008. Has anyone managed to find a workaround or am ...

what knid of usage " [MenuAction("apply", "global-menus/MenuTools/MenuToolsMyTools/Tool1", "Apply")]"?

MenuAction,ButtonAction,... etc why i need this type usage. i really what it is [ButtonAction("apply", "global-toolbars/ToolbarMyTools/Tool1", "Apply")]. Can you give me some tips or advise or site link. i don't really know [Myclass]. is it AOP? [MenuAction("apply", "global-menus/MenuTools/MenuToolsMyTools/Tool1", "Apply")] // ...

Differences between Visual Studio 2010 RC and RTM

I have been using the RC version of VS2010 for a while now. I wanted to know if anyone has a summary of what changed between the RC version and RTM? I just loaded the RTM and noticed some small things different. I searched around but can't find anything around about it. If there is nothing out there that lists these differences, can w...

log4net dependency problem

I have an issue with log4net which has been bugging me for a while and I've resolved to sort it. I have a class library which references log4net. If I reference this class library in another project I must then reference log4net in this project otherwise I get a build error Unknown build error, 'Cannot resolve dependency to assembly 'l...

Whitelisting MSBuild SafeImports (Project Files that have MSBuild customisations that are trusted)

Visual Studio 2008 devenv keeps a list of projects for which one has answered Load project normally in the Security Warning for ProjectName ... The ProjectName project file has been customised and could present a security risk by executing custom build steps... dialog in the registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft...

Debugging/Running executables in cmake/Visual Studio project

We are moving from hand-managed Visual Studio projects to cross platform cmake. We used to open a solutions file, select a project as "Startup Target" and push Ctrl+F5 or F5 debug or run. Now cmake has this install concept. It requires me to run the install target. But the install project doesn't have any executables set so it can not ...

Dynamic linking in Visual Studio

I have to link dynamically with OpenSSL libeay32.dll. I'm writing native c++ console application using Visual C++ Express 2008. I'm including a header evp.h from OpenSSL distribution. Building and...: error LNK2001: unresolved external symbol _EVP_aes_256_cbc error LNK2001: unresolved external symbol _EVP_DecryptInit error LNK2001: un...

Visual Studio: What happened to the "Break when an exception is unhandled" option?

Hi, As far as I remember, Visual Studio (both 2008 and 2010) used to have an option to break either on thrown exceptions or on unhandled exceptions. Now when I bring up the Exceptions dialog (Ctr+Alt+E), it just offers to break when an exception is thrown: http://screencast.com/t/NDk3NDYxZD I've tried resizing to the columns in that d...

Publishing From Visual Studio Express

I am an amateur programmer. When I publish an app from Visual Studio Express, I have no option to make the package install for "All users of this computer". Is this possible to do from Visual Studio Express? If so then where is the option? If not, do I need to use the full version of VS or do I need some other package authoring softw...

How to make a Generator for Stored procedure ?

i try to write a generator or i want to write all stored procedures(SP) in C# side. how can i do that? 1) writing a sp generator OR 2) Coding all sps via C# OR 3) Writing All data process (SP) via Linq which one is best or your advise? ...

Visual Studio : Make files in a folder got to bin/debug and not bin/debug/folder

Consider This: I have folder called \SQLCE35Dlls inside my solution. It has some dlls that are required for application to interact with a SQLCE database in a stand alone fashion [without sql server ce 35 install on the PC]. After a build, I want these files to go to bin/debug and not to bin/debug/SQLCE35Dlls/. Setting "Copy if Newer" ...

Visual Studio - UserName/Password management for deployment/source control / source code sharing

I'd like a streamlined methodology behind being able to run locally (work is done on more than one machine), deploy, and commit to version control where the sensitive information up to and including (password, username, port(s), hostnames, database name) are automatically absent(or removed) and imported based on which situation is happen...

Connect Visual Studio 2010 Professional to TFS

Is it possible to connect Visual Studio 2010 Professional edition to TFS (project hosted on Codeplex)? This states, it is not included in Professional edition: http://www.microsoft.com/visualstudio/en-us/products However, for VS 2008, there was separate download of Team Explorer and it was posible also for Professional version. Is thi...

Remote debugging in Windows Embedded

Hi, I'm moving from Windows CE 6 to Windows Embedded Standard 7 for a project and am wondering how remote debugging of .Net apps works with Windows Embedded target devices. In CE with VS2008 and ActiveSync (USB), I can hit F5 and my app is automatically deployed to the target device and executed so I can step through my breakpoints jus...

How can I generate a list of symbols used by a build product from a particular statically linked library?

Say I have a visual studio project that builds a windows exe or dll from c++ source. The project statically links to several library (.lib) files. I would like to generate the subset of the available functionality in a particular .lib that the project actually links to. A very crude way to achieve this would be to remove the .lib from...

How repair/uninstall Visual Web Developer 2010 Beta 2?

I cannot uninstall Visual Web Developer 2010 Beta 2. When I was trying to uninstall the first time, the power went off to my machine and screwed up the Beta 2 installation. I cannot find a Visual Web Developer 2010 Beta 2 download on the Microsoft website any longer to repair the Beta 2 installation. How can I get VWD 2010 Beta 2 off of ...

Gallio test runner plugin to Visual Studio 2008 and 2010 for MBUnit tests

If I install Gallio 3.x will I should have test runner plugin for Visual Studio? Cause now I only use Gallio Icarus, but better is to have integration plugin... :( or I must use TestDriven.NET or Visual Nunit ?? ...

Can I use Visual Studio's testing facilities in native code?

Is it possible to use Visual Studio's testing system with native code? I have no objection to recompiling the code itself under C++/CLI if it's possible the code can be recompiled without changes -- but the production code shipped has to be native code. The Premium Edition comes with code coverage support which I might be able to get ch...