Replies: 2 comments 7 replies
-
What is the warning you are getting? I get no warnings for a console app that references these packages. <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="3.8.0" />
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="16.0.206" />
</ItemGroup>
</Project> Please:
|
Beta Was this translation helpful? Give feedback.
7 replies
-
It looks like the following csproj file works:
However, the whole second ItemGroup - I don't want it, and it feels bad too. Hope you can fix this soon :) Best regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to use the NuGet packages "Microsoft.VisualStudio.SDK" and "Microsoft.VisualStudio.LanguageServices" in combination with an up-to-date Roslyn version, i.e., with the packages "Microsoft.CodeAnalysis.CSharp.Workspaces" 3.8.0 as well as "Microsoft.CodeAnalysis.Workspaces.MSBuild" 3.8.0.
However, I run into NuGet package warnings when building the project and we have a strict no-warning policy in our company.
I tried various combinations (downgrading the SDK, downgrading the Roslyn packages, etc.) but I have not found a single combination which works together.
I think I'm doing something wrong here, because I cannot be the only one trying to use the VS SDK package in combination with Roslyn?!
Please point me out a working packages combination, thank you.
Best regards,
D.R.
Beta Was this translation helpful? Give feedback.
All reactions