diff --git a/.gitignore b/.gitignore index d45e7f945c..fca88b24c1 100644 --- a/.gitignore +++ b/.gitignore @@ -6,14 +6,20 @@ *.swp *.dll *.exe +*.exe.config *.manifest - +*.opensdf +*.sdf +*.ipch +*.exe.config +*.xml +*.zip *.ReSharper _ReSharper* obj/ bin/ -Debug/ +/Debug/ CefSharp/app.aps -TestResult.xml debug.log +*.nupkg diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..8407558d0c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,7 @@ +Thanks for your interest in contributing to the project! Please follow these simple guidelines: + +- **Please read the full contents of [the FAQ](https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions) before submitting an issue, or posting to the Google Group. It's quite likely your question has already been answered before.** If something is unclear in the FAQ, of course feel free to ask; the idea is just to reduce the level of "noise" we have to go through, reading the same questions over and over again. +- If you are unsure if something is a "bug" or a "feature", discuss it with the Google Group first. Don't cross-post: if you create an issue, and all the information is contained there, that's perfectly enough. There's no reason to also post it to the group; it just creates "line noise". The project maintainers are very busy people like you and me, and things will sometimes take a few weeks (or in worst case, more) to answer. If you are in a rush - do your very best to investigate the problem thoroughly; if possible, fix the bug yourself and submit a pull request. +- Before creating a GitHub issue or pull request, try looking through the list & issue archives to make sure the issue at hand hasn't been raised before. [Google](http://www.google.com) can also be helpful: just typing "cefsharp appdomain" for example (when trying to see whether AppDomain support has been discussed before) will often give you helpful results. +- *Please* follow existing coding style when submitting pull requests. Most importantly, *use spaces* - do not use tabs (which is the default setting for C++ projects in Visual Studio). The "preview" function when creating a Pull Request on GitHub is very useful - please use it. +- Do your best to follow these guidelines but don't be afraid to make mistakes when trying to apply them. We are all novices in the beginning. diff --git a/CefSharp.Example/BoundObject.cs b/CefSharp.Example/BoundObject.cs index 3ae3f13ca3..f7f177a757 100644 --- a/CefSharp.Example/BoundObject.cs +++ b/CefSharp.Example/BoundObject.cs @@ -4,6 +4,17 @@ namespace CefSharp.Example { class BoundObject { + public int MyProperty { get; set; } + public string MyReadOnlyProperty { get; internal set; } + public Type MyUnconvertibleProperty { get; set; } + + public BoundObject() + { + MyProperty = 42; + MyReadOnlyProperty = "I'm immutable!"; + MyUnconvertibleProperty = GetType(); + } + public string Repeat(string str, int n) { string result = String.Empty; @@ -162,5 +173,16 @@ public String EchoString(String arg0) { return arg0; } + + // This will currently not work, as it causes a collision w/ the EchoString() method. + //public String echoString(String arg) + //{ + // return "Lowercase echo: " + arg; + //} + + public String lowercaseMethod() + { + return "lowercase"; + } } } diff --git a/CefSharp.Example/CefSharp.Example.csproj b/CefSharp.Example/CefSharp.Example.csproj index 5bb91e5e7e..e5c7cde627 100644 --- a/CefSharp.Example/CefSharp.Example.csproj +++ b/CefSharp.Example/CefSharp.Example.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,8 +10,14 @@ Properties CefSharp.Example CefSharp.Example - v3.5 + v4.0 512 + + + + + 3.5 + true @@ -21,6 +27,8 @@ DEBUG;TRACE prompt 4 + x86 + AllRules.ruleset pdbonly @@ -29,6 +37,7 @@ TRACE prompt 4 + AllRules.ruleset @@ -53,12 +62,6 @@ - - - {7B495581-2271-4F41-9476-ACB86E8C864F} - CefSharp - - ResXFileCodeGenerator @@ -71,6 +74,12 @@ + + + {7b495581-2271-4f41-9476-acb86e8c864f} + CefSharp + + + + + + + + + + + - - - - -