I would like to have my own application class that inherits from System.Windows.Application. The problem is that in the Application.xaml file, I have to declare the app like this :
<src:MyBaseApplication x:Class="MyApplication"
xmlns:src="clr-namespace:MyApplication;assembly=WpfTestApplication"
xmlns="http://schemas.microso...
I am increasingly annoyed by the unnecessarily verbose template that is used when I create a new unit test in Visual Studio (using the default, included unit testing framework). Instead of
public ImportModelStateTest()
{
//
// TODO: Add constructor logic here
//
}
private TestContext testContextInstance;
/// <summary>
///Gets or se...
I am having a minor issue playing with my exported Crystal Report, I can generate the reports just fine on our website, however when I attempt to export them to Word documents I don't quite get a document I can do much with.
i.e.:
I can't position the generated text anywhere in the document, it is almost 'frozen' in place. I would ex...
Problems started after upgrading from VWD2005 to VWD2008.
In VWD2008 the App_Code does not exist any more.
How can i add a reference to a class that existed in the App_Code directory of VWD2005?
...
I recently checked out a large C# code base that I will be doing some work with, and converted the project(s) from VS2005 to VS2008. On building the solution, I seem to have generated a bunch of designer.cs files that do not belong there. I am now getting class re-declared errors. Note the designer.cs (and the associated resx files) have...
When I try to run unit tests, in debug mode only, on "Microsoft Visual Studio Team System 2008 SP1" and the Test Results view is open in a screen other than the main one (I have 2 monitors), the devenv.exe process crashes. Have you ever encountered a similar error? Have you found a workaround for it?
...
Possible duplicate: Run single instance of an application using Mutex
I am using VS 2008 in C# on a console application. Not sure if there is any class available (process?) to limit only single console application running at a time.
...
Hello,
VS 2008
I have developed a device application that runs on windows mobile 5.
However, I am wondering if I can now change this and deploy my application using the mobile 6 as the targe device.
In visual studio I click the run button and it pops up with only window mobile 5 devices to run on.
I have also selected my project an...
I have a Linq to Sql Model generated by VS ORD, but I want to make a changes to it to work around a couple of issues. I can change the designer.cs generated code , but if I ever need to recreate a table within the model, then I delete it and drag it back to the ORD. This however loses all of my customisations. Is there another way?
I ha...
I ask because I couldn't find the stack trace in Visual Studio, while debugging an exception that occurred, after 30 seconds and didn't know to initially google for "Call Stack Window".
And now via the magic of StackOverflow and Google, I won't ever have to remember again. Though through the act of writing this, I will never forget. Is...
Is it possible to deactivate the VS 2008 conversion wizard. I want to open a solution that contains VSTO project for Office 2003 and I don't want them to be converted when I open the solution on a PC with Office 2007.
...
I'm looking for experiences with deploying Crystal reports (the basic version, bundled with VS2008) into a production environment.
Are there any restrictions? Does it limit the number of concurrent users? Other than downloading and installing the CRRedist2008_x86.msi on the production server, anything to worry about?
(And judging fro...
Just wondering if there is a 'makedepends' equivalent that ships with visual studio that I can use with nmake. Does anyone know?
...
Can I configure the VS.NET 2008 IDE to use gcc as a compiler?
...
I'm creating a web service for my app to talk to. When I go to publish it (locally), VS tells me that the server doesn't appear to have frontpage server extensions installed. It was correct.
Specifically the message says: "The Web server does not appear to have FrontPage Server Extensions installed. If FrontPage Server Extensions are in...
I'm looking for reference/tutorial material on building integration packages for Visual Studio 2008.
I am particularly looking for info on editor integration such as intellisense for a custom syntax (and contained languages) and source code formatting/coloring.
I found some info on the Microsoft MSDN site, but as always, the informati...
I'm wondering if it's possible to debug a command line application (where main received arguments argc, and **argv) in visual studio 2008?
...
I have solution that builds without errors or warnings. I created a class diagram in VS 2008 that shows one of my classes. I then right clicked on the class and choose create instance, and the it's parameter less constructor. I provide name for the new instance and then click OK.
It then just shows an "Object Test Bench" error "Create I...
Is it possible to supress 1st chance supressions in Visual Studio (C# debugger) for specific lines of code? I want to use 1st chance exceptions in the debugger, but there are about 50 1st chance exceptions I need to go through every debug session before I get to the interesting code.
Currently, I turn off 1st chance exceptions and then...
Hi Everyone,
I have a native C code, I compiled the code in vc++ 2008 and its compiled with 'x64' as platform in configuration manager and I have an c# application which is also compiled with 'x64' as platform and it calls the dll function. I have used Dllimport to call the function from the dll like below.
using System.Runtime.Interop...