mono / ngit

Automated jgit port to c#
261 stars 151 forks source link

Dependency libraries, VS2010 #15

Closed SeriousM closed 12 years ago

SeriousM commented 13 years ago

Added the dependency libraries; Updated the projects to use the dependency libraries; Updated the solution file to VS2010;

linquize commented 12 years ago

Normally Windows users do not install these assemblies into GAC! But Mono includes them in GAC!

dprothero commented 12 years ago

Hi Bernhard... were you able to get this to compile in VS2010? I merged in your branch but when trying to compile in the VS2010, I'm getting:

Error 390 'Mono.Unix.FileAccessPermissions' does not contain a definition for 'HasFlag' and no extension method 'HasFlag' accepting a first argument of type 'Mono.Unix.FileAccessPermissions' could be found (are you missing a using directive or an assembly reference?) C:\Users\dprothero\Documents\GitHub\ngit\Sharpen\Sharpen\FilePath.cs 401 16 Sharpen

SeriousM commented 12 years ago

Hi, I was able to build but this is long time ago and I do not use it anymore. sorry thatIi can't help you with that.

dprothero commented 12 years ago

Thanks Bernhard... turns out the HasFlag() method was introduced in .NET 4.0, and the csproj files were still set to 3.5, so I changed the target framework and all compiles. It's here: https://github.com/dprothero/ngit in case anyone is interested.

alanmcgovern commented 12 years ago

I've added a note to the README specifying where to get the pre-requisites from. Just as a note, they will be installed into the .NET GAC when you use this installer: http://monodevelop.com/files/Windows/MonoLibraries.msi