why can't i find process class in my System.Diagnostics silverlight project VS 2010
i wanna use process.getprocesses() but it doesn't seem to be in my diagnostics class, why?!!! ...
i wanna use process.getprocesses() but it doesn't seem to be in my diagnostics class, why?!!! ...
I want to push our management to migrate to VS2010 sooner. The new feature in our project is to migrate to TDD. I want to convince that there are endless benefits of migrating to TDD and VS2010 simultaneously. Is there really? VS2008 Pro vs VS2010 Pro - whats good can be used in terms of unit-testing? (sorry for the dumb question bu...
I have a solution with solution folder and projects. Get the whole soure code from TFS in a local folder say c:\mycodes Then copy the folder c:\mycode to another folder c:\lab In c:\lab, remove all source control file *.vssscc, *.vspscc, then open the solution in c:\lab again. Part of the project disconnect from TFS, but part of the p...
I recently upgraded an MSTest project to .NET 4.0 and VS 2010. Several of the tests query an outside vendor service and thus prompt the user for necessary credentials to communicate through our corporate web proxy. This used to work fine in vs2008 but after the upgrade the dialog will only display if the user switches focus from VS to ...
Hello I have a ASP.NET website with a UnitTest project. This worked fine in Visual Studio 2008. When I upgrade the projects (I keep the website in ASP.NET 3.5) and try to run the unit-test to test the Webpage I get the error: The test adapter 'WebHostAdapter' threw an exception while running test 'myTest'. The web site could not be co...
I have a VS2010 solution with a WiX 3.5 (beta) Votive project, (as well as all the projects for the program that I am installing). When I clean the VS solution all of the program projects get properly cleaned, but the WiX project does not - the wixobj, wixpdb and msi files are not deleted. So my questions are: Is what I am seeing expec...
I have a common issue when working with code in the IDE: string.Concat("foo", "bar"); and I need to change it to: string.Concat("bar", "foo"); Often I have several of these that need to be swapped at once. I would like to avoid all the typing. Is there a way to automate this? Either a shortcut or some sort of macro would be grea...
Just installed VS2010 on Windows 7 and am having an issue with include directories while attempting to compile existing C code. VS2010 appears to search the project directory first for include files regardless whether the <file.h> or "file.h" include format is used. Is there a way to force a different ordering for system include files ...
can some one explain the difference between Team Build + MSBuild ? also how do they differ in relation to VS2008 and VS2010? ...
I Recently I installed VS2010 on my desktop. Everything was fine until I started noticing that after each build my computer freezes up(for almost 2-5 minutes). I removed all the extensions and tried still no luck. Any suggestions ?? ...
Hi I'm trying to create a new "Local Database Cache" item in Visual Studio 2010 to sync against a local Sql Server Express 2008 R2 database. When the wizard pops up though the "Use SQL Server change tracking" checkbox is disabled. Any ideas? I tried running ALTER DATABASE MY_Database SET CHANGE_TRACKING = ON but that had no effect. ...
I hear that Visual Studio 2010 has "Multi-Monitor Support". Yet now that I am using it, I see no difference from VS2008. I still have to resize all my windows when switching from one monitor to two and back again. Is there somekind of Profile or setting I am missing? For example, Delphi lets you save desktop profiles that record wher...
I'm developing a unit test project (let's say XXX.UnitTest) to test ViewModels in another project (XXX) in my solution. I can add the reference but when I build, an error states that it cannot find that same project (XXX) Error 42 Could not load file or assembly 'XXX, Version=1.0.2.66, Culture=neutral, PublicKeyToken=null' or ...
Hi all, I converted a VS2008 solution that contains some unit testing projects to VS2010. After the conversion I tried to compile the solution, but I'm getting the following error: The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) The namespace declarati...
I have a setup project with a few items to install (Out-of-Browser Silverlight apps). The requirement is to create an installer with zero .NET dependency, that will install Silverlight if it doesn't already exist. It also needs to run completely offline. There doesn't seem to be a merge module or bootstrapper for Silverlight, and if I...
I have a couple of different solutions, in which some projects may depend on output from projects in other solutions. To manage this, I've been copying dll files from the /bin/ folder in each project to a shared library location after build, and then copy/reference them from there to the dependent project. However, as the library soluti...
I've recently started to use Visual Studio 2010 and its new version of the WPF Datagrid control. I've noticed something weird with it and was wondering whether it was my code, by design or a bug in the control? I've created a simple datagrid and bound it to a dataview. If I set its IsEnabled attribute to false, I would expect not to b...
Hi, We have a not very complicated but big (i.e. lots of files) Visual Studio C++ Win32 Console written in C++0x standard in VS2010. It does not use any non standard code or anything (Hopefully!). I now wanna port it to Linux. Which way is the quickest way to do it? autoconf? old-fashioned make file? any other solution? ...
Hi! I've created a windows service in VS 2010 which references the model conveniently placed in a separate project which compiles to a dll. I have no problem referencing this dll in other parts of my solution (web apps), but in my windows services the following symptoms display: Compiler error: The type or namespace %%% cannot be foun...
Visual Studio 2008 did let you reference an assembly A targeting a higher framework version than that of the assembly B that references it. Visual Studio 2010 doesn't allow for this any more. The full issue is described on MSDN: You can create applications that reference projects or assemblies that target different versions of t...