visual-studio-2010

VMare Fusion 3 and Visual Studio 2010 problem with Shared Folder

Hi I have problem using Shared Folder in VMare Fusion 3 and Visual Studio 2010. When I use ASP.NET Web Site Administration Tool I receive and error "Failed to start monitoring changes to 'Z:\MSDOS......." I suppose ASP.NET it is not able to access the Shared Folder with the right permission. Some one has the same problem? How to solve...

Visual Studio 2010 Ultimate Beta 2 ISO

Hi guys, Has anyone got a copy of VS2010 ultimate beta 2 iso?? Really need a copy, I have the full version but I need to install the beta to compare for some work stuff and I deleted my iso a few months back. Thanks ...

How to change Visual Studio 2010 context menu size

I have enough vertical spaces up and down but Visual Studio context menu restricts context menu and made itself scrollable. Is there a configuration option to change the behavior of how context menu is displayed? Goal: I'd like to display all items without having to scroll. ...

Is it possible to prevent VS2010 killing the WebDev.WebServer process?

Since I've starting using VS 2010 I've noticed that whne I stop the debugger it also kills the development web server. In VS 2008 I would regularly work without the debugger attached. Is it possible to do this in 2010? ...

Is there anyway to generate a database diagram from a SQLite database?

For example, is there a way to import a SQLite db into Visio? Or some other tool that can generate a diagram? Can it be done using VS2010? ...

How to set a usb camera as a source to wpf MediaElemt in VS2010 in c#?

Hi, I have a Windows WPF application and I want to stream a video from my usb camera using MediaElement control. Is it possible to set usb camera as source to MediaElement? I'm using VS2010 framework 4.0 and c# language. ...

What happens between TestMethods in MS Visual Studio Unit Tests

The title says it - What happens between TestMethods in MS Visual Studio Unit Tests? I have a bunch of TestMethods in a TestClass that has a TestInitialize method. The TestInitialize method internally loads a Type via Reflection (eg. Type.GetType("MyContainer, MyContainerAssembly") ). MyContainer is a class that inherits from WindsorCo...

Code coverage in vs 2010

Hey guys, We just switched over to VS2010, and I remember a while back I had setup code coverage for a project I was working on in 2010, and there being a little bit of setup involved. I can't seem to remember the steps in wiring up code coverage with my unit test results. Anyone know the steps? ...

Relative paths in visual studio command-line file directory

I'm writing a post build event for visual studio project. I have: java -jar "$(ProjectDir)..\Tools\closure_compiler.jar" but it turns out to be after compiled: "D:\Projects\Source\Proj.Web\..\Tools\closure_compiler.jar" which is an invalid directory, it just appends the dots. My problem is that I want to go back up 1 directory. Th...

Custom WPF ValidationRule throws Visual Studio DesignTime error

I've created a custom assembly that has some ValidationRules for regular expressions and required fields. As soon as I start using them in XAML, Visual Studio Designer throws the following error. System.Reflection.Adds.UnresolvedAssemblyException Type universe cannot resolve assembly: Validation, Version=2.0.0.0, Culture=neutral, Public...

Remote Debugging Class Library for ClickOnce App

I am trying to setup Remote Debugging on one of our internal systems as there is a Function in class library that keeps failing for our users but not me. I have the Folder Share to my Remote Debugger folder set up and I can attach to the process on there machine but I get the following message --> The following module was built either w...

sql server mdf file database attachment

hello all i'm having a bear of a time getting visual studio 2010 (ultimate i think) to properly attach to my database. it was moved from original spot to #MYAPP#/#MYAPP#.Web/App_Data/#MDF_FILE#.mdf. I have three instances of sql server running on this machine. i have tried to replace the old mdf file with my new one and cannot get the...

Connection string not found when trying to query database under SubSonic

I get this error no matter what version of SubSonic I use. When I query the database for data, it errors out, saying it can not connect to the database. However, it is able to generate the .cs classes(ActiveRecord, Context, etc) when told to do so. Any help is appreciated. Thanks folks... ...

FluentNhib + System.Data.SQLLite VS2010

I know this question has been posted here before, and I've trawled through as many answers as I could find, but I still can't get the simplest test in the world working. 1) I created my test and ensured it was working in in VS2008 and then opened the the solution in VS2010 (so it's all definlaty working, and all 3.5 code with all the as...

Visual Studio 2008 to 2010 'fieldName' is not a member of ...

I created a new project. I copied files from the original VS 2008 project into the new VS 2010 an used "include" in VS 2010. I get an error saying "Error 108 Maximum number of errors has been exceeded." It seems that EVERY field in the webforms\user-controls\ASCX's has the error message "fieldName' is not a member of". I tried a dele...

How can I use unit testing when classes depend on one another or external data?

I'd like to start using unit tests, but I'm having a hard time understanding how I can use them with my current project. My current project is an application which collects files into a 'Catalog'. A Catalog can then extract information from the files it contains such as thumbnails and other properties. Users can also tag the files with...

Opencv2.1 did not start in Win7

I am using VS2010 and opencv2.1. Under Win7, the sample programme is below: #include <cv.h> #include <cxcore.h> #include <highgui.h> int main(int argc, char* argv[]) { IplImage *img = cvLoadImage("funny-pictures-cat-goes-pew.jpg"); cvNamedWindow("Image:",1); cvShowImage("Image:",img); cvWaitKey(); ...

What is the difference among Visual Studio Express edition, microsoft.net and VS professional edition?

Hi, Could anyone guide me as what is the difference among the following, 1) Visual Studio Express Edition 2)Visual Studio Professioanl Edition 3) Microsoft .Net And is there any thing like Visual Studio.Net? Please guide me, as I am currently working on express edition, but my other colleaques are working on different environment which...

How to close file opened by Debugger automatically after debugging?

Hi everyone, While debugging, whenever we step into a method, the file which defines that method will be opened and remains open after debug - this messed up my files in Visual Studio. I want to be able to close those opened-by-debugger files after the debug finished. Let's say I'm opening 5 files already and start debugging. After the...

WinForms Remote Data Access

VS2010: What is the best way to access a remote database over the internet from a WinForms application? By that I don't mean talking to the database (SQL Server) directly, but rather through a service. Best if I could use http as a protocol to avoid firewall issues. ...