Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Error after executing code in try-sample #79

Open

Description

@mezJihad

After i click on excécute code, i have red background, like here in the picture :
https://drive.google.com/file/d/1BXFmij958mH7Zy5IO8OLdFg_e1WaJeLj/view?usp=sharing

Activity

  1. dineshhnaik commented on Nov 10, 2021

    @dineshhnaik

    I am having the same error on my machine. Any suggestions to fix it?

  2. romulocorrea commented on Nov 23, 2021

    @romulocorrea

    I am having the same error on my desktop (Ryzen 9 5900, 32GB Ram, Windows 10 Pro licensed).

  3. freewheel70 commented on Nov 29, 2021

    @freewheel70

    Same issue.
    open Chrome Dev tool Network tab in browser, found the following error message

    {"message":"An unhandled exception occurred.","exception":"System.InvalidOperationException: No design time or full build available\n at WorkspaceServer.Packaging.Package.CreateRoslynWorkspace() in F:\workspace\_work\1\s\WorkspaceServer\Packaging\Package.cs:line 372\n at WorkspaceServer.Packaging.Package.ProcessFullBuildRequest(Budget budget) in F:\workspace\_work\1\s\WorkspaceServer\Packaging\Package.cs:line 351\n at WorkspaceServer.Packaging.Package.b__54_0(Budget budget) in F:\workspace\_work\1\s\WorkspaceServer\Packaging\Package.cs:line 309\n at WorkspaceServer.Servers.Roslyn.PackageExtensions.GetCompilation(IPackage package, IReadOnlyCollection1 sources, SourceCodeKind sourceCodeKind, IEnumerable1 defaultUsings, Func1 workspaceFactory, Budget budget) in F:\\workspace\\_work\\1\\s\\WorkspaceServer\\Servers\\Roslyn\\PackageExtensions.cs:line 186\n at WorkspaceServer.Servers.Roslyn.RoslynWorkspaceServer.CompileWorker(Workspace workspace, BufferId activeBufferId, Budget budget) in F:\\workspace\\_work\\1\\s\\WorkspaceServer\\Servers\\Roslyn\\RoslynWorkspaceServer.cs:line 415\n at WorkspaceServer.Servers.Roslyn.RoslynWorkspaceServer.Run(WorkspaceRequest request, Budget budget) in F:\\workspace\\_work\\1\\s\\WorkspaceServer\\Servers\\Roslyn\\RoslynWorkspaceServer.cs:line 235\n at WorkspaceServer.Servers.WorkspaceServerMultiplexer.Run(WorkspaceRequest request, Budget budget) in F:\\workspace\\_work\\1\\s\\WorkspaceServer\\Servers\\WorkspaceServerMultiplexer.cs:line 54\n at MLS.Agent.Controllers.RunController.Run(WorkspaceRequest request, String timeoutInMilliseconds) in F:\\workspace\\_work\\1\\s\\MLS.Agent\\Controllers\\RunController.cs:line 75\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)"}

  4. Kermel commented on Jun 7, 2022

    @Kermel

    Same here. Same error as freewheel70 reported.
    So now it is unusable.
    .NET version 6.0.300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions