visual-studio-2008 Questions

111

Solved

I am working on a WPF, C# 3.0 project, and I get this error: Error 1 Metadata file 'WORK=- \Tools\VersionManagementSystem\BusinessLogicLayer\bin\Debug \BusinessLogicLayer.dll' could not be found C...
Groundsheet asked 14/9, 2009 at 14:19

7

Solved

I'm using visual studio 2008 SP1, I'm working with a web project in VB.NET. the problem when I add new class file (of-course in App_Code) it doesn't recognize it. all the old class files are workin...
Handsel asked 2/12, 2009 at 13:10

8

Solved

I'm using Visual Studio 2008 and I have just noticed that the debugger is displaying integer values as Hex when I hover over variables and also in the immediate window. I guess I must have hit a sh...
Spitler asked 28/7, 2010 at 15:25

5

Solved

I ran the VS 2008 code analysis tool against an object I created and received the following suggestion ... Warning 147 CA1021 : Microsoft.Design : Consider a design that does not require that ...

3

Solved

When using visual studio - when I type an open quotation character in the code designer nothing happens, it seems like the key command is held back for some reason until I type another quotation ch...
Elbertelberta asked 10/3, 2010 at 14:13

6

Solved

I currently use notepad to store little notes to myself about my code. This is usually a mixture of code and requirements. Is there a 'scratch pad' type window in VS where i could do this. The ot...
Copilot asked 29/10, 2008 at 10:4

5

I am trying to find an error in my code. The problem is the error occurs in a loop. But the loop iterates about 500 times. Instead of clicking through the loop. Is it possible to skip over a certai...
Suwannee asked 24/5, 2010 at 23:7

7

In our build process, for each project we use Post Build events to copy our executable files into a separate deployment directory. That works just peachy, but the problem is that we run into proble...
Acceptation asked 10/3, 2009 at 18:22

7

Solved

Designer file is locked and when go to project properties it gives this error. An error occurred trying to load the project properties window. Close the window and try again. The CurrentContext pr...
Thermocouple asked 10/11, 2009 at 11:32

24

When using Visual Studio 2008 and debugging my unit tests... sometimes the debugger works fine. However very often after modifying some code then clicking "Debug Unit Test" Visual Studio will fail ...
Unbelievable asked 2/12, 2010 at 5:53

3

Solved

What is the difference between the User scope and Application scope in app.config?
Amalamalbena asked 8/3, 2009 at 0:4

6

Solved

I have a Deployment Project for my VS2008 C# application. When installing a new version of my application I want to make sure that files are updated with the files contained in the installer. I wa...
Vervet asked 1/11, 2010 at 14:41

12

Solved

How do I determine what platform my C# code is running on? for example whether it is running on Linux or windows so that I can execute different code at runtime. I have a C# Windows application th...
Transilluminate asked 25/2, 2011 at 12:1

9

Solved

After writing code to populate textboxes from an object, such as: txtFirstName.Text = customer.FirstName; txtLastName.Text = customer.LastName; txtAddress.Text = customer.Address; txtCity.Text = c...
Guidon asked 9/1, 2009 at 23:38

14

Solved

I would like to make a copy of my project. I would rather not start doing it from scratch by adding files and references, etc. Please note that I don't mean copy for deployment. Just plain copy. I...
Phase asked 19/5, 2009 at 18:10

6

Solved

It's simple but I can't make it work, and I read in so many places a lot of solutions but nothing worked for me. How can I accomplished this? Note I put a break point in my code and ran the entir...
Synn asked 22/6, 2011 at 21:11

10

Solved

I use the Shift + F7 often to switch between source and design view. Does anyone know of a hotkey to switch between the source file and its code behind file, e.g. between (Default.aspx and Default...
Scabble asked 26/11, 2008 at 9:13

10

Solved

I've got a Client/Server wcf application My executable doesn't define any ServiceContract, it doesn't even have a reference to System.ServiceModel (but instead has a reference to an assembly which...
Mima asked 19/2, 2009 at 9:36

7

My graphic artist gave me a .PNG file, then the same file as a .GIF. When I save it, the transparent background pixels actually get set to white pixels. At one time I thought VS could do transparen...
Amblyopia asked 23/5, 2012 at 18:48

7

I believe the problem is documented here moved here and looks like it might be a bug in visual studio, but I'm wondering if anyone knows of a workaround. Basically I have the following two lines (...
Anlace asked 11/3, 2009 at 16:35

6

Solved

I did include the System.Data.SqlServerCe dll, put using System.Data.SqlServerCe; in my code, but when I open the .NET page I get: The type or namespace name 'SqlServerCe' does not exist in the...
Bib asked 15/7, 2012 at 16:36

5

Solved

I'm trying to set the RequireAdministrator manifest flag on an executable I'm building with CMake and Visual Studio. Any ideas on how to direct CMake to set that option? Thanks! Billy3
Triune asked 31/10, 2009 at 17:53

5

Solved

The following code shows unexpected behaviour on my machine (tested with Visual C++ 2008 SP1 on Windows XP and VS 2012 on Windows 7): #include <iostream> #include "Windows.h" int m...
Soviet asked 2/11, 2009 at 10:33

2

Solved

I like the Visual Studio 2008 IDE integrated (not command line) feature to choose to publish an ASP.NET website to my webserver via FTP. I'm able to store my FTP username but I don't see any option...
Softener asked 20/8, 2009 at 20:14

3

Solved

this is really frustrating me. this problem occurs when I have a particularly large .cs file (one i'm working on at the moment has 6000 lines and many anonymous types). I will copy a line or a par...
Potentate asked 14/10, 2009 at 0:55

© 2022 - 2024 — McMap. All rights reserved.