Hi,
My question is related to trying to understand the reason for the PrivateObject that VS automatically puts in the test and then uses to initialize the constructor for the generated accessor for the class with the private/internal property/method you are unit testing.
Let me show you what I'm talking about...
Imagine this simple cl...
I use VS 2008 to develop and I use CCNet to build, test and deploy our applications to a staging server. I would like to be able to remove the debug="true" setting from web.config as part of the deployment process.
I know I could just set <deployment retail="true"/> in machine.config, but I don't always have that much access the servers...
So far in this project I have two reports in VS2008/BIDS. The first one contains 1 tablix and is about 100k. The second one contains 3 tablixes (tablices?) and is about 257k. I can successfully deploy the smaller report from VS and I can upload it from the Report Manager in IE. I can view/run it from Report Manager and I can get to t...
Hi, I am trying to create DependencyProperties that have a nice drop down code completion when using them in the XAML-editor in Visual Studio.
Many default SilverLight framework properties have such completion, e.g., Background or BorderBrush. Also, Boolean Properties show the True/False selection in the XAML-editor. The same holds true...
I'm programming a application and am wondering, is there a co-routine (or something similar) feature in VB?
In my application it pulls a picture from the internet and it takes quite a long time (30-45 seconds) and it stops all code from running while it does that. Here is the line of codes that pulls that picture:
PictureBox1.Image = ...
Hey Guys,
I have a Strange problem, been using EF for quite a time now but never came across such trouble, i have a table which is related to 15 tables.
Now the problem is that if i define all the relations my project becomes dead slow, it takes long time to build and run.
What could be the trouble? Please enlighten me
Thanks
...
Hi Folks, how to enable the dropdown that shows build mode 'release/debug' ?
I have set the 'show advanced build configuration' option. I added the 'configuration manager' to the build toolbar but in previous versions we could do this by using the drop-down control.
TIA
...
Is there a way in Visual Studio 2008 Team Foundation System to produce a report showing "Between date 01/01/2002 and date 02/01/2002 the following code was added:":
FunctionOne(Param one, Param two)
{
//Func one contents
}
FunctionTwo(Param one, Param two)
{
//Func two contents
}
The following code was modified:
FunctionOne(Param one...
Hi everybody,
Is there a software/app that could stored all our VS2008 XML documentation comments files in one place and could act as a library for all this doc ?
We are creating many web projects that are all interconnected, and we need to put in 1 place all the XML docs created by VS. So it could act as a place where we could access ...
I have a long running process (40+ min) that I am debugging. I don't want to have to give my workstation my full attention while I'm debugging. I'd like if VS could play a sound if an exception occurs to pull my attention back to my workstation so I can resolve the issue and move on.
Is this possible?
...
I can't seem to compile the silverlight 3 project from the command line. It comes back with
MSBUILD : error : Test page creation failed. Unknown error "-1".
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3329,9): error
MSB3491: Could not write lines to file "obj\Debug\HeadsetClient.csproj.FileLis
tAbsolute.t...
Hello folks, I'm writing a custom ATL ActiveX component, but I'm having this little weeny problem: Visual Studio insists that every function defines in the *.idl file has to have a HRESULT return type, even though I want to have a ULONG return type.
[id(3), helpstring("method addh3h3")] ULONG addh3h3([in] ULONG x, [in] ULONG y);
It gi...
Hello,
I have created console application on VS 2008, the console app use another exe file(using command line). I would like to add that exe file to my console application. Now I have one problem, if I build project I need to copy exe file manually to build folder.
Regards,
Tomas
...
I've got a pretty big solution with lots of projects. Until now everything worked fine. After adding a Smart Device project it always starts the device emulator selection dialog, even when starting other projects (which don't need the smart device emulator).
Any ideas how to disable this emulator (as it takes some time until it comes up...
I'm using Visual Studio 2008 Professional and have added an MSTest project to my solution. Every time I run my tests (within VS), the "Test Results" window is displayed at the bottom of the IDE. I would like this window to be displayed only when one or more tests have failed.
Does anyone know if there is a way of configuring this behavi...
I need to build a solution with CAB Project.
As far as I understand I should use devenv.exe in order to build CAB.
Following command line starts devenv.exe in background:
devenv.exe MyActiveX.sln /Rebuild "Release"
Is it possible to run devenv.exe in foreground?
I would like to get build traces not in file but to stdout.
...
In MyControl.h I have:
class CMyControl: public CRichEditCtrl
{
DECLARE_DYNAMIC( CMyControl)
public:
CMyControl();
virtual ~CMyControl();
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyControl)
//}}AFX_VIRTUAL
// Generated message map functions
protected:
//{...
Hello,
I'm flying to New Zealand next week and figured that it would be a good chance to learn the basics of WPF. I've been flicking through this tutorial which seems really good but there is a lack of wifi in the stratosphere. Does any one know of a similar, easily downloadable tutorial for WPF or do I need to save all the pages on the...
I recently updated our build server, including Service Pack for Visual Studio 2008. I used to be able to run mstest.exe on the command line and from Cruise Control successfully. After the update however i get this error message:
C:>"c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe"
Microsoft (R) Test Exe...
I'm trying to use IVsMonitorSelection to know when the user is selection a control (label, textbox, etc.) on the designer. So far I get events when the user click on item from the "Solution Explorer" window and when he click on the designer window, but when the focus is already on the designer window and he select another control, there'...