Replies: 1 comment
-
This works for me with .NET Core SDK 2.1 installed, but I'm not sure whether this is still required. |
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 followed actual documentation as best as I could:
I installed:
NuGet\Install-Package CodeGeneration.Roslyn.BuildTime -Version 0.6.1
Project file:
<PackageReference Include="LanguageExt.CodeGen" Version="4.4.2" />
<PackageReference Include="CodeGeneration.Roslyn.BuildTime" Version="0.6.1" PrivateAssets="all" />
Then when I try to install:
NuGet\Install-Package dotnet-codegen -Version 0.6.1
I get an error in the package manager:
and
Package 'dotnet-codegen 0.6.1' has a package type 'DotnetCliTool' that is not supported by project 'Models'.
After searching "Issues" and "Discussions", the more I read about everyone issues, the more I got confused on which packages to import + version, which other tools (if any) to install, project settings/properties to modify etc. So to make everything clear:
(sorry here but I'm a NooB) What about the "2.1 sdk" thing? Do I need it to be installed on my computer? Should I reference it and how? Will there be conflicts with my "main sdk", or do I have do downgrade? I use Microsoft.NET.Sdk latest version, .Net7.
Once installed, should I ignore some "Warnings" and use languagext-codegen anyways as if it were "okay"?
Can anyone show exactly what should appear as package reference + version, if I must add other tools and exactly and where to get them, change project settings/prop?
Is the documentation still up to date about how to install LgexCodeGen library?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions