visual-studio

VS Solution and Mercurial repository layout for a c# project with plugins and external libraries.

I'm developing a project in .NET (using C# to be more specific). Using Visual Studio as an IDE. Using Mercurial for version control. I'll be using some third-party libraries: ThirdParty.Foo.dll ThirdParty.Bar.dll ThirdParty.Baz.dll And some in-house libraries: Company.A Company.B Company.C Company.D (References t...

What is "UseRANU" parameter in Visual Studio

I have created a package in VS2010 RC using the MPF (Managed Package Framework) and I get the following error. Can somebody help me out with this ?? The "UseRANU" parameter is not supported by the "VsTemplatePaths" task. Verify the parameter exists on the task, and it is a settable public instance property. The "VsTemplatePaths" task co...

Unable to launch the asp.net development server because port '80' is in use

I need to use port 80 for my development server. Before i restart pc, it's still working fine. After that, it pop up the port 80 is in use. The development server able to run if i changed to other port. I've checked using netstat -ano, no program is using it (my iis is using other port and my skype is not using port 80 as well). I also ...

How do I create queries to SQL Server tables via Visual Studio when no knowledge about SQL nor Linq?

Let´s be frank, my knowledge regarding SQL language is very low. Nevertheless, my boss gave me the task to build a database application using the following tools: SQL Server and Visual Studio 2008; C#. I use the VS DataSet as a local mirror of the SQL Server. And let´s be frank again, my understanding of the VS Query builder is also ve...

Visual Studio internal project references not always working

I am using Visual Studio and a solution with 10 or so projects in (mostly VB, some C#) which have various dependencies set up. Usually when I compile the solution it works fine. Occasionally when I do it I get a build error saying that one of the projects referenced is the wrong version (I think always the same one, possibly may be two t...

How to increase error limit in Visual Studio?

When building an app. VS will complain of exceeded error count: fatal error C1003: error count exceeds 100; stopping compilation Is there a way to increase the limit? Thanks in advance, - Oleksii Skidan ...

Reboot system from Setup project

Hi, I am creating a setup project using Visual Studio. I want to reboot the system after the installation completed successfully. I want it one time effort. I do not want to modify the setup each time using any external tool/ utility before delivering it to client. Can I tweak the setup project itself? How Can I do that? ...

What's the "Find Result" Control Visual Studio Integrated?

Hi, I am developing a simple Windows Application in C# and Visual Studio 2005. I need a search result control - just like visual studio integrated by itself. After I double click each line to trigger the individual event. I tried multi-line textBox Control, but whole the box can only support one click event. thank you. ...

Which is better? Qt Creator or Visual Studio IDE

I am currently using Qt Creator 1.3 for my Qt applications. I know it uses jom for make step which is better when we have multi core processors. But besides that what are all the advantages of using both the IDEs? Dis advantages as well? I am using CL compiler though for compiling my applications. Is there any other specific advantages ...

How to make Cutsomized Setup and Deployment

I'm currently developing a window application in VS2005,i need to make a setup of the product..and i had used setup and deployment project in VS2005 and created the setup but in the setup process... dialogs cannot be modified.. according to my needs...(ie it will be the same for all products installation only can change the heading , pro...

CodeRush not working ?

I was using Resharper and I wanted to try CodeRush so I suspended Resharper and installed CodeRush Xpress. When I installed CodeRush version 2010.1.4 (from this downlad page) the shortcuts did not work. I tried F2 and other shortcuts that schold work but they did not. However I was able to invoke some CodeRush functions by clicking rig...

Do you recommend Enabling Code Analysis for C/C++ on Build?

I'm using Visual Studio 2010, and in my C++/CLI project there are two Code Analysis settings: Enable Code Analysis on Build Enable Code Analysis for C/C++ on Build My question is about the second setting. I've enabled it and it takes a long time to run and it doesn't find much. Do you recommend enabling this feature? Why? ...

Is it possible to write complex web applications (like StackOverflow) in VS Express? What is the first feature you miss in the express edition?

Many applications (like StackOverflow) has been written by three developers (a small team), would have been possible to do the same job using VS Express Edition? Which would have been the real differences? Whcih main feature is "enough" to justify the use of VS full edition? i ask this question not for curiosity but because I want to u...

Working with Checkbox column in DataGrid in Winforms project

I have a checkbox column, and it is working just as intended. How do I "get" the selected rows ? I'd like to get the ones that are checked and run a method using another field of the same row. ...

Smart Paster Add-In for Visual Studio 2010

Does anyone know of any free add-in similar to Smart Paster, but for Visual Studio 2010? Unfortunately, Smart Paster only works for VS2005 and VS2008. For the ones that don't know what I'm talking about, check it out. ...

Automatic adition of `using` in CodeRush.

I just installed CodeRush Pro (evaluation trial) for Visual Studio and I can say I like it much so far. Comparing to Resharper there is only one type of feature I'm really missing. It is the way CodeRush deals with using. When I type some class name that is not declared in some package listed in using, CodeRush underlines it red as an er...

problem with windows forms application settings

I have used Visual Studio to generate a class for application settings in a windows forms application. The application settings aren't populated with values when debugging. Why are there no values? Here is the generated code: //------------------------------------------------------------------------------ // <auto-generated> // Thi...

Debugging XSLT with extension objects in Visual Studio 2010

I'm currently working on a project that involves a lot of XSLT transformations and I really need a debugger (I have XSLTs that are 1000+ lines long and I didn't write them :-). The project is written in C# and makes use of extension objects: xslArg.AddExtensionObject("urn:<obj>", new <Obj>()); From my knowledge, in this situation Vis...

How to restart the IIS Site when re-compiling an asp.net website

What is the best way to add into the build/compile script of an Asp.net project to initiate a IIS to restart the website on DLL rebuild instead of the first request to the site. Current Process Compile Project Wait Hit APSX Page IIS starts reload Wait Page loads Ideal process: Compile Project & Reload IIS Wait Hit APSX Page Pag...

XmlDataDocument is obsolete, any thoughts on replacing it?

In Visual Studio 2010/.NET Framework 4.0, System.Xml.XmlDataDocument is marked as obsolete. Any thoughts on how to replace it with the least amount of work? ...