microsoft / microsoft/vscode-dotnettools
c# devkit environment variables
Open
@JakeRadMSFT is already working on this.
Since Jul 15, 2025.
area-project
bug
needs-investigation
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
The active document is not part of the open workspace. Not all language features will be available
Reading other issues c# devkit seems to generally have problems using environment variables which should be fixed. If it can't use env-variables, there should be a possibility to define them in another way e.g. in .vscode/-folder.
Problem:
.csproj with
<ItemGroup>
<ProjectReference
Include="$(envvarpath)\somewhere\afolder\SomeProj.csproj" /
</ItemGroup>"
- dotnet build runs
- debug and build with 'Solution Explorer' runs
- stepping into Method-Calls to the referenced project works: the source-file is opened, breakpoint works. But: there is no intellisense, a message pops up:
The active document is not part of the open workspace. Not all language features will be available.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.