Answer Questions
cliff2006 TestResults directory, external resources
Hi, I'm having problem running my tests, accessing an external xslt file resource. I have "Copy to Output Directory" set to "Copy always", but when i run the test the assembly is run from the TestResult, testrun directory, meaning that the file is not copied to the used output directory... I saw a an old similar discussion about app.config files, but this regards the released .NET Framwork 2.0. Is there another mechanism for doing ...Show All
adelgado Invoking the data generator from the command line
Do we have the ability to invoke the data generator from the command line or as a part of the deployment of the database (i.e. using the Deploy Selection command) This would be useful in automated build setups where we need to perform some sort of intermediate check after a successful creation of the database on the server but before actually loading some (test) data in it. -Tanveer Rashid In CTP3, we ...Show All
Orko How do I run new UnitTests automatically?
Hi I’ve setup up a Nightly Build on the Team Foundation Server, which build my solutions, and runs UnitTests. Using the “New Team Build Type” wizard I’m only able to select a predefined list of UnitTests, and we have to remember to add new UnitTests to this list (using Visual Studios Test Manager). Of cause we all forget to add new tests to this list, and think that the build is ok, even if a new test is failing. Can I configure the Bui ...Show All
BogN Accessing base class protected variables in derived class test
I have a class structure with derived class, where the base class has protected variables. In the testing code for the derived class I need to set valkues of those protected variables but it doesn't appear that the generated code generates accesors for those variables. So I have public class Base{ protected int foo;} public class Derived : Base {} public TestDerived { [TestMethod] public void ProcessResponseDataTestStatus200() { &nbs ...Show All
somone Want to rename an existing WorkItem
I've created a new work item in a project using the witimport.exe utilitie. I now want to change the name of the work item and have been unable to find and documentation or tools to do this. --JonPL Understand, can't have everything all at once. I have played around with the backend and was able to eaisly rename it and have it work fine on one TFS server but have some issues with another server. The serv ...Show All
NiceWk Multiple classes and namespaces
Hi, I am supposed to do a couple of rules using fxcop: avoid multiple namespaces in a file and avoid multiple classes in a file. The CCI classes missing api document is hindering a little bit. I tried using the sourcecontext object, but it returns null for the source text and thus can not parse it and see in which file is a class implemented in. The other thing is that the following code does not tell me if a namespace had anoth ...Show All
Netenrich "This type of page is not served" on all ASP viewed in browser with VS2005Beta
I don't know if it's a know problem or not. I get a " This type of page is not served" on each attempt to view any ASP page in the browser with the local host. I haven't yet installed ISS, and don't know if that might be part of the issue. I'm really only using this in a limited scope to attempt to creat a simple shopping cart, If anyone has a suggestion for a similar program not currently in beta, that would be appreciated too. ...Show All
pogar Constraint error when restricting zone to port 443
I am attempting to constrain the input DMZ port to SecureBindings Contains One Port 443, but am getting an error when I press OK that states: "Cannot change conformance checking to Document. Make sure the ConformanceLevel in XmlReaderSettings is set to Auto for wrapping scenarios." What does this mean Hello I cannot repro your issue. I followed the walkthrough Creating a Security Zone Part 1 and d ...Show All
vshitn shared types in the distributed system designer
gday, I'm creating a couple of webservices in the AD (application designer), and I want that some of these webservices are using a shared type (class person.cs). there's a possibility to use the tool wsdl, the generate webservices with the same shared type (without using the visual studio). But how can I use this by using the AD or the Distributed System Designer integrated in the visual studio normally it adds the web reference to m ...Show All
Richc12345 Ignore HTTP 401 returns
I am writing a web test for an site that has different user roles/permissions. I recorded the test with the user with all the permissions. When playing back the script with another user I get HTTP 401 errors so the test fails. Is there anyway to ignore these so that the test passes or only call these links if you are logged on using a certain user If the failing requests are dependent links (gif, css, js, etc ...Show All
Federico Benitez Can't get past the 26204 error
I cannot seem to get the data tier installed, it keeps failing with a 26204 error but I can't see anything obviously wrong. I've checked the list at http://blogs.msdn.com/askburton/archive/2004/09/03/225386.aspx but everything still seems OK. - The server is a Windows 2003 Enterprise Edition (not SP1) server. - It's a member of a 2003 Active Directory. - I've created a domain account called TFSSETUP and added this to the servers ...Show All
Rags707 Unit Tests - Test generation settings
How customizable is the 'Naming settings' in the 'Test Generation Settings' dialog of Visual Studio Team Test edition for creating tests For e.g. the default naming setting for a method name in Team test's test creation wizard is [Method]Test. I however want to name the method test for a method that takes in 2 int parameters as [Method]Test_Int_Int and a different method with the same name that takes in a doubl ...Show All
Andy Leichtle Work Item Update Collisions
I've noticed inconsistent behavior in how Team Founation Server handles collisions when a work item is updated from two places, simulatneously. For instance the following steps generate an error: - Open task with ID 4 in visual studio, and change a value. Do not save yet. - Open work item query in excel and modify the task wtih ID 4, and publish the changes. - Save the changes to task with ID 4 in visual studio. When trying to save the work i ...Show All
Vedat ARAL Mechanism for Notification in VSTS
Hi , I would like to know , if there is any mechanism for notification or sending mails in VSTS(i am already aware of alerts)i would like to use this feature for sending mail to group of people. For example, if i want to schedule a review meeting and want particular group of people to attend that meeting, how do i notify them for the scheduled meeting. I want to send a mail to the attendees of the meeting. Is there any way for the same i ...Show All
VB.net Marcel Problem getting performance sessions from unit tests
I can't performance sessions from my unit tests when I right click on a unit test. Sometimes I get: Instrumentation error while processing file <dll>: Error VSP1018 : VSInstr does not support processing binaries that are already instrumented. Code coverage in-place instrumentation: The binary <path> was changed during the test run and won't be restored. It may be restored manually from this directory: <path> Code coverage in- ...Show All
