Skip to content

Serializing document failed #98

@MattChique

Description

@MattChique

I get this exceptions after load of the project. And livesharp does not respond any more. But project is running fine.

15:03:48.429: The type or namespace name 'Shared' does not exist in the namespace 'x' (are you missing an assembly reference?)
15:03:48.430: The type or namespace name 'x' could not be found (are you missing a using directive or an assembly reference?)
15:03:48.430: The type or namespace name 'x' could not be found (are you missing a using directive or an assembly reference?)
15:03:48.431: The type or namespace name 'x' could not be found (are you missing a using directive or an assembly reference?)
15:03:48.431: The type or namespace name 'x' could not be found (are you missing a using directive or an assembly reference?)
15:03:48.432: The type or namespace name 'x' could not be found (are you missing a using directive or an assembly reference?)
15:03:48.434: The type or namespace name 'x' could not be found (are you missing a using directive or an assembly reference?)
15:03:48.440: FileSaved handler failed
System.Exception: Serializing document failed
   at LiveSharp.VisualStudio.Services.LiveSharpHandler.CreateDynamicAssembly(Compilation compilation, Project project, ILogger logger)
   at LiveSharp.VisualStudio.Services.LiveSharpHandler.PrepareUpdatesAsync(Project project, SemanticModel semanticModel, String documentName, Boolean isDryRun)
15:03:49.849: Ended job: Dry run for x (2686)
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/livesharp'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 182772.5555ms 101```


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