Quantcast
Channel: Team Foundation Server - General forum
Viewing all 6687 articles
Browse latest View live

Unable to build Windows 10 Universal App using local VSOAgent running on Windows 10 c/w VS2015 - is it supported?

$
0
0

I am trying to build a Windows 10 Universal app using a local VSOAgent on a Windows 10 machine that has Visual Studio 2015 installed, but get the following errors when the build runs from VSO:

  • ##[error]UniversalAppTest\UniversalAppTest\UniversalAppTest.csproj(0,0): Error WMC1006: Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'
  • XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'
  • ##[error]C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(263,5): Error WMC9999: Type universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

As I say, VS2015 is installed so therefore the Windows 10 SDK is installed but looking at the system capabilities of the agent the Windows Kit and WindowsSdk capabilities all refer to Windows 8.1 (see image below).

Are Windows 10 universal apps supported at the moment and if so how do I configure a VSOAgent to build them?


Error running tfspreugrade tool

$
0
0

I'm attempting to run the TFSPreUpgrade tool for TFS 2015.

Here is what I type in (and I'm running this from the sql server named: sql-server-name).

tfspreupgrade estimate /targetdatabasenames:"sql-server-name;tfs-collection-name" 

(The sql server is using the default instance.  The tfs-collection-name is the database name on the server.)

I get the following error:

Primary log: Y:\tfs 2015\TfsPreUpgrade\TfsPreupgrade\Logs\TfsPreupgrade_Estimate
_20150817_103119.log
Execution Time: 00:00:45.7691048
TF246017: Team Foundation Server could not connect to the database. Verify that
the instance is specified correctly, that the server that is hosting the databas
e is operational, and that network problems are not blocking communication with
the server.
A network-related or instance-specific error occurred while establishing a conne
ction to SQL Server. The server was not found or was not accessible. Verify that
 the instance name is correct and that SQL Server is configured to allow remote
connections. (provider: Named Pipes Provider, error: 40 - Could not open a conne
ction to SQL Server)
Access is denied (or The system cannot find the file specified)

What am I doing wrong?


Bruce



Team Explorer add-in for Excel in 2015

$
0
0

In our organisation some employees only works with planning of user stories and tasks. Sometimes it's easier to work with them in Excel when changing a single property in a great number of use stories. Previously there has been a standalone limited version of VS (no development support) that one could install on their PCs. In TFS 2015 there doesn't seem to be such an alternative. Does the Excel add-in nowadays require a VS version that fully support development?

BR,Mats-Ove

TF30177: Team Project Creation Failed

$
0
0

Hi

I am using TFS 2015 RTM und VS 2015 and try to create a new Team Project but getting always this error!

Error 
TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task Queries from group WorkItemTracking.  

Explanation 
Plugin error text: “Object reference not set to an instance of an object.”  

TF30177: Team Pro 
Contact your Team Foundation Server administrator.  

Some Infos from the log file below...

Does anyone know this error?

Thanks

Martin

2015-08-18T11:32:12 | Module: Engine | Thread: 7 | Running Task "ProcessConfiguration" from Group "WorkItemTracking"
2015-08-18T11:32:12 | Module: Work Item Tracking | Thread: 7 | Processing element ProjectConfiguration.
2015-08-18T11:32:12 | Module: Engine | Task "ProcessConfiguration" from Group "WorkItemTracking" completed with success | Completion time: 0.3840975 seconds
---begin Exception entry---
Time: 2015-08-18T11:32:12
Module: Engine
Event Description: TF30162: Task "Queries" from Group "WorkItemTracking" failed
Exception Type: Microsoft.TeamFoundation.Client.PcwException
Exception Message: Object reference not set to an instance of an object.
Stack Trace:
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.TaskExecutor.PerformTask(IProjectComponentCreator componentCreator, ProjectCreationContext context, XmlNode taskXml)
   at Microsoft.VisualStudio.TeamFoundation.PCW.ProjectCreationEngine.RunTask(Object taskObj)
--   Inner Exception   --
Exception Message: Object reference not set to an instance of an object. (type NullReferenceException)
Exception Stack Trace:    at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.QueryTask.Parse(Boolean execute)
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.WitPcwTask.QueryTask.Execute()
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Parse(ContextWrapper wrapper, XmlNode taskXml, Boolean fExecute)
   at Microsoft.VisualStudio.TeamFoundation.WorkItemTracking.WitPcwPlugin.PcwPluginComponentCreator.Execute(ProjectCreationContext ctxt, XmlNode taskXml)
--- end Exception entry ---
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "VersionControlTask" from Group "VersionControl" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "BuildTask" from Group "Build" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "LabTask" from Group "Lab" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "TestVariable" from Group "TestManagement" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "TestConfiguration" from Group "TestManagement" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "TestSettings" from Group "TestManagement" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "TestResolutionState" from Group "TestManagement" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "Site" from Group "Reporting" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "Populate Reports" from Group "Reporting" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "SharePointPortal" from Group "Portal" will not be run because a prior task failed.
2015-08-18T11:32:12 | Module: Engine | Thread: 10 | TF30202: Task "" from Group "" will not be run because a prior task failed.
2015-08-18T11:32:13 | Module: Engine | Thread: 40 | Deleting from Build ...


WI

$
0
0

Hi , 

I need to expot WI to excel file, how ?

BR

Yos

Can web-based MTM screenshot capture be the same as the client?

$
0
0

I have an issue when running MTM test scripts via the browser based format. It appears that the only way to attach screenshots is to manually drop the screenshot into a folder, and attach the screenshot from there. This takes quite a bit of time when it is totalled up.....can the screenshot capture not be done in real-time, as it is when running MTM tests through the client? 

By this, I mean when I want to attach a screenshot when running tests through the client I can select the 'Capture rectangle screenshot' option and crop a screenshot to the size I like. Once I have finished cropping it automatically attaches a screenshot to the test step. Can this functionality be added to the web-based version? It would make life a lot easier


Andrew Tilston

Query of the form "Work Item Type = OR TAGS Contains " times out

$
0
0

We have a multi-tier TFS2013 Update 4 instance running with 48755 work items.

When running the query:

Work Item Type = [SomeWIT] Or Tags contains [SomeTag]

It either runs extreamly slow or times out. While the query is running, on the data tier, RAM is unaffected and one of our 2 Proccessers is pinned.

Is there something we can do to increase the performance of a query of this nature?

Thanks



Cannot Create New Project from VS 2013 on TFS 2015 - TF200038 & TF400324

$
0
0

Hello

I am trying to create a new team project from VISUAL STUDIO 2013 Update 5 on TFS 2015 RTM.

Connection to collection works ok but i am getting the following error

I cannot find download for Team Explorer 2015 for VS 2013 .

Please Advise

thanks


Cannot connect to TFS from VS 2015 Enterprise

$
0
0

Hello,

we run a TFS server. It works fine. I use a Laptop (Win 7) connected to our enterprise NW using VPN. In the past I could easily connect to our TFS server over the VPN connection from inside VS. Now I installed VS 2015 and now I cannot connect to the TFS server from within VS. All other connections to server over the VPN work fine. If I open the TFS URL (https:/<TFSServer:Port>/tfs in the browser it works well. I tried the FQN and the IP address in VS - does not connect.

The connecting indicator keeps spinning without an error message forever.

I have another machine also with VS 2015 directly connected to the enterprise NW where it works fine (that is a Win 8.1 machine)

Any idea?

Thanks for your support in advance

Hansjörg

Few queries regarding TFS 2013 to 2015 upgrade

$
0
0

Hi all,

    Being not a very expert on TFS, I am struggling to find out few answers for supporting to upgrade of TFS 2013 to 2015 in our production environment..

1. Which approach is more feasible and beneficial- In place upgrade or install in parallel  on a new server and then migrate the old resources.

2. Do we need to install add-ons again once the upgrade to 2015 is complete?

3. Do we need to take any other precautions before doing the upgrade.

Any helpful reply would be very much appreciated.

Regards,

Subhas 

Using Installshield 2015 with MSBuild 2013/15

$
0
0
I want to run MSBuild and have it automatically create an application installer at the end of the build using Installshield 2015. We already pay for the professional version, so I do not want to use the LE version for Visual Studio since it is limited. I know that this can be done using a 3rd party build automation tool, but wanted to see if this was doable without using another build automation provider. 

Currently, we run builds, then somebody grabs the files needed, open installshield, and runs it. Before working here, I used Automated Build Studio, which is no longer supported by Smartbear.

Please advise.

Users are now able to change the priority of items in the backlog by moving them around on the Kanban Board. Is it possible to not let them do this?

$
0
0

Hi all, 

The priority of items in the backlog are not being honored when dragging items across columns on the Kanban Board. 

We used to be able to do this and it was useful to keep track of the order of items. Now users can drag across and they have to remember where it was in the order of the backlog and drag it there. It used to just "snap" into it's place in the order. 

Is there a setting somewhere I can change this? Was this functionality changed? 

Thanks

Changing the TFS connection credentials

$
0
0

I have searched and all the suggested solutions do not seem to apply to my computer.

I am using the Team Explorer in Visual Studio 2010 Professional on Windows 7, and connecting over the Internet to a Team Foundation Server 2010 on a Windows Server 2008 SE SP2.

My PC Credential Manager does not contain anything about the TFS server.

I clear my Team Foundation cache (User Applications Settings Folder\Microsoft\Team Foundation\3.0\Cache) to no avail.  The moment I start Visual Studio, a new cache will be created.

I deleted all workspaces (File, Source Control,Workspaces...), shut down VS, re-started VS, and it merrily went and connect and show the list of projects without my asking.

I deleted the server from the Connect to Team Project dialog and recreated it.  It will still connect without asking.

The only way I can get asked for credentials is to disable the user account on the TFS server. 

Is there an easier way to change user credentials to connect to TFS?

Thanks.

TFS 2013 stakeholder access level and impersonation

$
0
0

I spent hours on figuring out why my IIS application pool was not able to impersonate (for app pool "Make requests on behalf ..." is set to Allow for both, server and collection level). The reason obviously is, that I added my app pool to the stakeholder access level. Actually the access levels should only influence the Team Web Access. However as soon as I removed my app pool account from stakeholder (it does not matter, whether it is basic, advanced or in NO access level AT ALL).

Is that an expected behavior, why?

How to setup TFS for my project

$
0
0

i have project which i want to attach to TFS but i am not familiar with TFS.

so guide me with easy steps what to do. i have installed TFS in server pc. now how could i add my project to TFS and also how other people can work on those source code.

give me guidance for beginner like me who never use TFS or any other source control. i am just bit familiar with GitHub.


A non version controlled file or writable file by the same name exist locally

$
0
0

I am using Visual Studio Online: I get the error:

Non version controlled file or writable file by the same name exist locally

I don`t know what is the problem..

Code Review - State Code

$
0
0

I don't understand what this field is supposed to convey

State Code

Mirror field used to track the current state in code.

Microsoft.VSTS.Common.StateCode

               Integer

https://msdn.microsoft.com/en-US/library/jj153004(v=vs.120).aspx

Also, how can I link the reports from code review items to regular bugs? 

It does seem like they have the same WIT ID.

TFS 2015 RTM - Build vNext Failing with No Logs

$
0
0

Hi All,

I've recently set up a brand new server with a brand new install of TFS 2015 RTM.  I've done all of the defaults on the install.

I'm trying to "migrate" from the old XAML builds to the new build system.  I have one build step which is an MSBuild step.

For some reason, whenever I queue a new build, the build starts to run and then fails.  When I download the build logs, I have a ZIP file with a BUILD folder in it and nothing else.  No logs or anything.

Am I missing something?  Does MSBuild need more than just my solution file?

Thanks!


Publishing of Test Results into TFS 2012 hangs the build

$
0
0

Hi All,

I have a problem with running unit tests on the TFS2012 Team build.

Our project has ~35 000 NUnit tests running during the Team Build. Now they run using the NUnit command prompt and as result we does not see the test results on the Build Summary. The solution is to use the NUnit Test Adapter to run the tests. However during the build run it hangs on the 7-8 thousands test. However if you run tests without publishing in VS or in using the vstest.console, they successfully passed. 

I reproduced the same problem running tests from the vstest.console using the TFS publisher.

I created a small MS Test project with a lot of test runs and faced the same problem when the vstest.console is used. However, this problem is not reproducing when run those tests using MSTest.exe (with publish). 

Could anyone help me with this problem?


TFS 2015 Upgrade Issues

$
0
0

Hi,

We have upgraded from TFS 2013 Update 4 to TFS 2015 RTM.

In TFS 2013 Update 4 we have created customized reports by using views in collection.
However, during sanity testing of TFS 2015 RTM we found that reports are not working as some views are missing in collection.

We checked that for TFS 2013 we have 54 views while for TFS 2015 we have 40 views.

Any idea about this?

Regards,
Sourabh J.

Viewing all 6687 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>