visual-studio-2005

Creating setup project with single output file (Visual Studio 2005)

I'm using visual studio 2005 Setup project to create an installer for my application. The outputs of the setup projects are: - Setup.exe (a bootstrapper which makes installed .Net framework if it doesn't exist) - .Net framework folder (for installation by the .exe above) - .msi installation for my project (called by the setup.exe) My qu...

Signing a VB.NET application

Do I have to sign my VB.NET applications? I'm getting an error: SignTool reported an error 'Keyset does not exist' But have no interest in signing anything as the project is small and will only be used internally to my department. I could create a temporary key. But why would I want to? Thanks. ...

SSIS Deployment Utility - specifying different folders in MSDB

I am deploying my SSIS packages to MSDB by configuring the deployment utility and creating the manifest file in Visual Studio (2005). In the Integration Services, I created a new folder to segregate my packages. Is there a way to specify this folder for my packages when creating the deployment utility? If not, how do I move packages in...

Exclude output referenced (DLLs) of other projects from project (VSS question)

This has to do with source control, I'm using VSS and the Visual Studio 2008 plugin. When the DLL of a referenced project gets included in a project (and checked into VSS), on the next build it will fail because those files aren't checked out as part of the build process and will be read only. I could exclude the entire bin folder and a...

How do I fix my while Error?

I'm writing a program in Microsoft Visual Studio with C++ that will retrieve information from a .txt file. In that file there are negative numbers, but when I try to write a while loop that states what to do if there is a negative number, I get several errors. Can someone please help me with this? Here is my code and I do realize th...

'Start Debugging' takes forever in VisualStudio 2005

I have a large project that has > 1000 files. When I press the green 'Play' button to start debugging, once everything is built, it can take up to 5 minutes for the app to start running. It looks like Visual Studio is loading and unloading various DLLs, but it also just sits there occasionally doing nothing. Running from the command li...

Can the list of C++ files in a Visual Studio project be dynamically filled ?

I have a tool that generates most (but not all) files that need to be compiled in Visual Studio. The tool reads a configuration file and generates c++ files afterwards. This list can differ from one call to another when the configuration is altered. I am wondering whether it would be possible to adapt the compiling process to my needs, ...

Dynamic properties for classes in visual basic

Hi, I am a vb.net newbie, so please bear with me. Is it possible to create properties (or attributes) for a class in visual basic (I am using Visual Basic 2005) ? All web searches for metaprogramming led me nowhere. Here is an example to clarify what I mean. public class GenericProps public sub new() ' ??? end sub p...

Are There Any Plugins to HTML Encode Text in the VS Text Editor?

This may be a simple question since it seems such an obvious tool for any web dev.. I currently use a free web-based thing when I need to encode strings, but I was curious to know if anyone knows of a plugin for VS that will allow you to HTML encode text in the Text Editor? ...

FxCop doesn't resolve external references

Perhaps not a fully fledged programming quiestion, but to help drive the quality and enforce some standards throughout the application I am working on I want to use FxCop. If I try to integrate into into Visual Studio 2005 as an external tool using the command line /c /f:"$(TargetPath)" /r:"C:\Program Files\Microsoft FxCop 1.36\Rules...

Would you like to continue and run the last successful build?

You're in Visual Studio... you press F5 (Run) and are greeted by this dialog: There were build errors. Would you like to continue and run the last successful build? Wonderful. I'm sure there are cases where running the last successful build is useful, however, I have never purposefully answered yes to this question. Oh sure, I've ...

Modify VB property template in VS2008

In VS2008 (VB.NET) when you type Public Property X As SomeType and press enter, VS auto-generates the rest of that property definition for you. I would like to be able to customize what VS generates. Any thoughts on how to go about that? VS must have a template for it somewhere, eh? Thanks. ...

visual studio 2005: skipping builds for unknown reason?

Hello I have a visual studio solution with a number of projects. Configuration manager is carefully configured to build all projects except one ( the one skipped is a test project ). After building solution in command-line i got following: "building XXX Debug|x64" ------ Skipped Build: Project: AAA ------ ------ Skipped Build: Proje...

Debugging a DLL in VS2005 (C++)

I have a dll project in a solution that I want to debug. The calling application is in a different path and the DLL must be placed inside that path. When I build the debug version and copy+paste the produced DLL into the calling application's path, I get an error message that there are no symbols and that the binary wasn't built by the ...

Can you disable the VS feature that keeps separate window positions for Debugging and Editing?

I don't have the need to have my Visual Studio windows in different locations when editing versus debugging. In fact, I'd prefer my windows to stay where I put them, and not jump around as I switch between editing and debugging. Is there a way to tell VS to not keep different window settings for the two modes? I'm currently using VS 20...

How do I merge two different Visual Studio solutions?

I have two Visual Studio 2005 solutions, one of which builds a binary and all of its dependencies, and one of which builds a web app and some utilities and an installer for them. Up until now, we've had the aforementioned binary just included in the installer as a static file; I want to take all of the projects from that binary's solutio...

How do I change the Report Designer Ruler unit from Inches to centimetres?

A simple (I hope) question, I'm using Visual Studio, I create a new report in SQL Server Business Intelligence Development Studio. In layout view the ruler is in inches, I would like to change it to centimetres. Update 1 Changing the regional settings worked. Is it not possible to do this without changing the regional settings? I woul...

How can I create different DLLs in one project?

I have a question I don't know if it can be solved. I have one C# project on Visual Studio 2005 and I want to create different DLL names depending on a preprocessor constant. What I have in this moment is the preprocessor constant, two snk files and two assembly's guid. I also create two configurations (Debug and Debug Preprocessor) and ...

Does Msbuild recognise any build configurations other than DEBUG|RELEASE

I created a configuration named Test via Visual Studio which currently just takes all of DEBUG settings, however I employ compiler conditions to determine some specific actions if the build happens to be TEST|DEBUG|RELEASE. However how can I get my MSBUILD script to detect the TEST configuration?? Currently I build <MSBuild Projec...

Can I use VS2005 to build extensions for a Python system built with VS2003

RDFLib needs C extensions to be compiled to install on ActiveState Python 2.5; as far as I can tell, there's no binary installer anywhere obvious on the web. On attempting to install with python setup.py install, it produces the following message: error: Python was built with Visual Studio 2003; extensions must be built with a compiler...