You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing.md
+18-7Lines changed: 18 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#Contributing
1
+
#Contributing
2
2
3
3
Contributing back to `Elasticsearch.Net` and `NEST` is very much appreciated.
4
4
Whether you [feel the need to change one character](https://github.com/elasticsearch/elasticsearch-net/pull/536) or have a go at
@@ -42,15 +42,15 @@ Please submit your [Pull Requests](https://help.github.com/articles/creating-a-p
42
42
-[`2.x`](https://github.com/elastic/elasticsearch-net/tree/2.x) branch for 2.x
43
43
-[`1.x`](https://github.com/elastic/elasticsearch-net/tree/1.x) branch for 1.x
44
44
45
-
#Building the solution
45
+
#Building the solution
46
46
47
47
The solution uses a number of awesome Open Source software tools to ease development:
48
48
49
-
##Paket
49
+
##Paket
50
50
51
51
[Paket](https://fsprojects.github.io/Paket/) is the dependency manager of choice for handling dependencies of both the solution and the build automation system. It works for both .NET and Mono, with an ability to reference packages from Nuget and also files directly from github.
52
52
53
-
##FAKE
53
+
##FAKE
54
54
55
55
[FAKE (F# MAKE)](http://fsharp.github.io/FAKE/) is used as the build automation system for the solution. To get started after cloning the solution, it's best to run the build script in the root
56
56
@@ -73,7 +73,7 @@ This will
73
73
74
74
You can also compile the solution within Visual Studio if you prefer, but the build script is going to be _much_ faster.
75
75
76
-
##Tests
76
+
##Tests
77
77
78
78
The `Tests` project contains both xunit unit and integration tests. A `tests.yaml` file within the root of the `Tests` project determines the test mode when running tests inside Visual Studio
79
79
@@ -104,9 +104,9 @@ build.bat Integrate [Elasticsearch Version Number e.g. 5.0.0]
104
104
```
105
105
will quick compile the solution and run integration tests against the target Elasticsearch version. The first time this is run for a version of Elasticsearch, it will download Elasticsearch and unzip Elasticsearch, install the plugins necessary to run the integration tests, and start the node. Because of this, the first run may take some time to start.
106
106
107
-
##Troubleshooting
107
+
##Troubleshooting
108
108
109
-
###Could not load file or assembly FSharp.Core
109
+
###Could not load file or assembly FSharp.Core
110
110
111
111
You may come across an exception similar to below when running the build script
112
112
@@ -117,3 +117,14 @@ The `1.x` and `master` branches have diverged dramatically as a result of change
117
117
118
118
If working on both 1.x and 2.x and 5.x versions of NEST, it is recommended to clone the git repository for each version into separate directories to avoid the need to switch between the divergent branches.
119
119
120
+
### System.Exception: Attempting to run with dotnet.exe with 1.0.x but global.json mandates 1.0.1
121
+
122
+
When running the `build` script, you may encounter a mismatch with your version of the .NET Core runtime. Ensure your version of .NET Core exactly matches the version specified under `sdk` in the `global.json` file.
0 commit comments