Skip to content

When not run as administrator, Visual Studio can't find some dll. #9

@Haurchefant-G

Description

@Haurchefant-G

Hello,

When I open my sln file, the program in the solution can build successfully.
But if I open the sln through this extension, Visual Studio can't find some dll when building.

The program is a vulkan example cpp windowed program and uses SDL2.dll. The dll is installed with Vulkan SDK.
The path to the dll is included in my System Variables Path.

If I select the sln and run as administrator through extension, the problem can be solved.
Or I tried to add the path to the dll to my User Variables Path and restart PowerToys. The problem can also be solved.

Can this problem be solved when I just open the sln without running as administrator or adding the path to User Variables Path?
Usually I don't open sln with running as administrator. The different building results between opening ditrectly and opening through extension can be confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions