pmacn / DocPlagiarizer

A custom build task that will copy xml documentation comments from interfaces to implementations.
MIT License
4 stars 1 forks source link

Xamarin Studio support #3

Open shiftkey opened 10 years ago

shiftkey commented 10 years ago

Tried to run the latest version of CommentPulldown in Xamarin Studio 4.2.2 but got this build error:

/Users/brendanforster/src/octokit.net/Octokit/Octokit.csproj: Error: Method not found: 'Microsoft.Build.Evaluation.ProjectCollection.LoadProject'.  at CustomBuildTasks.PullDownComments.PullComments () [0x00000] in <filename unknown>:0 
  at CustomBuildTasks.PullDownComments.Execute () [0x00000] in <filename unknown>:0  (Octokit)

Relates to this line:

https://github.com/pmacn/CommentPulldown/blob/master/CustomBuildTasks/PullDownComments.cs#L116

But I can see the right overload here in the Mono source code:

https://github.com/mono/mono/blob/b3d6490a35d35b271424b96f85759f8dc1084f07/mcs/class/Microsoft.Build/Microsoft.Build.Evaluation/ProjectCollection.cs#L183

pmacn commented 10 years ago

Weird, Octokit.csproj builds fine for me using Xamarin Studio (free version 4.2.2 (Build 2)) on Windows. Don't own a Mac to try out that version if that's where the issue is :-/

pmacn commented 10 years ago

Also, I was only building octokit.csproj by itself since I couldn't load up the whole solution; As it contains iOS projects that won't work in Xamarin Studio for Windows.