Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
Description
Problematic behaviour:
On page https://docs.couchbase.com/dotnet-sdk/current/hello-world/start-using-sdk.html
if we go If we go to Local Couchbase Server code example and push 'Run code' we get an issue:
/opt/couchbase/var/tmp/play/Program.cs(1,2): error CS7011: #r is only allowed in scripts [/opt/couchbase/var/tmp/play/project.csproj] |
It happens because of the string:
#r "nuget: CouchbaseNetClient, 3.4.8" |
It means we need to install CouchbaseNetClient, version 3.4.8, and should be carried out of the code snippet so it can run properly.
—
Expected behaviour:
On the page for the previous version all works good: https://docs.couchbase.com/dotnet-sdk/3.3/hello-world/start-using-sdk.html
If we go to Local Couchbase Server code example and push 'Run code' we get normal output:
{
|
"name": "Ted", |
"age": 31 |
}
|
{
|
"greeting": "Hello World" |
}
|