Skip to content

VS Code Tooling Issue #38103

Closed
Closed
@chhinsras

Description

@chhinsras

This is the code options.SwaggerEndpoint("/swagger/v1/swagger.json", typeof(Program).Assembly.GetName().Name);

When I try to run on Visual Studio. It works fine. But when I try to run on Visual Code on Mac.

/Users/chhinsras/Desktop/Coding.nosync/SchoolManager/Server/Core/Extensions/ApplicationBuilderExtensions.cs(31,76): error CS0246: The type or namespace name 'Program' could not be found (are you missing a using directive or an assembly reference?) [/Users/chhinsras/Desktop/Coding.nosync/SchoolManager/Server/Server.csproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions