visual-studio-2010

Does compiler warnings cause intellisense to stop working?

I am using Visual Studio 2010 (c++), and Intellisense has stopped working. I've read that an error in the code can cause this, but my code compiles fine, I only have some warnings about a deprecated function, can this cause intellisense to stop working? I tried deleting the .ncb file, but is not being regenerated. Also I read here that ...

VS 2010 + IIS: Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running

Hi there, I have recently started to received this message. Unable to start debugging on the web server. The IIS worker process for the launched URL is not currently running Does anyone know what this means? I created my virtual directory via Properties on the project, and clicking Create Virtual Directory. ANd in IIS I can see it...

Project keeps crashing visual studio 2010

I have a project that when i compile it keeps crashing visual studio 2010. It's only that project in the solution, and it seems like it gets compiled, but it crashes. It's a silverlight c# project From the SDK command line tool I can run MSBuild, and the project will compile without problems, without crashing vs of course. When buildi...

Problems adding DLL to C# project in visual studio, getting a TryLoadException at runtime

I'm sorry if this is a dumb question, but I've been trying for hours with no luck , and maybe one of you can help. I have a class/library project I made in Visual Studio, a Spreadsheet in the SS namespace. Next, I created a windows form application, I then added the DLL, and put it in my resources menu, and it builds just fine, however...

Prompt tool for Visual Studio 2010 to package xaml code

I need a tool for rapid code generation from <DockPanel DockPanel.Dock="Top"><TextBlock Text=" " /><TextBox Style="{StaticResource TextBoxIsReadOnly}" Text="{Binding title}" Foreground="Chocolate" DockPanel.Dock="Left"/></DockPanel> in: <DockPanel DockPanel.Dock="Top"> <TextBlock Text=": " /> <TextBox Style="{StaticResource ...

MSVC equivalent to __builtin_popcount?

What is the equivalent to __builtin_popcount as found in GCC and Clang, for MSVC-10? ...

MSVC 2010 back and forward navigation toolbar buttons

I just started trying out MSVC-2010 seriously, and discovered 2 critical toolbar buttons I always used are missing: The back and forward navigation buttons, which were present in MSVC 2003 through 2008. These jump back (or forward) through the sequence of locations observed in the code recently. Can anyone tell me how to get these button...

Running two projects at once in Visual Studio

I created a solution in Visual C# 2010 Express that contains two projects: one is the client, the other is the server. I would like to debug both at the same time, but I can only seem to run one of the projects during debugging. Is there a way to run both at once? ...

Bracket Checker Using Stack and Queue in C#

I am having an issue solving Bracket Checker . i cant seem to solve the problem if user input this sequence of bracket then my program must print its not a right sequence Input: ({}[) Output: Not a Right Sequence My code is below Stack s = new Stack(); Queue q = new Queue(); bool isok = true; st...

overwhelmed with test results

I am getting a bit overwhelmed with number of test result files and directories being produced by Microsoft's own test framework (which comes with VS2010). Does anyone know where to tell the test project not to save the results files or at least not keep so many? Cheers ...

Anyone else notice that $(SolutionDir) resolves to ProjectDir when loading Wix projects into Vs2010?

I'm using Vs2010 and Wix 3.6.0917.0, for the record. I use the $(SolutionDir) property quite a bit in my .wixproj file, since I only ever build the installer as part of a solution build or as part of a team build, and never by itself. However, while building from the command line works just fine (both from cmd on the desktop and when bui...

How to you kill a windows form program other than using x.

How do I kill a windows form application other than clicking the x button. More specifically, I need to close the program from a menu option. I am coding this in c# 2010. ...

Which windows form control is best for presenting data in a tabular fashion?

I need to present the output on the form in rows and columns. Is there a control to make that task easier? I am using visual studio 2010 and coding in C#. ...

How to add comment for an attribute definition from within a tag?

Let's say we have the below code: <Window x:Class="Consus.Client.UI.Sandbox.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" x:Name="Ribbo...

Equivalent to pread/pwrite in MSVC?

What calls best emulate pread/pwrite in MSVC 10? ...

VS2010 Intellisense: make it autocomplete every word ?

hello i'm using VS to write JavaScript lately. before that i was using notepad++. the auto-completion in np++ deals with every word in the current document. but the one in VS only deals with variables and functions and so. what i'm looking for is every word completion. meaning that if i write div.id ="anotherDiv"; and then later write do...

Dynamic Azure Web Page

What I am trying to achieve is the following. I would have "main" web worker on Azure the would have to create sub-workers (sub pages). For example, main page would ask for a username. After entered pre-defined .asp page would have been "copied"/published to a new sub directory. Ff there is www.foo.com and user enteres Joe the main wor...

ProjName.XmlSerializers.dll Framework version issue

VS2010. All projects in solution target .NET Framework version 3.5. For building on build server we use MSBuild with tools version 4.0. ProjName.Xmlserializers.dll assembly is generated after build, but: on my machine it references System.Xml version 2.0; on build server it references System.Xml version 4.0; as a result "This assembly ...

Add deep zoom folder to VS2010 silverlight applciation

Hi, I have copied the deepzoom data created folder "Generated Images" into a folder named "temp" in my VS2010 web project, but I am unable to see the "Build" property of this ("temp") folder. While compilation, VS2010 shows an error "'Build Action' not set to 'Resource'" ...

Creating a reusable site structure in ASP.NET 4.0 with C#

Hello, I wish to streamline and best practiceify the way that I setup websites for my clients. General information: -- ASP.NET Forms style of website i.e. not MVC -- Web applications (not website) -- I am using OneClick deploy -- I wish to package the main web application -- Ideally, I wish to package the sub applications also. -- A...