Description
openedon Sep 14, 2024
Issue Description
I am just loading a simple csproj below, which references relative csprojs from CppSharp.
IntelliSense won't work and the using directives are not recognized as necessary.
Project seems well loaded in the solution explorer:
Active context seems correct as well:
What could be the issue:
Steps to Reproduce
This is my csproj:
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\..\tools\cppsharp\src\AST\CppSharp.AST.csproj" />
<ProjectReference Include="..\..\tools\cppsharp\src\Core\CppSharp.csproj" />
<ProjectReference Include="..\..\tools\cppsharp\src\CppParser\Bindings\CSharp\CppSharp.Parser.CSharp.csproj" />
<ProjectReference Include="..\..\tools\cppsharp\src\Generator\CppSharp.Generator.csproj" />
<ProjectReference Include="..\..\tools\cppsharp\src\Parser\CppSharp.Parser.csproj" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
Expected Behavior
Actual Behavior
Logs
output_logging_20240915T005141.zip
Environment information
VSCode version: 1.92.2
C# Extension: 2.46.32
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 8.0.401 Commit: 811edcc344 Workload version: 8.0.400-manifests.b6724b7a MSBuild version: 17.11.4+37eb419adRuntime Environment:
OS Name: linuxmint
OS Version: 20.3
OS Platform: Linux
RID: linux-x64
Base Path: /home/joao/.dotnet/sdk/8.0.401/
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 8.0.8
Architecture: x64
Commit: 08338fcaa5
.NET SDKs installed:
8.0.401 [/home/joao/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.8 [/home/joao/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.8 [/home/joao/.dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
Extension | Author | Version | Folder Name |
---|---|---|---|
csdevkit | ms-dotnettools | 1.11.6 | ms-dotnettools.csdevkit-1.11.6-linux-x64 |
csharp | ms-dotnettools | 2.46.32 | ms-dotnettools.csharp-2.46.32-linux-x64 |
vscode-dotnet-runtime | ms-dotnettools | 2.1.5 | ms-dotnettools.vscode-dotnet-runtime-2.1.5 |