visual-studio

How to display selected file name in VisualC

Hi, I created a small MFC application which has a brose button and then a dialog box. on the button event, I am able to successfully open the select file option, but when I select the file, it doesn't get displayed in the Dialog box. How can I do that? Please help... ...

way to excluding static folders like Images in publish website feature in Visual Studio 2010

Hi In my website when deploying production most of the time I only need to deploy bin folder and just marker files if new pages added.Since my website contains gigabytes of images folder and static stuff not updates frequently, it takes ages to complete a one publish cycle in visual studio website publish feature is there workaround to...

Command copy exited with code 4 when building - Visual Studio restart solves it

Every now and then when I build my solution here (with 7 projects in it) I get the dreaded 'Command copy exited with code 4' error, in Visual Studio 2010 Premium ed. This is because of the post-build event not being able to go through. Here's what solves the problem, temporarily Sometimes: A restart of Visual Studio and I'm able to b...

Visual Studio 2008 always build to C:\Users\bin\Debug\MyLibrary.dll

Although I have set the output build path to: ..\..\..\..\..\..\bin\Debug\ All other projects accept the relative path above. Why not that newly added project? When I choose the FolderDialog to set the output path, press ok then I see the absolute path in the output path textbox. Now I copy paste my relative path into the output path t...

Problem with Setup Project in Visual Studio 2010

I'm trying to create a Setup for my app using the Setup Project wizard in Visual Studio 2010. One of the files I added to the Setup Project is a database (.sdf) file that gets installed in the same folder as the main executable file. The problem is that when I try to run the app after I install it, I get an "Access to the database file i...

Permission error when minifying JS/CSS from MSBuild output

I’m adding a post build task to run the Ajax Minifier (ajaxMin.exe) whenever a relase build of a project is conducted. I’ve added the code to the project to compress all CSS and JavaScript, but when triggering a build on the TFS build server I get lots of build errors in the BuildLog.txt with the message: error : The Microsoft Ajax M...

where is the visual studio user guide

Does Visual Studio have a user guide, or any such document that provides the complete list of functionality of the application. Just to be clear, any document that details all of the functionality, eg like Resharpers online help at http://www.jetbrains.com/resharper/webhelp/ I have googled the above with not much success. (i have also ...

Are there any better ways to copy a native dll to the bin folder?

I have C# wrapper code that calls functions from a native (C++) dll. Currently, I can add a reference to the C# dll and have set the 'Copy Local' option to true. However the native dll, which is a dependency, cannot be added as a reference - so there is no 'Copy Local' option. I have tried the following approaches Using a post-build ...

Project management with Visual Studio, without TFS?

Can I have some basic project management in Visual Studion without TFS or is TFS what I need? Basically I like to get a list with my projects, last edited dates, and if possible project tags (customer for example), and when selecting one VS should load it. From the right repository (Mercurial/Git/Svn). I can move my project to some repo...

How can i show method body to A Sandcastle Documented Class Library

Hi there I've made class diagrams for my projects in Visual Studio 2008 and I embed these diagrams with using Sandcastle. Example: *A Sandcastle Documented Class Library Biol..::..f_BiolabTestSayisi Method Biol Class See Also Send Feedback Biol hastalarının sayısını veren fonksiyon Namespace: TR.Biol Assembly: TR (in TR.dll) Versi...

Debugging multiple related dll's each in separate projects.

I have to debug multiple dlls each within their own project. There is a parent executable that loads a dll, which serves as a container for the other dlls. My question is how can I debug the whole 'component' ie: all the dll's involved, using Visual Studio 2005 for C++. ...

Adding C# preprocesor's directive in command-line building

For C++ projects I can do this: SET CL=/DMYDIRECTIVE devenv.exe MySolution.sln /rebuild What is the C# version (visual studio 2008) of this trick? ...

Is it possible to close the left bottom panel through keyboard shortcut in Visual Studio IDE?

Many times I want to close the left bottom panel which includes build information, etc. by keyboard shortcut in Visual Studio IDE, is it possible? Or can I customize Visual Studio to support this? ...

The images in the gridview will not rendered

hello guys, i have a problem and hope that somebody can help me. i am developing in vb.net. i have a gridview with a template field, in which i have a asp:image tag. But the browser dont show any image. i does not render the image. if i check the sourccode in the browser there is no image tag. But the visual web developer show the imag...

Visual Studio changing my target runtime ?

Hi All, A colleague of mine has a little problem with his dev env (Win 7 + VS 2010): We have a class librairy project which reference .net 2.0, if we build it with "Debug" and open it with Reflector, we can see "Target Runtime : 2.0..." if we build it with "Release" configuration, we can see "Target Runtime : v4.0" (and if we use it i...

Does the singularly LinkedList give output In LIFO?

I was working on a singularly-linked list. While creating my own linked list I got confused on printing the collection of nodes in my custom linked list. I want to know, does a singularly-linked list display its collection in a LIFO manner like a stack? below is my Own LinkedList AND node is A Class can anyone tell me Does Singular Lin...

For...Next loop only works on initial step

VB beginner here. My For... Next Loop will not work and I cannot for the life of me figure out why. I have tried to display the results in a label and a text box with multiline enabled. Doesn't seem to matter. It's probably something obvious I have been overlooking for 2 hours. Thanks in advance for any help. Option Explicit On Opt...

visual studio 2010 from 2005?

What happens if I compile and deploy solutions written in vs 2005 using 2010? Must the web server have 3.5 and 4.0 installed? Will my web.configs change? I'm talking mostly about standalone DLLs used in SharePoint and Web application solutions that use .net 2.0. Can I have vs2010 and vs2005 on the same development client? Is there...

Visual studio one project with several dlls as output?

I'm programming a project with plugin support. Since many of the plugins are relatively small (only one source-file/class) I would like to have them all in one project in visual studio, but to successfully do this I would need each source-file/class to be compiled into its own dll file, is this possible using visual studio? If this is ...

VSWindowManager replacement - need to switch VS2010 windows to/from dual monitor config

Hi, I am trying to find a solution that would let me switch between single and multi-monitor configurations in Visual Studio 2010. I see the VSWindowManager has not been updated - is there any other solution? ...