Closed
Description
I've got a project with a file hierarchy like this:
\
\ Module
Module.psd1
Module.psm1
\ Tests
Module.Tests.ps1
At the top of Module.Tests.ps1, I have
using module "..\Module"
PowerShell itself seems to accept this statement (it loads all the module's functions and types as expected), but VS Code rejects it with the error "Could not find the module '..\Module'.". I believe this Intellisense is incorrect, but my understanding of the "using module" syntax is admittedly incomplete.