I have tables in a local database I've built in Visual Studio 2008 that I want to publish to an existing database on the server that I will be deploying my Asp.NET app. Unfortunately the only two options I have for deploying this database when I select "publish" is -script to file- and -publish to shared hosting provider-. My dedicated...
I'm working on some stuff I've inherited that has a slightly untidy project structure. Some of the projects reference a Primary Interop Assembly (PIA) that it expects to be installed in the GAC. There is a note in the solution folder that says (in summary) "Before building this project, first build X, Y and Z and manually install them in...
Hello -
I am fighting a recalcitrant VS2008 DataSet designer, it seems. I have been trying to do what seems to be a simple 2-table dataset solution, where one table is simply the textual meaning for an integer value stored in the other table. Basic data design 101.
Table1
CharField1
CharField2
IntForeignKeyField1
etc
Table2
IntPrima...
I have a Visual Studio 2008 project that has a reference to a dll. I removed the reference to version 1 and added a new reference to version 2. The project builds successfully, however when I analyze the project dll after it has been built in Reflector I am seeing that it is holding onto two references to the same dll - version 1 and ver...
I have a small WCF webservice working in my development environment (VStudio 2008, WinXP). I am appreciating being able to use the WCF Test Client at this stage of things.
Currently, the APP.CONFIG of my service (project) contains:
<host>
<baseAddresses>
<add baseAddress="http://localhost:8731/Design_Time_Addresses/C...
This bothers me a lot and I find I write stupid bugs when combined with Intellisense (VS 2008 Pro):
class Foo
{
public Foo(bool isAction)
{
this.IsAction = IsAction;
}
public bool IsAction { get; private set; }
}
Did you catch it? I certainly didn't until IsAction never changed, causing bugs.
Intellisense so...
I've been following a tutorial on http://michaelellerbeck.com/2009/01/12/creating-a-service-for-visual-basic-2008-express/ for creating a service using VB Express 2008. I got the first part working and managed to get the sample to install using InstallUtil, but the second part has you use a form with buttons to install and uninstall the ...
I've been stuck with visual studio 2003 for ages because of my need to debug asp classic code...
A few years ago I tried to debug classic asp with vs 2005 with no luck, I think there was some dirty hack that was supposed to achieve that "magic", but I couldn't make it work...
I wonder if anybody has been luckier than me...
Haven't tri...
Apparently this function in SDL_Mixer keeps dying, and I'm not sure why. Does anyone have any ideas? According to visual studio, the crash is caused by Windows triggering a breakpoint somewhere in the realloc() line.
The code in question is from the SVN version of SDL_Mixer specifically, if that makes a difference.
static void add_musi...
I'm a decently experienced .net developer for the desktop but this is my first stab at using ASP.NET and i'm stumped almost right away.
I've used the VS2008 "New Website" wizard and got a simple page working, codebehind page and all. But my next step of adding a simple static class for some utility methods to be used by all pages is not...
This is my first MFC application away from VC6, and I feel a little bit stupid:
How do I add the OnInitDialog handler?
(I know how to add it manually, but that's a pain in the long run).
double-clicking the dialog - nothing.
right click the dialog - "add event handler" is disabled.
Properties - Messages has "normal" messages, but not W...
This tool is supposed to configure users and roles etc., but when I use it on a new web site, with a new aspnetdb database, it adds a record to the aspnet_Applications table with the ApplicationName and the LoweredApplicationName fields set to /. I think it would make more sense if it actually used the application name, i.e. the web sit...
I get the following error in Visual Studio 2008: error C2248: 'Town::Town' : cannot access private member declared in class 'Town'. It looks like the constructor is unable to access the members of its own class. Any idea what's going on?
Here's the code:
I have this:
template<class T> class Tree{...}
And this class:
class Town{
...
Hi.
I worked for a friend's project in VS 2008.
Now I upgraded it to 2010 version, I wanna send it back to my friend so he should be able to use it.
Is this possible?
...
I have a weird problem that sometimes when I make a change to a Linq object using the O/R designer (usually by adding a field that I've added in the DB), when I save the project, the designer.cs file gets deleted!
Fortunately I have my source control to fall back on; I undelete the file and back out the changes to the csproj file. But ...
I have a C++/CLI project that uses CWinFormsControl and CWinFormsView to create .NET controls in my MFC views. To do this I need to #include "afxwinforms.h".
When I run Code Analysis on the project, I always get warnings about some of the MFC classes I've included. Examples:
3>Running Code Analysis...
3>c:\program files\microsoft visua...
We am looking to get a list of bugs per user story in TFS so we can identify the areas that caused the most pain.
Anyone have any ideas of the best way to go about this?
Thanks in advance,
B
...
If you go to this webpage, and scroll down:
http://www.unauthorised-access.com/category/nettiers/
You see a green U-turn like arrow. Does anyone know what this means? I read somewhere, a long time ago, it has something to do with threading and multi-threaded code but I can't remember.
Thanks
...
Is there an option in VS2008, to hide master page preview in design view?
...
We are developing a custom textual DSL, that will ultimately get integrated into Visual Studio IDE.
We would be needing debugger support for the DSL. I could not find any references or samples that show custom debug engines written in managed code (C#). Of course there are a lot of samples where the DE is written as a COM component.
P...