-
Notifications
You must be signed in to change notification settings - Fork 242
Conversation
Can you push compiled versions of everything? I can't seem to get anything to compile and I just want to use it. |
It is generally best practice for .Net projects to NOT push the compiled version of the code. That is what Nuget and many other package management solutions are for. I believe this is the case for most source code repositories. The correct thing to do would be to determine why it's not building on your machine and fix it, then submit a pull request. That was the intent of this pull request. I saw that the solution would not compile because the project was referencing an assembly within the "build" directory, which of course hasn't happened for those new to pulling the repo. |
I'm not that familiar with bug fixing other solutions in VS, for now I'll wait, thanks for the response. |
What is the error you get when you try to compile? |
It's a little hard to explain. First of all I went here #14 as I am just looking for a means to callback to c# from javascript. @jharwig mentioned his fork was working with callbacks so I downloaded his fork: https://github.com/jharwig/webkitdotnet I open up WebKit.NET_2010.sln with V C# 2010 express and it mentions some folders are incompatable. I go to build, knowing it will fail but I just want to see what it's actually looking for... Error 1 Metadata file 'Desktop\jharwig-webkitdotnet-4a74cfb\bin\Debug\WebKitCore.dll' could not be found WebKitBrowser |
Yes, this is exactly what I was talking about the .csproj file is referencing assemblies in then bin folder, which doesn't exist until after you build everything. You need to change the location of those assemblies. If you expand references you will see an icon marking the ones that are referenced incorrectly. Just remove them then re-add them, you will need to find them in the directory tree, they will not be in the bin\Debug folder. |
I'll follow the instructions on the wiki. |
I'm using visual c++ 2010 express and following this: https://github.com/webkitdotnet/webkitdotnet/wiki/Building-WebKit.NET-with-Visual-Studio-2010-Express%3A-A-Visual-Step-By-Step-Guide. Step 4 doesn't happen...
it just throws up build errors.
I get that it's looking for files that don't exist, but why doesn't the tutorial tell me where I can get them since they don't exist anywhere in the folder. |
I fixed the WebKit.Interop dll reference to not be a bin/debug folder reference. This should allow other people to pull and build right off the bat.