I have a website sitting on a mapped network drive. The
<%@ Page Language="C#"... tag in the markup files are all underlined with blue. The error I get is "could not load file or assembly 'IKVM.Runtime...." Beyond that Intelisense does not function for code inside <% %> blocks. The intelisense for the normal markup still works. Any ...
I am using the instructions found here to try to find memory leaks in a Win32 application. As described, I put the
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
Lines at the top of a file (the cpp file that contains WINAPI _tWinMain) and then at the exit point of winmain I added
_CrtDumpMemoryLeaks();
Unfortu...
I have changed my dbml file like this.
I have deleted all the tables and stored procs.
I added new tables and stored procs from a new database.
In the code-behind, I can access the new tables and stored procs. However, in the LinqDataSource using the same dbContext when I'm trying to configure the LinqDataSource. I can see all the ol...
When doing C# with VS2008, there is a file property "Copy to output directory". This property seems to be missing in VC++. What is the simplest way to approximate the same effect?
I've been told that it should be done with custom build rules. Is this really the simplest way, and if it is, how should the custom build rule be implemented?...
About once every 20 page loads, I get a glitch in my View. I'd like to know what values the variables in my Controller contained right before it called the View. However, once the View is called I lose all local variables from the Controller. Is there any hope?
...
I'm looking for the easiest way to categorize my tests so I can run them separately.
My organization would be something like the following
Units Tests
Integrations Tests
Systems Test
The reasoning for this is all our testing hasn't evolved to be completely automated yet. Most of our unit tests are completely automated, while integ...
I've created an Installer project (via the Installer Wizard project) in Visual Studio 2008. Its easy to install EXE's and DLL's with, but I've got a more complicated deployment process.
There's a FireFox extension (.xpi) that I want to deploy. I would like to include it as an output of another project, rather than copy it into the Ins...
Using VS2008 with the latest patches. Compared to a co-worker with a lower-end machine and half as much memory, stepping through the code in VS2008 on my box is really slow. There is at least a perceptible 0.5 second delay for each line.
What can I do to speed this up?
...
I have an ASP.NET project.
There is a 'Publish...' option in the context menu of the project (Visual Studio 2008).
Can I add some custom MSBuild tasks that will be performed each time after publishing?
If not, what is the best way to write MSBuild script that will publish the project (the same way as 'Publish...' option) and then execu...
I want some event handling functions to only be able to be accessed via raised events and not called from the program.
Such as:
Public Event Event1(Byval TheText as string)
private sub Event1Handler(Byval TheText as string) handles me.Event1
msgbox("Hi")
end sub
I want this code to execute the function:RaiseEvent Event1("Hi")
But...
Hello all,
I am currently creating my own framework in C++ (MSVS 2008) which exports a dll with a bunch of functions for a user of my framework to use/call. In the beginning, when my project was still small, all worked fine. I compiled my project. A MyFramework.dll and MyFramework.lib were spit out. I pretended to be a user; put the MyF...
I'm in the process of upgrading an existing ASP.NET2.0 application to .NET3.5 (moving from VS2005 to 2008 - yes I know I'm late!) and have encountered a problem with Crystal Reports.
Basically the following line of code causes the Webdev.WebServer.exe to close and the application to crash (I'm returned to VS).
CrystalDecisions.CrystalR...
It is very annoying, as I need more often <%= %> than <%@ Assembly %>...
Is there a way to avoid this specific code completion in the VS2008 HTML editor ?
...
This is related to this question
I need the pdb file from adobe but it is a nightmare trying to get support or any reasonable response form the company. I spent 2 hours yesterday on the phone with various people begging them to let me pay for a support incident.
Flash is crashing in browsers and I can't debug it in visual studio witho...
I'm making a Web Setup Project of my Asp.net Mvc project. I'd like the installer to change some MIME associations on IIS7. How to do this?
...
I've have a couple of external tools set up to run Doxygen for me, either on the currently displayed file, or the currently active project.
What's annoying is, there doesn't seem to be an option anywhere to save the file before running the tool.
So I'll hammer in some Doxygen blocks, hit the hotkey to run Doxygen, flip over to Firefox ...
I've got an x86 Visual Studio solution with many project files in it. Some of the DLLs are designed to work as plug-ins to other applications on a user's system. We're expanding some of the DLLs to be able to support 64-bit applications. What I'd like to do is setup the solution/projects so that just hitting "Build" will build both th...
I would like to re-order sub expressions in an if statement. Here is an example:
Input:
if ((a == 1) || (a == 3) || (a == 2))
{
}
Desired output:
if ((a == 1) || (a == 2) || (a == 3))
{
}
Is there any tool that can automatically reorder these sub expressions?
Or the following identical code:
Input:
switch (a)
{
case: 1;
...
there is this check-in-out program here at my workplace, it only takes the data from check-in-out machine and store it in our database, but suddenly out of nowhere started to report an error on Thursdays but only once at a random time during the day, so when I detect the error, I run the program but nothing happens, so I want to debug it...
I've got a weird issue that almost seems like a Visual Studio 2008 issue. I have a C struct definition as follows:
static struct frame {
short typupdt;
char callarg[1+CallSiz];
char *unitarg;
XTime unitage;
XTime orgtime;
XTime newtime;
char oldstat[1+StatSiz];
char newstat[1+StatSiz];
char incdisp[1...