visual-studio

Does Resharper not support Microsoft best practices for namespace naming conventions?

I know there are only warnings but they are still annoying me. I like a clean project. I have a solution with two projects. I would like for the namespaces to look like the following Solution.Project.FEATURE Which I thought should map onto the best practice CompanyName.TechnologyName.FEATURE Instead Resharper keeps suggesting a names...

upgrade visual studio to sp1

i'm going to install sql server 2008 on my computer,during preparing the installation there was an error like this: a previous release of Microsoft Visual Studio 2008 is installed on this computer. Upgrade Microsoft visual studio 2008 to sp1 before installing SQL Server 2008. So i should upgrade my visual studio to sp1, but i don't kn...

The directory App_WebReferences\net\webservicex doesn't exist !

Hi, I'm trying to run a webservice using Visual Studio, but it doesn't load. After verification, it seems that Visual Studio created only these 2 directories : App_Code & App_Data but no trace of : App_WebReferences. Is there any problem with my installation of Visual Studio or is it because something else ? Thank you ! ...

Find a variable with a given value in VS2008

I have an instance variable with several members, many of which have their own members and so on. Using the debugger and watch variables, I found a string variable with a specific value that I need by diving into this variable's members. However, after spending some time on other things and coming back to this, I am now unable to find w...

What rarely used debugging tools you found useful ?

What rarely used debugging tools you found useful ? My recent debugging situation on Visual Studio required trapping the breakpoint on fresh built 32-bit DLL, which was loaded by GUI-less executable, which was spawned by COM+ server on remote x64 machine, which was called through RPC from actual GUI. As usual, all worked well on all 32 b...

Looking for a class cleaner/formatter plug in for visual studio

Hi All Looking for a class cleanup/formatting plug-in for visual studio. Using ReSharper, but looking for something that will allow me to position members. i.e. private members at the top of the class, constructors next etc. Anyone know of something that offers this? Cheers ...

Problem using MSBuild's Copy task (VS2005TS Team Build)

My project's manager assigned me to maintain the builds, but it's my first contact with MSBuild, so things are being somewhat hard, as most first contacts. :) I've been struggling to get MSBuild/Team Build to copy some files to my project's "bin" folder, but had no sucess until now. The files are kept on a folder that we use as a reposit...

A glut/freeglut program creates visible window when debugging under the visual studio IDE but not when running the exe

I have a C++ console program which I can compile using glut or freeglut and get the same undesirable behavior. Specifically, if I "start with debugging" everything is fine, but if I start without debugging I have to manually switch to the window. Is there any way to force the GLUT window to the foreground on program start? ...

C# Winform Binary Icon

I want to change the icon my binary has for my applications. The people I work with aren't technologically savvy and quite literally changed AppName.exe to CLICK ME.exe because they didn't know which icon to click... Anyway, I figure an easy solution to this is to just make all of my applications for them have the same, bright icon so ...

VS 08 CodeFile Intellisense not working

Hi Scott, I am facing problem in VS 08, after installing VS sp1 or MVC-2. In my not MVC project, In code file, Intelisence not working, if I declare controls in code file it compiles but generates run-time error that controls already exist, if I remove declaration it doesn't complete. Please suggest a solutions Regards Mumtaz Ali ...

server side script tag: this is not a valid location for a breakpoint

I have an ASP.NET application whose .aspx files include <script language="VB" runat="Server"> blocks. I am attaching the Visual Studio debugger to IIS 7 (w3wp.exe), but Visual Studio won't let me add breakpoints inside these script blocks. It says This is not a valid location for a breakpoint How do I debug these blocks? ...

How do I script a complex link in visual studio (FIPS / Static Link Lib / VS.2008)

Question What's the right way to build a complex fips link into the Visual Studio vcproj projects while continuing to allow developers to arrange libraries via the properties GUI? Situation I'm using VS 2008 and have a bunch of projects that use openssl statically linked. Thus far the link has been simple, but now I'm switching to a ...

Qt Visual Studio 2008 Add-in problem

I have Qt 2009.05 and Qt VS Add-in 1.1.3 installed on my computer with Visual Studio 2008. When I create simple Qt Application and build it, I'm receiveing this error. 1>LINK : fatal error LNK1181: cannot open input file 'qtmain.lib' When I searched whole disk this file to add in Visual Studio library include variable, I doesn't find....

Which VS 2008 project for using MVC and WorkFlow

In Visual Studio 2008 after I add the Feb 2010 SharePoint extensions, I see project templates for Workflow (eg., State Machine Workflow Library) and under C#/Web a project for ASP.NET MVC Web Application. If I'd like to do a State Machine WorkFlow using MVC which should I choose and which additional modifications do I need to do ? (I'm...

how to run(F5) windows service from visual studio

How to run a windows service project from visual studio. I am building a windows serivce in visual studio 2008, I have to always run the service from control panel and then attach the debugger to running instance of the service. Its kind of annoying since I am cleaning a lot of code and need to restart my service many times during devel...

Miracle Library in MSVC 2008

How to use Miracle (Crypto. Lib.) in Microsoft Visual Studio 2008?(for a MFC application) Thanks in advance ...

Visual Studio XML Editor doesn't re-validate after schema changes

I'm trying to fix my schema file so it matches the output document... the document will auto-validate once, but VS is caching the schema, so when I update the schema, VS won't go look at it again. I have to close down Visual Studio and re-start it, then it will validate the document (one time, grrr) against the new schema file. How can I...

Can WPF apps be compiled to native code?

I know there are tools like Salamander that can compile a .NET WinForms apps to fully native code with no need for the CLR/.NET Framework to be on a machine. Is this possible for WPF apps as well? ...

RegularExpressionValidator or No validator at all (just a label)?

suppose I have a boolean function in my ValidationClass that checks user input for txtState (a textbox that contains the 2 letter abbreviation of a state), what should I put inside the if statement to activate Validation Summary displaying that user input for the state textbox is bad? Thank you! if isState(txtState.txt) = false then ' n...

How to auto-sync any custom control on the page of testing project with the modified assembly of the custom control on the other project?

In the case of Visual Web Developer, How to automatically update any custom controls on the test page if I modify the assembly of the custom control? It is tedious if I must remove the custom controls from the page and redrag and redrop them again and again during development testing. Thank you. ...