vsts2010

use VSTS 2008 together with VSTS 2010

Hello everyone, Could I install VSTS 2008 and VSTS 2010 on the same machine? Any conflicting and any special care needs to take? thanks in advance, George ...

VSTS 2010 version issue

Hello everyone, I have tried hard to find something to learn VSTS 2010 version comparisons, like Ultimate version, professional version, etc. Any brief document desribes their functional differences from developer perspective? thanks in advance, George ...

Team Build, SGen & Mixed mode assembly

Bit of a strange one here guys. We have a fairly complex (111 projects spread across asp.net, silverlight, WFC, Ria Services etc) solution, which builds correctly on my dev box (2010). If I fire up VS on our build machine, I can also build the solution correctly. However, when I queue a build, it almost makes it through, until it attem...

Forbidden to browse WCF svc file?

Hello everyone, I am using VSTS 2010 + C# + .Net 4.0 + IIS 7.5 + Windows 7. When I open an svc file (in IIS manager, right click the svc file and select browse) for a WCF project in IIS, there is an error like this, any ideas what is wrong? This type of page is not served. Description: The type of page you have requested is not served...

IMetadataExchange issue in WCF

Hello everyone, I am using VSTS 2010 + C# + .Net 4.0 + IIS 7.5 + Windows 7. I am following MSDN sample here without any modifications, http://msdn.microsoft.com/en-us/library/ms733766.aspx When I open the service.svc file (in IIS manager, right click the svc file and select browse) in IIS, there is an error like this, any ideas what is...

open WCF svc file error in IIS

Hello everyone, I am using VSTS 2010 + C# + .Net 4.0 + IIS 7.5 + Windows 7. When I open a WCF svc file in IIS 7.0, there is some error like this, any ideas what is wrong? System.BadImageFormatException: Could not load file or assembly 'foo.test' or one of its dependencies. thanks in advance, George ...

Silverlight 4 screen capture function

Hello everyone, I am wondering whether Silverlight 4 is able to capture screen as image or capture screen operations as video? Or both? Is there an online Demo to experience the effect? I am using C# + .Net 4.0 + VSTS 2010 + ASP.Net + III 7.5. thanks in advance, George ...

web.config issue in ASP.Net

Hello everyone, I am using VSTS 2010 + ASP.Net + C# 4.0 to learn someone else's code for a WCF application. I find besides Web.Config, there are also Web.Debug.config and Web.Release.config. I searched the content of Web.Config, but cannot find any reference to Web.Debug.config and Web.Release.config. However in VSTS 2010 IDE solution e...

connection string issue in web.config of ASP.Net

Hello everyone, I am using VSTS 2010 + C# + .Net 4.0 to develop an ASP.Net application using SQL Server 2008 Enterprise as database. I am learning someone else's code. I notice code like this, I am not sure whether the usage is correct and so I come here to ask for advice. In the code, I see some code like this, I want to know whether ...

Cannot find any coverage data (ASP.NET MVC2)

I am having some issues with getting Code Coverage working with an out-of-the-box ASP.NET MVC2 Web App VS2010 Ultimate, File > New Project > ASP.NET MVC 2 Web Application > Yes, Create unit test project with Visual Studio Unit Test. I then Rebuild All, Run All Unit Tests, Go to Code Coverage and get the following message: "Cannot find ...

Nunit and code coverage for C#

Hello everyone, I am using C# + .Net 4.0 + VSTS 2010. I am wondering whether Nunit is the best and easy to learn unit test tool for this platform (C# + .Net 4.0 + VSTS 2010)? If yes, I want to learn basics of Nunit, and also want to find how to generate code coverage report based on Nunit result (e.g. code coverage report to show which ...

How do I set up NUnit to run my project's unit tests?

I'm starting to use NUnit to write test cases in C# and Visual Studio 2010 and .NET 4.0. I want to use NUnit to test against a DLL (a C# class library project)'s public functions. How do I set up NUnit to work with my project? Should I add UNnit code to the same class library project to test against? Or add a separate project in the...