{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/sourcelink/issues/185","repository_url":"https://api.github.com/repos/dotnet/sourcelink","labels_url":"https://api.github.com/repos/dotnet/sourcelink/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/sourcelink/issues/185/comments","events_url":"https://api.github.com/repos/dotnet/sourcelink/issues/185/events","html_url":"https://github.com/dotnet/sourcelink/issues/185","id":365498437,"node_id":"MDU6SXNzdWUzNjU0OTg0Mzc=","number":185,"title":"URL for Bitbucket cloud","user":{"login":"PhilipDaniels","id":1809220,"node_id":"MDQ6VXNlcjE4MDkyMjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1809220?v=4","gravatar_id":"","url":"https://api.github.com/users/PhilipDaniels","html_url":"https://github.com/PhilipDaniels","followers_url":"https://api.github.com/users/PhilipDaniels/followers","following_url":"https://api.github.com/users/PhilipDaniels/following{/other_user}","gists_url":"https://api.github.com/users/PhilipDaniels/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipDaniels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipDaniels/subscriptions","organizations_url":"https://api.github.com/users/PhilipDaniels/orgs","repos_url":"https://api.github.com/users/PhilipDaniels/repos","events_url":"https://api.github.com/users/PhilipDaniels/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipDaniels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-01T14:50:03Z","updated_at":"2018-11-01T12:00:14Z","closed_at":null,"author_association":"NONE","body":"Trying to get SourceLink working with our Bitbucket cloud hosted solution. Our urls are of the form\r\n\r\n```\r\nhttps://bitbucket.org/COMPANYNAME/REPONAME.git\r\n```\r\n\r\nAt least, I can type that into a browser window, but it will redirect me to\r\n\r\n```\r\nhttps://bitbucket.org/COMPANYNAME/REPONAME/src/master/\r\n```\r\n\r\nAnyway, I have published a package but when I try to step into it in VS2017 15.8 nothing happens - no error message, no dialog, it just steps over the method call.\r\n\r\nIs this URL format supported? I was reading https://github.com/dotnet/sourcelink/issues/31 and it links to this bit of code https://github.com/ctaggart/SourceLink/blob/master/SourceLink.Create.CommandLine/BitBucketServerUrlConverter.cs which does not match our URLs.\r\n\r\nI have the latest preview version of SourceLink for Bitbucket installed."},"comment":{"url":"https://api.github.com/repos/dotnet/sourcelink/issues/comments/435019344","html_url":"https://github.com/dotnet/sourcelink/issues/185#issuecomment-435019344","issue_url":"https://api.github.com/repos/dotnet/sourcelink/issues/185","id":435019344,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTAxOTM0NA==","user":{"login":"PhilipDaniels","id":1809220,"node_id":"MDQ6VXNlcjE4MDkyMjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1809220?v=4","gravatar_id":"","url":"https://api.github.com/users/PhilipDaniels","html_url":"https://github.com/PhilipDaniels","followers_url":"https://api.github.com/users/PhilipDaniels/followers","following_url":"https://api.github.com/users/PhilipDaniels/following{/other_user}","gists_url":"https://api.github.com/users/PhilipDaniels/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipDaniels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipDaniels/subscriptions","organizations_url":"https://api.github.com/users/PhilipDaniels/orgs","repos_url":"https://api.github.com/users/PhilipDaniels/repos","events_url":"https://api.github.com/users/PhilipDaniels/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipDaniels/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T12:00:14Z","updated_at":"2018-11-01T12:00:14Z","author_association":"NONE","body":"Thanks @tmat I didn't know about that window. I have made some progress. The PDB **was not** loaded. I have added\r\n\r\n    <DebugType>embedded</DebugType>\r\n\r\nto my csproj file and they **are** now getting loaded. So onto the next issue, which is that VS cannot find the source files. I get some output like the following. VS is first looking for a file path on the build server (which doesn't work of course) and then tries SourceLink\r\n\r\n    Locating source for 'C:\\build\\FCM-BCM1-JOB1\\MyProj\\Dummy.cs'. (No checksum.)\r\n    The file 'C:\\build\\FCM-BCM1-JOB1\\MyProj\\Dummy.cs' does not exist.\r\n    Looking in script documents for 'C:\\build\\FCM-BCM1-JOB1\\MyProj\\Dummy.cs'...\r\n    Looking in the projects for 'C:\\build\\FCM-BCM1-JOB1\\MyProj\\Dummy.cs'.\r\n    The file was not found in a project.\r\n    Looking in directory 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.15.26726\\include\\'...\r\n    ...\r\n    Looking for source using Source Link (file://nothing/\\\\nothing\\/raw/222c37aefa3bdd3b40c1fd797f1260cfdb1fa3ac/MyProj/Dummy.cs)...\r\n    Source Link errors:\r\n    uriString\r\n    The file was not found with Source Link.\r\n    The debugger will ask the user to find the file: C:\\build\\FCM-BCM1-JOB1\\MyProj\\Dummy.cs.\r\n\r\nWe are building our own NuSpec files and packing them using NuGet.exe, but the repository URL in the file looks good to me (apart from the redirect problem I mentioned in the initial report):\r\n\r\n    <repository type=\"git\" url=\"https://bitbucket.org/mycompanyname/myrepo.git\" commit=\"randomgithashhere\" />\r\n\r\n\r\n"}}
{"actor":{"display_login":"PhilipDaniels"}}