I'm using Visual Studio 2008 for C#. I can't understand why this simple code does not work as expected. Any ideas? Thanks!
using System;
namespace TryRead
{
class Program
{
static void Main()
{
int aNumber;
Console.Write("Enter a single character: ");
aNumber = Console.Read...
I am including a complicated project as a library in C++ using Visual Studio 2008.
I have a set of include files that are scattered throughout a very complicated directory tree structure. The root of the tree has around ten directories, and then each directory could have multiple subdirectories, subsubdirectories, etc.
I know that a...
Background:
I'm using Visual-SVN V. 1.7.5 with VS2008. I'm fairly new to SVN.
I have a Solution that uses source files that will be shared with other Solutions.
I've put these files in a folder called "Shared", and added them to my Solution using
"Add -> Existing Item... -> Add As Link"
which works fine as far as VS2008 is concerne...
When I remotely "Attach to Process" in Visual Studio 2008 SP1 to WS2008 (x64) computer running remote debugging monitor (both RTM and SP1), I see a huge number (30+) of entries saying:
<username> connected
Both TCP and authenticated mode are affected.
I think there is an entry per unique process name. Each connection attempt takes se...
I think my local install of Visual Studio 2008 has gone a bit scooters.
When I'm debugging I'm unable to view the "Watch" windows - I'll see one come up when I click on it but then it disappears.
Nothing wants to stay where it's supposed to - the "Watch 2" window wants to stay on the other monitor, there's intermittently one or two or...
I have a custom control dll that I saved into my network drive. I want to add it to Visual Studio toolbox, it came back and said Access is Denied. If I placed it in my desktop then I don't have any problem. Can you tell me what am I missing?
Update: After further trials, the problems appear to be the files are in ClearCase's Dynamic...
Hi,
Is there a license thing out there that can be used to license my application for Visual Basic 2008? Something like .Net Reactor, where the person needs to enter a license key. Any recommendations?
Thanks,
Kevin.
...
Does anyone know how to set Visual Studio 2008 to output the current date/time at the end of a build? I've set it to output verbose but that just shows the date/time at build start plus elapsed time.
...
In a DLL invoked from C++/CLI code I don't seem able to set Data Breakpoints in some pure C code. The menu option New Data Breakpoint... is disabled as is the popup in the breakpoints window. I haven't been able to find anyone else reporting this, the only similar experience is for a Mobile developer.
Debugging is otherwise working fine...
I have been through every option to try to find a way to get the IDE to let me create a new win32pject without precompiled headers. I have read every thread on this forum with the words "precpmpiled headers" in it and the closest I got was:
http://stackoverflow.com/questions/1293538/precompiled-headers
Using 2008 pro (not express, alth...
Hi Members
I am new to C# can any please tell how to load a dll created in C# to a exe in c#
I have .NetFrameWork 3.5 and my o.s Vista
...
If I have a project with an App.Config, and when I compile it I get a file next to my DLL called [myproject].dll.config which contains the contents of the projects App.Config.
If I want to reference [myproject].dll from another project, do I need to copy the .config file as well? Can the App.Config file be compiled into the DLL so all t...
Is it possible to use TFS 2008/VS 2008 to gather requirements and create the (top level) work items for the solution? Current our BAs use Visio and Word to scope our requirements so there is no formal UML type user story/case based design though I am looking to implement something like this.
Our solutions mainly use the following techno...
On some occasions (e.g. suppress warning), VS generates class attributes. The problem I'm facing is about the way these attributes are added.
When advising Visual Studio to suppress the warning w1 and the warning w2, I expect this result:
[SuppressMessage("w1")]
[SuppressMessage("w2")]
public class Foo
Bit actually VS combines the at...
Hello,
At work we use perforce and are encouraged to make regular commits to it (something I am fine with). However, I'd like to run something like mercurial so I can locally commit stuff that is work in progress and doesn't necessarily compile/run and then from this do my regular commits to the central perforce server.
My question her...
I have an interesting scenario: - Site has 209,000+ pages. - Evertime a user submits a new article/item a new page is generated and if it has a refernece to one of the existing pages then that page is also re-generated and saved. - A windows service is looking after the generation of pages which creates a page(file) in the site directory...
I'm getting the joyous 'type or namespace name "Something" does not exist in the namespace "Something else" (are you missing an assembly reference?)' error.
What I've got is a Website project that contains the website itself along with several other custom projects upon which the website relies. The issue I'm having is with one of the ...
I need to install a SSL certificate into Visual Studio for use with an Azure site. I'm successfully using a self-signed certificate for local development, but I can't figure out how to get my certificate from Comodo to show up in Visual Studio.
I used IIS7 Manger to create the CSR. I then added the certificate in IIS7 Manager and it a...
vs2008 (and earlier versions) always creates empty folders in c:\users\<username>\my documents every time it runs. Is there any way to get it to honor the location of 'my documents'? It's never on my c: drive. This leads to the annoying problem of 2 'my documents' folders in windows explorer.
MS is not following it's own guidelines. And ...
I have a problem removing breakpoints that are set when I attach to a process.
I am attaching to the aspnet_wp process and setting breakpoints. However any breakpoints I remove while debugging are only removed temporarily. when I re-attach the debugger to the process, my breakpoints that I had removed come back again. I have found that ...