I'm having a problem using XML literals with a StringBuilder in VB 2008. If I use this code everything is fine.
Dim html As New System.Text.StringBuilder
html.Append(<html><body></body></html>)
MsgBox("hello")
Now the problem is I want to wrap HTML around something that is generated in code.
html.Append(<html><body>)
msgbox("nothi...
My project is in VS2008/C# and a WCF service library. Trying to test the service, hit F5. Get the WcfSvcHost.exe error and this is more deatails below
Error Signature:
AppName: wcfsvchost.exe AppVer: 9.0.622.1152 ModName: mscorwks.dll
ModVer: 2.0.50727.3082 Offset: 00080012
The IDE get back to normal code mode and the WcfTestClien...
Hi,
I posted this question on the MSDN forum but haven't been able to receive much of an answer, so decided to try it out here.
I'm having a problem with dependency libraries of a project not being copied to the output directory of a second project that references it, when the first library is mostly xaml. Here is a typical scenario w...
Doing cross platform development with 64bit. Using gcc/linux and msvc9/server 2008.
Just recently deployed a customer on windows and during some testing of upgrades I found out that although std::streamoff is 8 bytes, the program crashes when seeking past 4G.
I immediately switched to stlport which fixes the problem, however stlport se...
How do I completely reset my Visual Studio 2008 toolbar? Right now I have toolbars randomly appearing/disappering when I write code vs. debug. Is this expected behavior?
I'd like to get it to a point where the same set of toolbars appears and sticks to their same position in the toolbar area.
...
I saw an article in a blog about opening .doc files from External Tools in Visual Studio 2008 (C# language spec in this case).
I can't find this article anymore. Does anyone know how to do this (and also for .pdfs)? There doesn't seem to be much guidance on doing this in VS.
Thanks
...
I've changed the areas/iterations in vnc and added work items in web access. When I access TFS from VS2008 at home, it shows 0 results for the same query, and iterations shows only one item in the drop down, areas show the old items.
I am stumped! How do I "clean the cache" or refresh? Even though I've disconnected/reconnected and refre...
In a Visual Studio plugin, I'm trying to obtain the currently active
project.
I've found some Web posts about using DTE.ActiveSolutionProjects.
That function gives me objects that can be cast to and array of
DTE.Project objects -- but it always gives me the same project,
regardless of what I've loaded as the current solution in the ID...
I have script debugging enabled in IE .. I have put the debugger keyword in the file and it gets caught too..
The debugger is already attached to the ie process and type is script ..
When ie prompted "Would you like to debug" I pressed yes and choose Visual Studio 2008 (With my project opened) . When Visual Studio opens up, i get an ale...
I am working on a project which generates an assembly. I just noticed that an additional assembly *.XmlSerializers.dll is being generated. Why this file is auto generated and what it is used for?
...
A rather strange question I know... I was previously using the .NET framework source stepping option (tools>options>debugging>general) within Visual Studio 2008.
Now although I have the option turned off, everytime I pause the debugger I start stepping into code I get taken into the .NET framework which takes an age to step back out of ...
I want AnkhSVN to remember my SVN + SSH password. Until now I have to type it multiple times per operation. A previous topic discussed 2 solutions
1) Replace the default ssh client by renaming plinkw.exe to ssh.exe and moving it to one of the folders AnkhSVN searches for SSH client.
2) Replace the default ssh client in the configuratio...
Ok, I have read the other threads I could find on this subject, but still I think I want to beat this particular dead horse a bit.
The situation I am in is this. I currently use Perforce locally on my computer at home and on my computer at work and I am very happy with it. But I want to share the SCM Love with my co-workers and we are ...
In my code, I currently have an exception handling setup which logs exceptions to text files. When I'm debugging the code, however, I'd rather not handle the exceptions and let execution stop rather than read the file, set a breakpoint, etc. Is there an easy way to do this using the Build and Release configurations (something like a pr...
I'm currently working on a soft-input-panel for windows mobile and have run into a bit of a snag. The compiled DLL (once deployed) is loaded by devices.exe which is stored in the windows mobile device's ROM. This is causing quite a nightmare as Visual Studio 2008 refuses to see the devices.exe process (using attach to process) making it ...
I'm getting ready to setup a Visual Studio Database Edition GDR R2 project with source control. Which files (if any), should be excluded from source control?
...
I've been developing an application in C# (using VS2008) for quite sometime now and about a week ago, 'Edit and Continue' has stopped working for me. I can edit the code while debugging, but any little change that I make to the code now forces me to stop the project and restart it. The message that I get is this:
Modifying a 'method' wh...
HiI wrote a stress test vor my WCF service, but the service is in the remote machine, Can I measure that windows service used process and other resources? Is there any other tool?
...
Possible Duplicates:
Visual Studio 6 tips and tricks
Visual Studio 2005 Shortcuts
Favorite Visual Studio keyboard shortcuts
I am a big fan of shortcuts in VS2008, it can save a lot of time and keep your fingers on the keyboard instead of the mouse.
Recently I downloaded the entire list of keyboard shortcuts for VS 2008 and we...
I know you can have pre and post build events at a project level, but I want to stop and start a service at the beginning and end of a build of the solution -- i.e. when I do a 'Build Solution' the service is stopped and the last action of the build is to re-start the service.
There are no build events on the solution property page, so ...