Answer Questions
Nikolay S FxcopInputAssembly VS 2005 beta-2
Hi, This info was useful. I'm trying to import c++ dll in c# program. Evenif we have done same output folder for unamanaged, managed and consumer folder it is still showing same error. "Load of property 'FxCopInputAssembly' failed. The 'FxCop Input Assembly' must be under the project folder. " sometime it was showing the file vc80.pdb is changed when it was precompiled, basically it is unmanaged project vc80.pdb is overridde ...Show All
coolio999 CA1303 DoNotPassLiteralsAsLocalizedParameters - false positive on blank string?
The following code is causing a CA1303 DoNotPassLiteralsAsLocalizedParameters error: [ STAThread ] static void Main() { Label testLabel = new Label (); testLabel.Text = "" ; } Perhaps there should be an exception for blank strings They're the same in every locale ;-) Thanks! This rule, along with other rules that t ...Show All
Michael J Add Users to Global Group AND/OR Porject level groups CAN NOT find DOMAIN outside build server
Add Users to Global Group AND/OR Project level groups CAN NOT find DOMAIN outside build server ---------------------------------------------------------------------------------------------------------------- Per Pete Sheill Alert of Wednesday, February 22, 2006 4:18 PM - I am advised to use the Team Studio GUI interface to add users to appropriate projects/groups for Build.Notification. I search for the applicable MSFT web page about Addin ...Show All
zadcoe "Object reference not set to an instance of an object" connecting to Team Foundation Server
When connecting to team Foundation Server, when clicking on Ok in the connect to TFS dialog, I have an error "Object reference not set to an instance of an object". Everything worked fine after installation. I put some sample project under source control, made team projects, builds ok. I don't know what did things went wrong but after an attempt of loading a solution, I keep having this error when connecting to TFS. Maybe one thing: I ...Show All
Nick Spacek Problems generating unit tests when using a typed data set with a partial class
Hi, I'm new to unit testing and had a problem with the following (VB.Net). I have a typed data set in my application and I have extend the functionality of this data set using a partial class (rather than inheriting it). So, I've got a dataset called lets say "SomeDataSet". It has one table and one field. I then extend it by creating a new class like: Partial Public Class SomeDataSet End Class (Even a blank partial class will cause a ...Show All
VNewbie Manual unit tests
I have some unit tests that need user interaction to verify that the correct results happen (e.g. for testing plug and play events). These unit tests are obviously not suitable to be run automatically by a build machine. I thought the manual unit tests might be appropriate to address this but they appear to be little more than a document with no actual code that runs. What is the recommended way of marking such a unit test so that it is not run ...Show All
Event666 Web Cache Control Headers - and documentation
I couldn't see if cache control headers are being processed correctly. I set up a test against a web site that had the stylesheet (Used in all pages) cache control header set to a max-age value (So it should not be refetched from the server - for max-age seconds). However test run shows the stylesheet repeatedly being fetched from the server (within the session). Should this be working Also I am finding the documentation difficult, I am t ...Show All
inetnerd Web Test Failure with useless message
Help... I'm running a web test that I haven't run in a little while and for some reason now I get the following error message: Failed to Queue Test Run 'jxl0575@MCSD-DEV 2006-03-18 22:03:58' with id {d5e8f11b-2792-4d81-94c5-3ba41d614c65}: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has fai ...Show All
Prams Bug Rates Report - Getting very weird report
The report "Bug Rates" used to work great. It shows us how many Work Items were in the System, how many were resolved, new active etc. (the way it should). I exported 250 Work Items from one of our products as a trial for TFS, threw them into Excel, and published. This worked great. The Report showed a huge spike of Work Items. Now, I've gone through all those Work Items, and instead of having them assigned to me, I have them assigned to " ...Show All
bluethedog TF30177: Team Project Creation Failed
I am trying to create my first Team Project and this is the error I'm receiving from the wizard: Error Unable to connect to the specified source control server on the Team Foundation Server localhost. Explanation The Team Project Creation Wizard was unable to connect to the Team Foundation Server {0}. Without a connection, the wizard was unable to create the team project root directory on the server. User Action Contact the adm ...Show All
lsproc What features are specfic to VSTS Tester edition?
Can anybody elaborate which features are specific to VSTS Tester edition, that are not also in Developer (besides the Load Testing and Web Testing features) Thanks! There are some interesting demo at http://lab.msdn.microsoft.com/teamsystem/teamcenters/tester/default.aspx and webcast at http://www.microsoft.com/events/series/msdnvsts2005.mspx Regards, Pierre Thanks Ajay - I've seen that graphic be ...Show All
Greg Smalter Custom "FxCop" rules in VS 2005 Code Analysis?
I've written several custom FxCop rules that I want to use with VS2005's Code Analysis engine, but I can't find any way to add-in my custom rules assembly. I know Beta 2 doesn't have all the documentation yet, but can someone tell me how to build a custom rules assembly for VS2005 and get it installed for use in a project Thanks! FxCop can't find your rule xml resource. Are you sure you see the rule xml resour ...Show All
JVled How to simulate a button click in a web test
Some of my web tests are failing to simulate certain button clicks. This happens after I fix ViewState issues in the generated code (by removing the hard coded viewstate and replacing it with Context[ "$HIDDEN1.__VIEWSTATE" ]). I need to know how to simulate the button click in a C# coded web test. Thanks. I may have found something... http://msdn2.microsoft.com/en-us/library/ms148348 I would still appr ...Show All
Thomas Koch What are some steps to optimize a application?
Mateusz I might suggest refactoring (part of Test Driven Development) to help optimize your code. This is a process you'll have to learn to do as Visual Studio can only go so far in making your code more efficient. I just found this online book which will likely get you going: Download Essential Skills for Agile Development ...Show All
bronce32 Project creation Failed with error:
I have sucessfully installed SQL 2005, VS 2005 and VS Team Server on a virtual 2003 Standard Server. But when trying to creat a project I get the following error. Project creation Failed with error: "Initialization failed for plugin(s): 'Microsoft.Pcw.wss', 'Microsoft.Pcw.currituck'" Please let me know how to resolve. Following is the content of the project creation file --------------------------------------------------------------------- ...Show All
