You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting many errors when trying to add changeset url from local TFS instance
lic class TypedDataContext : JsonDataContextBase {
public IEnumerable<LINQPad.User.TestInput.Test> Test { get { return GetTextJsonInput<LINQPad.User.TestInput.Test>("7a3a553d-d404-4d95-8e50-2401723a3dac"); }}
public IEnumerable<.> s { get { return GetUrlParameterlessInput<.>(@"http://server:8080/tfs/defaultcollection/App Modernization/_apis/tfvc/changesets", new List<Tuple<string,string>> { Tuple.Create("Accept","application/json; text/json") }); } }
}
Here is json, which works if used at text type:
{"count":1,"value":[{"changesetId":358,"url":"http://server:8080/tfs/DefaultCollection/App%20Modernization/_apis/tfvc/changesets/358","author":{"id":"f0b23e2a-04d4-4a20-86f6-32970a135280","displayName":"Alexander Kachalkov","uniqueName":"domain\user","url":"http://server:8080/tfs/defaultcollection/_apis/Identities/f0b23e2a-04d4-4a20-86f6-32970a135280","imageUrl":"http://xsupapp15zpts12:8080/tfs/DefaultCollection/_api/_common/identityImage?id=f0b23e2a-04d4-4a20-86f6-32970a135280"},"checkedInBy":{"id":"f0b23e2a-04d4-4a20-86f6-32970a135280","displayName":"Alexander Kachalkov","uniqueName":"domain\user","url":"http://server:8080/tfs/defaultcollection/_apis/Identities/f0b23e2a-04d4-4a20-86f6-32970a135280","imageUrl":"http://server:8080/tfs/DefaultCollection/_api/_common/identityImage?id=f0b23e2a-04d4-4a20-86f6-32970a135280"},"createdDate":"2016-09-06T07:02:38.34Z","comment":"Created team project folder $/App Modernization via the Team Project Creation Wi","commentTruncated":true}]}
P.S. I think it would be easier to edit connection file directly rather than through GUI :)
The text was updated successfully, but these errors were encountered:
kachalkov
changed the title
TFVC ChangeSet shows null reference exception
TFVC ChangeSet Exception: Could not generate typed context for given inputs
Nov 29, 2016
hhttps://www.visualstudio.com/en-ca/docs/integrate/api/tfvc/changesets
Getting many errors when trying to add changeset url from local TFS instance
lic class TypedDataContext : JsonDataContextBase {
}
Here is json, which works if used at text type:
{"count":1,"value":[{"changesetId":358,"url":"http://server:8080/tfs/DefaultCollection/App%20Modernization/_apis/tfvc/changesets/358","author":{"id":"f0b23e2a-04d4-4a20-86f6-32970a135280","displayName":"Alexander Kachalkov","uniqueName":"domain\user","url":"http://server:8080/tfs/defaultcollection/_apis/Identities/f0b23e2a-04d4-4a20-86f6-32970a135280","imageUrl":"http://xsupapp15zpts12:8080/tfs/DefaultCollection/_api/_common/identityImage?id=f0b23e2a-04d4-4a20-86f6-32970a135280"},"checkedInBy":{"id":"f0b23e2a-04d4-4a20-86f6-32970a135280","displayName":"Alexander Kachalkov","uniqueName":"domain\user","url":"http://server:8080/tfs/defaultcollection/_apis/Identities/f0b23e2a-04d4-4a20-86f6-32970a135280","imageUrl":"http://server:8080/tfs/DefaultCollection/_api/_common/identityImage?id=f0b23e2a-04d4-4a20-86f6-32970a135280"},"createdDate":"2016-09-06T07:02:38.34Z","comment":"Created team project folder $/App Modernization via the Team Project Creation Wi","commentTruncated":true}]}
P.S. I think it would be easier to edit connection file directly rather than through GUI :)
The text was updated successfully, but these errors were encountered: