vscode-nuget-package-manager
vscode-nuget-package-manager copied to clipboard
Cannot find any .csproj or .fsproj file for your project!
I expect this is my lack of experience, however, I'm trying to install a package (Microsoft.Windows.Compatibility
). The extension finds the package, and I can select the version. At this point, a little error message pops up in the bottom right:
Which fully reads: Cannot find any .csproj or .fsproj file for your project!
My project has a .csproj
file which contains:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project
If anybody has any ideas, I'd be grateful if you could share.
T.I.A.
Same problem here. This is how my project structure looks like:
https://imgur.com/a/q0ANd3v
I have this problem too. I have a workspace with multiple project folders with Python/C++/C#/NodeJS code, but only one is a C# project. I get the same error, and I don't see any debug log output for this extension.
If you open single .NET project in your vscode, it will be ok. This problem happen when you open .NET project inside a workspace i think. But I have no idea how to fix it.
If you open single .NET project in your vscode, it will be ok. This problem happen when you open .NET project inside a workspace i think. But I have no idea how to fix it.
I had to open my .NET project in an independent vscode window to run the code and get the package install. If you are in a workspace with more folders we cant get anything installed.