Click here to Skip to main content
12,500,937 members (51,995 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
I'm getting the below message when I execute the following:
// Group Security service exposes methods to get groups, users and security details
	var sec = tfs.GetService<igroupsecurityservice>();
	Identity[] appGroups = sec.ListApplicationGroups(teamProject.ArtifactUri.AbsoluteUri);

The type or namespace name 'server' does not exist in the namespace 'Microsoft.TeamFoundation' (Press F4 to check imported namespaces)

What am I missing.

Thanks,
Whenrick
Posted 17-Oct-12 8:15am
Updated 17-Oct-12 8:49am
v2
Comments
Sandeep Mewara 17-Oct-12 14:57pm
   
Your error sounds straight forward. Further, line of codes shared does not look related.
Whenrick 17-Oct-12 15:08pm
   
I don't believe there is a problem with the code, I'm missing something in the Query Properties lines in LINQPad4. this is what I have listed: Microsoft.TeamFoundation.Client
Microsoft.TeamFoundation.VersionControl.Client
Microsoft.TeamFoundation.Framework.Client
Microsoft.TeamFoundation.Framework.Common
Microsoft.TeamFoundation.server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 17 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100