docs icon indicating copy to clipboard operation
docs copied to clipboard

Where is the sample project?

Open DrWarmoose opened this issue 10 months ago • 3 comments

[Enter feedback here]

None of the code in the sample works as it is.

When attempting to simply GetGrain<[interface]>(...), an exception "Could not find an implementation for interface .[interface]"

When consulting StackOverflow for a resolution to the Exception it was recommended to include: Microsoft.Orleans.CodeGenerator.MSBuild

When including that package, a new exception occurs during build. Severity Code Description Project File Line Suppression State Error MSB3073 The command ""dotnet" "C:\Users\XXXX.nuget\packages\microsoft.orleans.codegenerator.msbuild\3.7.1\build..\tasks\Orleans.CodeGenerator.MSBuild.dll" SourceToSource "C:\Projects\SpacTrac\SpacTrac.Core\obj\Debug\net7.0\SpacTrac.Core.orleans.g.args.txt"" exited with code 3. SpacTrac.Core C:\Users\XXXX.nuget\packages\microsoft.orleans.codegenerator.msbuild\3.7.1\build\Microsoft.Orleans.CodeGenerator.MSBuild.targets 123

Which is as close to useless as possible. When running dotnet in console: Exc level 0: System.InvalidOperationException: Unable to find type with metadata name "Orleans.CodeGeneration.CopierMethodAttribute".

It would be helpful to have an actual working project to compare against rather than snippets of code that seem to be written without ever being tested in a real project.

What I am looking for is the NuGet packages used in which projects. Is there a breaking bug in a recent release?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

DrWarmoose avatar Sep 09 '23 21:09 DrWarmoose