Whenever I refresh from source control and go back into Visual Studio it gives me a bunch of dialogs about refreshing projects and "file has changed" that I have to click on. Even though some of them have a checkbox like "yes to all" I still have to click on quite a few of them. Is there any way to avoid this annoyance?
...
I have a sqldatasource with a very simple select statement that should always return one row. I have textboxes on a page that i want to fill with that data from the datasource. how could i do this for textboxes? If there is no data in the database then i want the textboxes to remain empty. How can I accomplish this?
<asp:Panel ID = "Pan...
I have a C# console application written in Visual Studio 2008.
Usually I just build the application and then copy the files from the 'Release' folder but this time trying to do it 'properly' by publishing the application.
I went through the 'Publish Wizard' and end up with a 'Setup.exe' file in the specified folder. When running this s...
Is there a way to skip code without having to set a breakpoint after it? I am using the debugging to explore code with a GUI painting event that runs lots of times. I wish to see what comes after the event is done triggering without having to click next a bunch of times.
...
When creating a new database project with the Database Edition of Visual Studio, you can choose to create either a Database Project or a Server Project. What is the difference between the two? The resulting projects seem to be pretty much identical. The server project still seems to target a single database.
(For the record, I'm using V...
I have an C# ASP.NET Web Application Project where all the pages are in the global/default/top-level namespace. (I have no explicit namespace declarations. And when I look at my compiled web application's DLL in Red Gate's .NET Reflector, I can verify that all the classes are in the top-level .NET namespace.) Is there any good, automated...
I run the Visual Studio 2008 profiler on a "RelDebug" build of my app. Optimizations are on, but inlining is only moderate, stack frames are present, and symbols are emitted. In other words, RelDebug is a somewhat optimized build that can be debugged (although the usual Release caveats about inspecting variables applies).
I run both the...
I have a sizeable form that can be toggled between showing the toolbar and not.
To hide the toolbar, I set ControlBox = False, and Text = "".
If I toggle from toolbar visible to toolbar not visible, the form DialogResult is set to cancelled.
Looking at the code at the Form's OnTextChanged method in reflector, I can see that the form's ...
Occasionally (usually after having updated my .sln file in source control) I get a strange Visual Studio error wherein I'm unable to open some of my files. The files in question show up in the appropriate project, but trying to open them results in an error dialog saying "A file of that name is already open."
This is virtually identical...
I am generating VisualStudio C++ project files from a build system.
The compiler options in the XML for the project file are in a different format from the command line options specified for the compiler.
I need to get from command line options for cl.exe to the project file options for the VCCLCompilerTool.
1 - Is anyone aware of an o...
I ran into an interesting issue today. When I open my projects in Visual Studio, all of my object binding data sources are no longer being recognized.
Has anyone ran across this, and how have they handled this in the past? I am running Visual Studio 2008 + SP1.
...
Guys,
I've read all related remote debug entries here and couldn't find an answer to my problem. I've trying to setup remote debugging to test a console app.
Dev Machine - Vista, VS 2008
Remote Machine - Win 2008
I've followed the steps in this article to configure it and I'm stuck with the following error when I try to list processes...
I would like to be able to skip over certain parts of my code when I set breakpoints. For example, I have a code block which iterates 52 times to create a deck of cards. This is working properly and I would rather not have to hit F11 to keep stepping through that block. Is there anyway for me to "skip" this so that the debugger just g...
Is there a way to translate a character to its corresponding hardware scan code (not the virtual key code)? I need that to communicate with ancient hardware device.
...
I've just installed Resharper to do an evaluation on it. I have a solution with 28 projects in it and it seems to help with the coding and has pointed out several potential issues. However...
I've created several webservices (with in this solution) using the standard Visual Studio projects. I reference these webservices in other web pro...
I have builded a solution in VS2003. Now i want to migrate to VS2003. I know that when I open the VS2003 solution in VS2005 the IDE will convert the solution to VS2005.
But I am getting the following error window when I click on convert in the conversion wizard:
e:\Test.vcproj can not be opened because it's project type(vc.proj) is not...
I am curious about the strategies adopted by the two leading vendors on MVC.
Whereas microsoft has currently unvieled MVC 2 and Oracle seems to have Oracle ADF which is based on Java and JSF but provides darg and drop functionality .
Does this mean in the MVC race because of Oracle ADF drag and drop they are ahead of microsoft in this ?...
Hi! I'm an asp.net newbie. I have inherited a base of asp.net mvc code and in order to help myself orient better in the heaping pile of source in front of me I'd like to step through it in a debugger. However, being the microsoft platform newbie I am, I don't know how to go about this.
Our application serves content under many different...
I have a control, control1, with the attributes such as DefaultValue, Category and Browsable set.
I have a user control that includes control1 and exposes some of the properties.
Is the correct way to refer to the attributes in control1, without duplicating them all, to use the AttributeProviderAttribute?
<AttributeProvider("AssemblyQu...
We have a Library Project that we use for all our central reused code called "CentralLibs.dll"
This library gets GAC'd on all our servers during deployment so to make things handier for the DEVs when they're working locally, theres a post-build event that auto updates their local GAC with the new DLL post build.
cd $(ProjectDir)\bin\De...