visual-studio

Why does "Copy if newer" not copy a file when the file is updated?

I have a solution in Visual Studio Express that looks like this: The LogicSchema class in C# that will parse a specified XML file at run-time. The following is in the main method of Program.cs: LogicSchema ls = new LogicSchema( XDocument.Load( "schemas\\C#Schema.xml", LoadOptions.PreserveWhitespace)); I created ...

How can I lift the requirement to uninstall before installation of a .NET application built with Visual Studio?

Is it possible to build an installer in Visual Studio that will not require the application to be uninstalled prior to installation? (Assuming the application was already installed.) I use a Setup project in Visual Studio to create an installer for my Windows Forms (.NET) application. If the application has already been installed then t...

What to not include in Git repository?

Possible Duplicate: Which files in a Visual C# Studio project dont need to be versioned? when creating a repository, what do you include in the repository, should folders like Resharper, Debug and Bin folder be included? if not, is it possible to exclude files/folders from the unstaged changes check? ...

File format or parsing guidence for Visual Studio SUO files.

Where can I find a file format spec, or guidence for parsing, .suo files? I'd like to extract breakpoint information from them. The MSDN topic Solution User Options (.Suo) File briefly describes how storage streams are read from and written to this structure storage file, but this information is very scant, especially for someone of ...

I need to know how to create a custom webform template in ASP.NET that allows me to pick a master page

Using Visual Studio 2008, I need to create a custom web form that when picked acts like the web content form, by providing a dialog that lets you pick a master page. I have looked through the webform.zip template and thought I had a clue, but trying different combinations has baffled me as it either doesn't appear or doesn't work. Also ...

Visual Studio load design form

Does anyone came across a problem when you have a Class that inherits from Forms and then have all the forms inherit from Class, and then tried to load the form in design mode in visual studio? Does it loads correctly, because on mine it shows "Illegal characters in path.". I ran the visual studio in debug mode and found that it is try t...

Warning - Targets a different processor than the application

My .NET 3.5 WPF application has started showing a bunch (14) of the the following warning (with different dlls): Referenced assembly 'C:\WINDOWS\assembly\GAC_32\Microsoft.TeamFoundation \9.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.dll' targets a different processor than the application. I am running on a 32 bit machine. The ...

How to store the Visual C++ debug settings?

The debug settings are stored in a .user file which should not be added to source control. However this file does contain useful information. Now I need to set each time I trying to build a fresh checkout. Is there some workaround to make this less cumbersome? Edit: It contains the debug launch parameters. This is often not really a pe...

Help me with Weifen Luo library ...

I want to make only two panels like solution explorer and toolbox (visual studio) in my application. The problem is that i don't understand how it works in weifen library. Can you give me a step-by-step explaination how can I make two dockable panels, please ? ...

Shelving vs Workspaces in TFS

Currently I am working on a project that uses TFS as source control. I am in the middle of implementing a piece of functionality, but am blocked by work that needs to be done by outside resources. Since the functionality is not fully complete, I can't check in the changes without breaking the build. So instead of waiting a couple days...

.NET Framework & Visual Studio install order

Hi Folks, does it matter if we install .net framework & then visual studio or does visual studio comes with the framework ? I know it's a basic question but i never thought of this honestly. TIA ...

Protection of code from its own developers

Perhaps the most obvious way of protecting a company's intellectual property from its own developers seems to be an NDA - Non Disclosure Agreement. Effectiveness of this approach may vary, depending on many factors, and sometimes or somewhere it may not work as expected. What other approaches, apart from this purely legal one, exist for...

ASP.Net MVC 1.0 in Visual Studio 2010

Is Visual Studio 2010 compatible with MVC 1.0 Hello guys, Thanks for reading in advance. I'm working with a MVC 1.0 project and VS2008. I will be very glad to upgrade to VS2010, but I'm doubting about its compatibility with MVC 1.0. Have you done it? How did it result? ...

How do I serialize a .NET control to CODE?

I want to create a .NET Form at runtime, add buttons and other controls to that (also at runtime), and then be able to generate a something.designer.cs file from that form (which can then be added to a C# solution and compiled). What I want to do is very similar to what the WinForm designer does. But instead of having a drag/drop inter...

Exporting multiple page headers in crystal reports (in visual studio) to Excel

I'm having a heck of a time trying to manipulate my reports so that when i do a data-only excel dump, excel can recognize page headers. I was wondering two things. 1.) Is there any way to change excel export options in Visual Studio? I know you can do this with Crystal Reports standalone...but unfortunately my project requires the us...

Visual Studio 2010 Release Canidate Model Project

I just moved from Visual Studio 2010 beta 2 to Visual Studio 2010 Release Candidate RC. My beta 2 solution included a modeling project. Visual Studio 2010 Release Candidate would not open the modeling project created in beta 2. I created a new modeling project in VS2010 RC and added the activity diagrams, class diagrams, and sequence ...

learning Windows Development from a Linux background

No I didn't reverse my operating systems in that question! My background has been exclusively Linux/OSX to date, and I honestly don't know a thing about Windows development. Visusal *, *.NET, Powershell, WinForms, Win32, not a clue. They're just words to me. This is starting to be a problem because I've been tasked to port Linux/OSX soft...

Visual Studio not colour coding .cs text correctly

Hi Everyone, this may be a little difficult to explain, but I'll try. I'm creating a DotNetNuke module in C#. The text in the .cs files are not colour coded for some reason. Comments are black, key words are black, all text is black. As if Visual Studio is just reading the file as plain text. Now when I create a VB module, everythin...

Buildspace/tf.exe helped needed

We're currently using Visual Basic 2010 and TFS 2008. I created a buildspace, but can't get the build to map to it: ALICE_3_;SuperUser (What I want) ALICE_3_;Intern (What I have) Is it possible to change users or even 'SourcesDirectory'? Or do I need to log into the SuperUser account? Thanks ...

Way to take screenshot of a pane in visual studio

Hi, In our project, before we do a check in to VSS, we need to take screen-shot of the check-in file list and store in a folder with date and time. Is there anyway to take screen-shot of the whole page inside visual studio? Thanks, Mahesh ...