Skip to content

Commit 26b5b5a

Browse files
authored
Merge pull request #39 from mikkelhegn/readme
Readme updates
2 parents d37210d + dfc664a commit 26b5b5a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ var left = 123;
113113
var right = 456;
114114
var result = OperationsInterop.Add(left, right);
115115
Console.WriteLine($"{left} + {right} = {result}");
116-
117-
Console.WriteLine(OperationsInterop.ToUpper("Hello, World!"));
118116
```
119117

120118
Since your component is no longer a self-contained application, you can no longer run it without also composing it with another WASI 0.2 component that implements the `add` function. To do that, either:
@@ -126,7 +124,7 @@ Since your component is no longer a self-contained application, you can no longe
126124

127125
If you're **exporting** functionality, you'll be building a class library, not an executable. So be sure to go to your `.csproj` and change `<OutputType>` from `exe` to `library` and delete any `Program.cs`.
128126

129-
Once you've done that, change your WIT file to use the `calculator` world using one of the two techniques described above (i.e., either edit the `.csproj` or use the VS Properties pane).
127+
Once you've done that, change your WIT file to use the `computer` world using one of the two techniques described above (i.e., either edit the `.csproj` or use the VS Properties pane).
130128

131129
Now when you build, you'll get an error like `The name 'OperationsImpl' does not exist in the current context`. This is because you've said you'll provide an implementation, but haven't yet done so. To fix this, add the following class to your project:
132130

@@ -268,4 +266,4 @@ This is a wrapper around various other bits of tooling:
268266

269267
## Contributing
270268

271-
See our [contributing docs](./CONTRIBUTING.md) for details on how to build and contribute to this project.
269+
See our [contributing docs](./CONTRIBUTING.md) for details on how to build and contribute to this project.

0 commit comments

Comments
 (0)