visual-studio

Visual Studio: Add service reference to service in a different project in my solution?

I have a Silverlight app that I want to access Azure storage. I have two projects in my solution: a SL project and a ASP web role. The web role has a service. When I launch the project, I go to the service, and it works fine. (I am able to download the data.) I'm not entirely sure what I can do through "Add Service Reference", but I s...

Where do you put your 3rd party libraries?

I've got a bunch of .dll assemblies, such as HtmlAgilityPack and MoreLinq. Where am I supposed to put these files? I usually toss them somewhere in my Projects folder, but then I'm always digging around for them. Is there a standard place to put them? ...

Is it possible to infer which line in source has the problem according to disassembly?

The problem exists at 017D0B5F call eax : 017D0B56 mov esi,esp 017D0B58 mov edx,dword ptr [ebp-20h] 017D0B5B push edx 017D0B5C mov eax,dword ptr [ecx+8] 017D0B5F call eax 017D0B61 cmp esi,esp 017D0B63 call @ILT+2525(__RTC_CheckEsp) (17C49E2h) 017D0B68 cmp ...

How to create panel like windows in WinForms

Please See this: http://img405.imageshack.us/img405/2008/rolloversummaryschedule.jpg How can i create a window that holds Patient data in it? The 2 records that you see is in List View. I would then using ContextMenuStrip for text "View Details". When View Details is clicked i need to show the context. For web development this could be...

VS 2010 build actions without external executables.

Is it possible to include tasks in a build, in VS 2010, to e.g. update an assembly version number, without having to run an external application through a build event? That is, I would prefer if I could write an extension for VS 2010 that would listen for a 'build starting' event, and run a task, e.g. a macro or plugin that updates the...

LightSwitch installation problem.

A short while ago I tried to install LightSwitch Beta, but after some sizeable and lengthy downloads, the installation aborts after trying to install Silverlight 4. It simply says that Silverlight 4 could not be installed. The log is not much help either, as the most informative entries are: ISetupComponent::Pre/Post/Install() failed ...

Team Foundation Server 2010 and SQL 2008 Express Advanced Services

As I can see here SQL Express has an edition with reporting services http://www.microsoft.com/express/Database/InstallOptions.aspx Does this mean I can use it to get all features for TFS 2010? Then what should I put when configuring TFS "Analysis Services" : where do I name this parameter when installing SQL Server EXPRESS Advanced ? ...

How can I automatically load DLLs from a subdirectory?

In Visual Studio, you create a .dll project and it creates a .dll and .lib files. You link statically to the .lib, and if the .dll is in the same folder as the .exe, everything works. I suspect that everything would also work if the .dll was in System32 or any other PATH folder (confirm or correct, please). But here's the question: I ...

Duplicate Visual Studio's memory violation detection on Linux

I developed a command-line (non GUI) C program on Linux using QT Creator, which internally uses gdb as its debugger. When I debugged the program on Windows using Visual Studio, it reported that it was writing outside the bounds of allocated memory (although it did not report the violation at the exact time it occurred, so it was still h...

Changing application folder permissions during installation

I have a desktop application (.NET), and I have prepared an installer for it using a Setup Project in VS2010. A regular user is supposed to run the installer, and he should have administrator permissions. Everything goes according to plan, however the application folder (C:\Program Files\Company\App) has limited permissions. I would li...

Does Visual Studio 2010 create backup files?

Just got a random bsod on my machine and Form1.cs is suddenly empty, any way to restore the code? thanks.. ...

Using ICollection property with WCF Service

I have a class, ExpenseInfo that includes an ICollection<String> property: public ICollection<String> WhoOwes { get; private set; } I have a WCF service that returns objects of type ExpenseInfo. I added a reference to the service in a Silverlight project within the same solution. This generated a bunch of code, including an ExpenseInf...

How to disable ClickOnce (or at least that "Are you sure you want to install this program" window in VS2010 Express

How might I go about creating an application that does not need that "Publisher Cannot be verified" window. How can I get my WinForms app in a .exe file so that I can just click it and it runs, not asking me to do anything? maybe this can be done by disabling ClickOnce but how can you do that in VS2010 EXPRESS? ...

Why am I getting these linker errors?

I'm getting the following linker errors: Error 1 error LNK2001: unresolved external symbol "public: __thiscall AguiEvent<class AguiEmptyEventArgs>::AguiEvent<class AguiEmptyEventArgs>(void)" (??0?$AguiEvent@VAguiEmptyEventArgs@@@@QAE@XZ) AguiWidgetBase.obj Error 2 error LNK2001: unresolved external symbol "public: void __this...

MSTest -> Why Can't I Debug Using BreakPoints?

I setup breakpoints, then run "Run Tests" in Visual Studio. Why don't MSTest run to my breakpoints? ...

About debug UI of visual studio

When an exeption dialog pops up,which line actually has/triggers the problem, the line hinted by green arrow or the line above? Is there any official reference for this corner case? UPDATE So far it still seems that both are possible.Can anyone come up with a final conclusion? ...

An error occurred loading a configuration file: Exception of type 'System.OutOfMemoryException' was thrown.

When I try to build my website project I get the above error, my workstation has 2GB of RAM,Project was being built fine until today.Any Ideas what went wrong. ...

.net micro framework deployment tool

Hi, i want to connect to my AT91SAM9RL board with the .net mfdeployment tool. It only has USB, JTAG and Serial Ports. Which normaly work fine when i use putty Segger GDB or Sam-ba. For some reason the micro frameworks deployment tool can´t find or connect to my board. Any advice ? ...

Does Visual Studio 2010 express prevents Source Controls plugins ?

Hello, I try to install this plugin on my Visual Studio 2010 Express : http://gitscc.codeplex.com/ But I can't find it in the plugin repository, the "Source Control" category of plugins is empty, is that normal ? Does the Express edition prevent utilization of Source Controls plugins ? Thank you ...

vsjitdebugger alternative?

vsjitdebugger gets more annoying when i switched to windows 7. :( i'm a commandline person (vim, msbuild and vsjitdebugger) when developing .NET. I'm looking for a better vsjitdebugger alternative that automatically attaches the application to visual studio (or any application that is less annoying than vsjitdebugger.) TIA :) ...