visual-studio

how to maintain bookmark in visual studio project for developer and team separately ?

where is the the bookmark detials stored in visual studion project ? project file : *.csproj solution file: *.sln I am wondering if its possible to maintain bookmarks seprately for team and per/developer. By default. When I checkin the project in source control ( perforce ) I do not want all my bookmarks to sync in for other develope...

Silverlight 2 Debugging Exceptions

When I get an exception in code called by Silverlight whilst in debug mode I cannot F5 or F10 past the expection. It's like VS (2008) gets stuck on the exception and can't get past it. I have to close the application and restart. I am using Vs2008 Team Edition for Software Developers. Anyone else experienced this? Know any workarounds ...

How does VS compile console applications to show "Press any key to continue"?

Hi, When I develop a C# console application (which will run on a server) and I run it using Visual Studio, I get a "Press any key to continue" message before the program terminates. However, when I compile the very same C# code file manually using CSC, my program doesn't show that message and it terminates immediately after finishing i...

What are the best practices/tools for a team of 7 developers working in Visual Studio Proffessional ?

What are you guys using, what has worked for you? I'm talking about, version control, testing, automated build, code coverage, basically all things ALM. The cheaper the tools, the better. We are not looking for VSTS. For profit, commercial application and custom software development in C#. Programming is primary skill. ...

how to install dotnet framework+Windows installer 3.0 using VS2005 setup project?

i have included DotnetFramework, Windows installer in VS Setup Project through Setup Project ->properties but while run setup.msi it ask me to download dotnet framework from online i would like to eliminate the process, it should be run from local folder ...

Is there a simpler Windows C++ Subversion API or an example .vcproj for minimal_client.c?

Following on the tails of my previous (answered) question... SharpSvn makes calling the Subversion client API simple: SvnClient client = new SvnClient(); client.Authentication.DefaultCredentials = new NetworkCredential(username, password); client.CheckOut(new Uri("http://xxx.yyy.zzz.aaa/svn/repository"), workingCopyDir); On the other...

Is there a way to dynamically create a type's property names while maintaining design-time intellisense?

The simplest example would be the built in class keyValuePair(of T,U). I would like to be able to name the key property and value property differently depending on the usage and the designtime intellisense show me those names instead of key and value. Could this be done with reflection.Emit? Can it be done another way? This seems like a...

Call a function if its DLL is available?

I want to call managed code if and only if the currently executing assembly references it and has a match for that function name. I have a function Public Function TestReadableProperties() As String ' Not sure where to go with this line ' Dim names = Reflection.Assembly.GetExecutingAssembly.GetReferencedAssemblies() Ret...

How to create a new stored procedure template for Visual Studio?

I would like to create a template for new stored procedures for our development team. However, I can't seem to create template items for Database objects. I know for DLL/C#-related items, it's as simple as "File > Export Template ..." How can I add new SQL templates to my Database project? Here's my template: IF EXISTS (select 1 fro...

How do I enable file editing in Visual Studio's debug mode?

Is there a way to enable file editing while debugging in Visual Studio? I have unchecked the "Require the source file to exactly match the original version" checkbox. It makes no difference. I have to stop debugging to edit files. Very annoying. I enabled Edit and Continue. Same result. I disabled Edit and Continue - Same result. ...

How to disable Region collapsing or expand ALL regions in Visual Studio VB.NET?

In Visual Studio C# (2008) ctl-M-L expand all the regions. There's also a setting in Text Editor->C# ->Advanced to not collapse during file open. I see no equivalents in VB.NET. Is there a way to expand all the regions, not just the one which has focus in VB.NET. Or a macro or add-in that does it? I just hate not being able to see all ...

sqlmetal.exe not found

Whenever i try to run sqlmetal, i get this: 'sqlmetal' is not recognized as an internal or external command, operable program or batch file this is from both CMD and the Visual Studio Command Prompt I've used sql metal many times on other machines, however it doesn't seem to work on this machine... Am i missing something? ...

I want to collate ID of Login ID and Pass with a table with Visual Web Developer 2008

I'm very beginner for developping. environment is .. Windows XP Professional SP3 Microsoft Visual Web Developer 2008 Express Edition Microsoft SQL Server 2008 [table_name:LOGIN] login_id ->  char(5) login_name ->nchar(20) password  -> char(10) My Question is following. How to develop login program ? with the table I want to ...

creating a DLL in Visual Studio 2005

Hi, I am developing a C++ library that I want to pass on to my team. The library has just one class with a bunch of methods. So, I have developed the class definition file (X.cpp) and a corresponding class declaration file (X.h). Here are my questions -- In Visual Studio 2005, whats is the most straight forward way to build this l...

Is there a better way to pass command line arguments to my programs in VC++?

I'm writing a program in C++ and it takes some command line arguments. The only way I know to pass command line arguments in VSC++ is to open up the properties and navigate to the command line argument field and enter them in, then run it. That's not exactly streamlined if I want to pass in different arguments each time I run it. The ot...

Build problem for v.s 2008 project

I'm using v.s 2008 with c#. I have a windows service. I stoped that service and do some changes in the codes. I want to build my project but the visual studio open "save as" window. How can i build my project again? ...

How to choose .NET version to compile project?

I have VS2005. How can I compile my project under specific version of .NET? I have installed 1.0, 2.0, 3.0 & 3.5. Tnx in advance. ...

Expression blend does not set width and height on elements

I am working with Blend and Visual Studio to create Surface content. Pretty much every item I place and customize in Blend will look different at runtime or when looked at in Visual Studio. The cause of this seems to be because width/height is not always set in the XAML-file - only margins. If the size of the workspace is different thi...

Release build time takes so long in VS2008

Hi, When i build the project, build time get so much time if it is release. in release, linking time is : 130secs in debug, linking time is : 15secs for the same project. there is no difference in compiling, but linking there is a huge difference. do you know why it could be? ...

Include folder in setup project

I want to include a folder in a setup project so when i deploy that setup the complete folder is also deployed to the install location ...