Deleting ordered test produces "Value does not fall within the expected range" message box? In order to do Test Management, you need to have the Team Edition for Testers. Someone has obviously created the OrderedTest using that edition, so you will need to access that edition or have the creator remove the Test.
-paul Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Team Foundation Server with Visual Studio 2005 Non-Team Edition TFS will work inside a regular Visual Studio 2005 with the Team Explorer client installed, however if you are not using on of the Team Editions then you will need to purchase CAL's for TFS. The Team Editions contain many additional features over and above the collaboration features provided in Team Explorer and hosted by TFS. For example the developer SKU gives you access to Microsoft new Unit Testing framework, static code analysis and much more. Tester gives you access to recording web tests etc (useful when testing ASP.NET apps). However, if it is just source control and work item tracking that you want then TFS + CALS may be all you need. Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
AssemblyInfo task - use exiting AssemblyInfo.cs values in new file. Ok, so what you wanted to say was write a simple custom task dll, eh So i did, like this
Code Snippet
using System; using System.Collections.Generic; using System.Text; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace StringManipulation.Tools.MSBuildTasks { public class SimpleTask : Task { private String InputString; private String AttributeString; private String ReturnStringValue; public override bool Execute() { int iStartChr; int iEndChr; int iAttributeString; int iNewStringLength; iAttributeString = AttributeString.Length; //Log.LogMessage("AttributeString is " + iAttributeString + " long"); iStartChr = InputString.IndexOf(AttributeString) + 2 + iAttributeString; iEndChr = InputString.IndexOf("\"", iStartChr); iNewStringLength = iEndChr - iStartChr; //Log.LogMessage("ReturnStringValue is " + iNewStringLength + " long"); ReturnStringValue = InputString.Substring(iStartChr, iNewStringLength); return true; } [Required] public string SourceString { get { return InputString; } set { InputString = value; } } [Required] public string AssemblyInfoAttribute { get { return AttributeString; } set { AttributeString = value; } } [Output] public string AttributeValue { get { return ReturnStringValue; } set { ReturnStringValue = value; } } } } With a msbuild like this to use it.
Code Snippet
<Target Name="Build"> <ReadLinesFromFile File="AssemblyInfo.cs"> <Output PropertyName="MyText" TaskParameter="Lines" /> </ReadLinesFromFile> <SimpleTask SourceString="$(mytext)" AssemblyInfoAttribute="Guid" > <Output TaskParameter="AttributeValue" ItemName="OutPuttedText" /> </SimpleTask> <Message Text="@(OutPuttedText)" /> </Target> Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Associating WI with Build I'm still looking for a way to achieve this. Does anyone know if there is a build task that can be used to update all Work Items associated with the changesets included in the build For example, if I could programatically (within the build script) update a Work Item field (either a standard field or a custom field) during the build, then I could base my query off that.
Any ideas Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
installed VS 2005 and open website and new website menu items missing on other machines i've installed VS webdeveloper 2005 Express and the open website and new website menu items are there. on this machine, the open website and new website items are missing. Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
No files in "Binaries"-Folder: OptionSettings in .vcproj? Since I already deleted 2 answers I posted to my own thread cause I thought I found the solution, here my third try: in the property-file exist following lines: <Tool Name="VCLinkerTool" AdditionalOptions="/MACHINE:I386" AdditionalDependencies="odbc32.lib odbccp32.lib" OutputFile=".\Release\cpp300.dll" LinkIncremental="1" SuppressStartupBanner="true" ModuleDefinitionFile=".\cpp300.def" GenerateDebugInformation="true" ProgramDatabaseFile=".\Release\cpp300.pdb" SubSystem="2" BaseAddress="0x22500000" ImportLibrary=".\Release\cpp300.lib" /> If I delete the marked lines above the copy works. Has anyone an idea why And why do I get a "Successful Build" although the copy doesn't work - Chris Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Code Coverage Exception.. Mark, I think the issue you have is that the .pdb file is not up to date with the .dll/.coverage file, such as one of [.pdb, .dll] files are newer than the other one, or .coverage file was created with older .dll/.pdb files. All 3 files should be in sync in order to see coverage data: .coverage, .dll, .pdb. Have you rebuilt your project since last time you were able to see coverage data I would recommend a couple of options for you:
- Rebuild you project and re-run the test with code coverage.
- If you still have TestResults directory for test run you want to see coverage data for, open corresponding .trx file, or, if you lost the .trx, go to TestResults\<Test Run Name> directory, and copy .dll/.pdb from the Out subdirectory and .coverage from the In subdirectory to one directory, then double click .coverage file to open it in VS.
Thanks,
Michael Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Deploying multiple versions of Team Suite You would easier cause more problems by trying to customize installations than what you would gain. Various VS editions indeed have lot in common, but I don't think that you can easily use that fact.
I would advise you to simply reserve those additional 6-7GB...
Ognjen Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Customising alert emails to link to TeamPlain I think the people in the teamplain forum should be able to help you more. I'm not sure if teamplain use the teamplates you are referring. These templates are used in subscriptions Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
What is the key field value format for existing Dimension Table Hi Jim,
Check out the following link which has some sample code on how to achieve what you need to do: http://msdn2.microsoft.com/en-us/library/bb130310(VS.80).aspx
The answer to your question is to use:
FactEntry fe = m_IDataStore.CreateFactEntry("WorkItem");
fe["Work Item ID"] = wi.ID;
thanks,
Othmane Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Nested Shape problem Did you follow this paragraph in the sample documentation
The model in this example includes a reference relationship "ComponentReferencesChildren". This is not mapped to a connector, but instead is updated with changes in the nesting on the diagram. When a new component is dropped from the toolbox onto another component, an Element Merge Directive (defined on Component and accepting Components) both creates a link of ComponentReferencesChildren, as well as embedding the new Component in the model root.
-- Steve Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
How to stop a field displaying across 2 pages Hi There,
I have description fields of varying length on a report, and sometimes they grow to a point where a field will stretch across 2 pages.
Is there any way I can set the properties of a field on a report so that if it does cross a page, it automatically moves the start of the field to the top of the new page instead of being chopped across two pages
Thanks,
Chris Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Add in Active Document Change Hi Sasha,
You could use EnvDTE.WindowEvents.WindowActivated event. Or if you are package based, you could implement IVsSelectionEvents.OnElementValueChanged and handle the case when it's called with SEID_WindowFrame .
Sincerely, Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
View diff between server and workspace? You may run get command using command line client with /preview switch; that should give you the idea what would happen in the actual get.
Regards, Eugene Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Copy To Output Directory doesn't work with websites I have a class library which contains an xml file that has "Copy to Ouput Directory" set to "Copy if newer". This works fine with all projects except Web Site projects. The Web Site project references the class library project and the class library assembly ends up in the Bin folder of the Web Site. But the xml file is never copied.
Does "Copy to Output Directory" not work with Web Site projects Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Are MSBuild '/target' command line parameters exposed inside a build project? Hello,
As far as I know this information is not exposed; you could create a property and update it in each task called and thus identify the order of tasks (roughly - as you need to take into account dependncies between tasks).
I wonder, why would you want to do that
Regards, Eugene Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
The maximum number of errors has been reached. What is an example of an error What is the sense of building when you can't deploy due to errors In Data Dude a "build" is the same thing as generating a deployment script. If it can't generate the script due to the errors, then you can not have a successful build. This generally doesn't stop you from working though (to resolve the errors).
Or is that the problem, are you not able to work on the project (resolve the errors / errors are not being listed) because of the amount of them That would IMHO be a bug.
Warnings should not prevent you from building a project successfully.
Alle Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Problems with anchors in index entries I found a fix. No idea why this works, but it does. In the help.hhp file:
[OPTIONS]
Binary Index=No
Thanks anyhow! Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
customize build process This blog post has instructions on how to implement your own build numbering sequence. Is this what you are trying to do Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Using the MPF to Implement a Project Type (C#) Hi Tom,
You need to ensure the package you're building is registering itself properly. There are a number of attributes on the package class that help set up the necessary registry keys. This can be done manually by running the RegPkg.exe utility. Or you can use the <RegisterOutputPackage> property in your .csproj file.
I'm guessing this is why you aren't seeing the requisite registry keys under that experimental hive.
Sincerely, Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
R Sridhar, you need to check your application. You might be doing some CPU intencive opetations because of which you see 100% usage.
And, there are some settings on IIS6.0 application pool level, you can specify the maximum CPU usage by the pool.
But, you should check your application first to verify why it is using all your CPU Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
How to add refactoring to a language service? Hi gimmecat,
AFAIK, there is no such possibility. I think that is the one of the right directions for feather VS SDK evolution.
Please, let me know - are you going to post a suggestion on Microsoft Connect for it I think this is a really good suggestion. Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
TF14098: Access Denied: <user> needs PendChange permission(s) for <path> Dear Ged325:
Sorry I am not sure I have caught your means. If there is any misunderstanding, please let me know. Thanks.
Do you mean that you clear the 'Inherit security setting' check box in the security tab of Properties of 'DB folder' and add the [project]\Database Developers Group to the 'Users and Groups' List Box
Thanks again. Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
How to Analyze the load test result.How will the performance will be measured? See this online doc topic: http://msdn2.microsoft.com/en-us/library/ms182591(VS.80).aspx ,
or this article: http://msdn2.microsoft.com/en-us/library/aa730850(vs.80).aspx . Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Printing unlinked Subreport Okay, this wasn't nearly as bad as I thought. The answer is to have the subreports built using the default, at load time, not ondemand. That makes sense, if it's ondemand the user would need to click on the report to load it. You can't print what hasn't yet been loaded into the viewer.
To make this work I add a new report footer and create a new subreport. If the subreport requires 2 pages, then I'm planning on splitting the report into 2 subreports.
Danny Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Unresolved Assembly Reference The June CTP added a new <resolver> tag to the MRefBuilder.config file which might be affecting it. In the build that fails with the help file builder, go to the .\Working folder, edit the config file and remove the <resolver> tag. Run GenerateRefInfo.bat and see if it runs without the unresolved reference error. If it doesn't, try deleting the config file and running it again. Does that make a difference
Eric Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
General Problem: Checking out exe, dll, pdb-files Why do you want to check out the outputs You mean that after every build you will check them in
In similar situation, we used to make sure that those source controlled outputs are made writable in pre-build step for every project (using simple attrib command). That will allow you to retain the structure and workaround the error of the compilation.
Regards, Eugene Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Unit Testing In the menu go to Test->Windows->Test Manager if you have Team Edition for Testers or Test->Windows->Test View if you have Team Edition for Developers.
Hope this helps.
D. Omar Villarreal Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Orcas Beta 1 upgrade from TFS 2005 Hello Hatt:
From the RoadMap :
Beta 2:
Upgrade from TFS 2005
There is no beta 2 now.
From VSTS future release
It seems to come in Mid-year CY 2007.
Thanks. Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Add Domain Proprieties (via code) on designer load Hi there,
I don't quite understand what you want to do: do you want to add new elements to your model whenever it is opened, or when the user takes some action
Extensibility points: unfortunately we don't have all of the extensibility points documented in a single place. There are a lot of them, and they are spread across the layers that make up your target designer (e.g. core VS extensibility, the Managed Package Framework, the runtime DSL libraries and options in the Dsl Designer such setting "custom" or "double derived" = true). The best starting points are probably the MSDN documentation on the Dsl Tools and VSIP, or this forum.
Duncan Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Problems setting up SSL for internet sourcesafe access Hi,
I wonder if anybody has a clue what the problem is when trying to use SSL (works ok without)
i keep getting 'Failed to enforce SSL requirement on IIS....config IIS to allow SSL connections...'
on a standard SBS 2003 box
Has a certificate which is used for exchange 'webmail' access (i.e cert on mail.domain.com- accesed with mail.domain.com/exchange)
source safe application is in the default folder (along with exchange and others)
i assumed i could use the same certificate for the source since since its also a subfolder .. if not how would i install another certificate on the sourcesafe subfolder
Ive searched, here and other places and read Alin Constantin help webapges on setup.
but im stuck on what the problems is or how to solve it..!! Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
Tooltip on a node in the solution explorer? Is it possible to have a tooltip for the nodes in the solution explorer. I have a custom project and wish to have tool tips on my reference nodes. Is this possible Tag: Team Foundation Server - Build Automation Desktop Build with a Get? Visual Studio
simon burgess
Is there a way to use the Desktop Build functionality in Team to also do a 'Get latest' from source control. I guess there would be a way to write an MSBuild file wrapper to do the get and then call the standard Desktop Build, but is there an easier way I tried overrriding the SkipGet variable but this didn't work, any ideas
Re: Team Foundation Server - Build Automation Desktop Build with a Get?
Swaha Miller
Unfortunately, no. Desktop Build only performs compilation and tests. Doing a get followed by a standard desktop build would be the only way of achieving what you want.