Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alan Draper 52 posts 135 karma points
    Jul 18, 2022 @ 18:35
    Alan Draper
    0

    Running Umbraco in VSCode from Solution Folder

    I suspect I'm missing something from my launch.json

    From VS Code, running Umbraco (F5)

    with a folder structure like this

    - Solution Folder
        - .vscode
            - launch.json
            - tasks.json
        - Website
            - App_data
            - bin
            - umbraco
            - Views
            - wwwroot
    

    using "program": "${workspaceFolder}/Website/bin/Debug/net6.0/Website.dll",

    Umbraco runs, but adds the "App_data", "umbraco", "Views", "wwwroot" into the solution folder, so I now have this:

    - Solution Folder
        - .vscode
            - launch.json
            - tasks.json
        - App_data
        - umbraco
        - Views
        - Website
            - App_data
            - bin
            - umbraco
            - Views
            - wwwroot
        - wwwroot
    
  • Alan Draper 52 posts 135 karma points
    Jul 19, 2022 @ 22:57
    Alan Draper
    100

    I found the problem... I needed to change

    "cwd": "${workspaceFolder}",

    to

    "cwd": "${workspaceFolder}\\Website",

Please Sign in or register to post replies

Write your reply to:

Draft