visual-studio-2008

How can I test pages with web services when only Cassini is available (no IIS allowed)?

I'm developing a web site in a high-security environment. For example, we use CAC cards to authenticate users over SSL. The site is a mix of VB.NET and C# on .NET 3.5 with some AJAX. The AJAX parts are now calling web services for things like Cascading Drop Down Lists. We've been running VS2008 configured on our local PCs to use IIS ...

VS2008 Suspending all threads upon hitting breakpoint

I must be missing something.. (I'm used to using eclipse) Visual Studio 2008 appears to suspend all threads when I hit a breakpoint - is this normal? If so, is there an option that will only suspend the thread on which the breakpoint has hit? ...

Why can one null return be tested but another throws an exception?

I want to test if an xml attribute is present. Given this: XmlAttributeCollection PG_attrColl = SomeNodeorAnother.Attributes; This first test works: if (null != PG_attrColl["SomeAttribute"]) "GetNamedItem" is supposed to return null, but the following test throws an exception complaining about the null it returns. if (null != P...

"Error generating Win32 resource" in Visual Studio, Windows 7 x64

My co-developers and I recently upgraded machines to Windows 7 Ultimate 64 bit. Some of us are seeing a new error we used to never see when building solutions in Visual Studio (happens in both 2008 and 2010): Error generating Win32 resource: The process cannot access the file because it is being used by another process. It alwa...

How to remove hidden plugins in Visual Studio

Hello, I have plug-in for VS 2008. I cannot seem to figure out how to remove it. It's liquid xml studio. The program it self cannot be uninstalled because it's not listed in the add/remove programs folder and the uninstall app is missing. ...

vsts load testing wcf app

I have a simple test written like this public class Test { [ThreadStatic] private static ServiceClient client; [TestMethod] public void TestCase1() { If( client == null) { .... //instantiate client } client.CallMyServiceMethod() } [TestMethod] public void TestCa...

VS 2008 unstable after "Stop Debugging"

This was on Windows Server 2003 X86, VSTS 9.0.30729.1 SP I used "Attach to process" to debug the program, but recently when I "Stop Debugging" by "shift + f5", I was prompted with an error saying "VS has an internal error and will be unstable". After that all the debug related menu items were disabled e.g. "Start debugging" and "attach ...

Show the progress of commiting

I need to show a process of commiting my files to the svn. I use vs2008 C#.I take a progress bar, but when I am starting commiting, I don't know how to show my progress(also I want to look what file is uploading now in a label for example) ...

Shared classes are build under VS2008 only but not under MSBuild.

We share our classes between silverlight 3.0 client and server as is it described here. Everything works fine under Visual Studio 2008 only. Using msbuild with following command line parameters: C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe FoobarApplication.sln /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" we get fo...

Visual Studio 2010 - how to add next types in version resource menu?

Hi I switch from VS 2008, to VS 2010, but in VS 2010 I don't have types in "Add version" in resource, like: comments, legaltrademarks, privatebuild, specialbuild. How I can add this types to version on my program in Visual Studio 2010? (in pink I draw what have VS 2008). image: http://i48.tinypic.com/2mzlg5e.jpg BarbieLie28 ...

How do you compile different classlibraries to one dll?

The question explains it all. I have different classlibraries but I would like to compile them into one general DLL. Is this possible? I'm using .NET 3.5 with visual studio 2008. cheers, M ...

Visual Studio 2008 - Project without DLL

Hi, I need to add a reference to a project to do some reflection. But it seems that this project doesn't have a .DLL file (even after building it). Can this happen? ...

Text output from tests using Visual Studio 2008 + Resharper + NUnit

I like to do console output for exploratory purposes when I am creating a unit test. Is there a way to see the Console.WriteLine("s") in Visual Studio when executing my test using Resharper? I don't keep the console output in the final version of my tests, so there is no need to comment on that. ...

How to use cscope in Visual Studio?

Hello all, I am working with Visual Studio (2008 edition) for the first time. Used to programming in a Unix environment, I have become quite used to cscope and vim. For my current project, I really need cscope. I was wondering if there is any way I could use cscope on Visual Studio - or use cscope in Windows. Or if there is another tool...

get the selected text of the editor window..visual studio extension

hi i'm making a extension for visual studio and the specific thing that i need is get the selected text of the editor windows for further processing. Someone know what interface or service has this? Previously i need to locate the path of the open solution and for that i ask for a service that implements IVsSolution, so for this other pr...

How do you replicate changes from one excel sheet to another in two separate excel apps?

This is all in C# .NET Excel Interop Automation for Office 2007. Say you create two excel apps and open the same workbook for each application: app = new Excel.ApplicationClass(); app2 = new Excel.ApplicationClass(); string fileLocation = "myBook.xslx"; workbook = app.Workbooks.Open(fileLocation, Type.Missing, Type.Missin...

vsTestHost.exe uses only one processor

Hello, I have a simple load test that is using one TestMethod on a quad core 64 bit windows 2008 box. When i run the load test, i only see one processor being used to 100%, other processors are just idle, and i know that the server is not being hit to the max, so my test agent is not able to produce enough load for it. is there any w...

Binding object with List<> to Crystal Report

I have a class that contains a few properties including one that is a List<> of children objects. Simple Example: public class LineItem { public string Name { get; set; } public decimal Amount { get; set; } } public class Invoice { public string Name { get; set; } public DateTime Created...

first major web app

I have created a web app version of my previous crawler app and the initial form has controls to allow the client to make selections and start a search 'job'. These searches 'jobs' will be run my different threads created individually and added to a list to keep track of. Now the idea is to have another web form that will display this l...

Compiling a C++ application on Windows 7, but execute it on Win2003 Server

I have a C++ application (quite complex, multiple projects) in Visual Studio 2008, that produces a single dll. Recently I switched to Windows 7, but had previously been compiling under Windows XP. Suddenly the dll in question cannot be loaded by another application, i.e. on a machine running Windows 2003 Server. I've been trying variou...