SDK requirements on a project using these packages? #4736
-
What are the lowest supported versions of MSBuild and Roslyn, for building a C# project that targets netstandard2.0 and uses 8.0.0 versions of Microsoft.Extensions.* packages from this repository? Is the compatibility covered by automated tests? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Some of our packages contain generators, and those build against Roslyn 4.4.0, which means that if you want to build in visual studio, you'll want to be using Visual Studio 2022 17.4 or later (see Roslyn and VS version mappings for more info). For building from the command line, you will also need to have at least 17.4 MSBuild, which means that either a 7.0 or an 8.0 SDK should be sufficient.
All of our tests and builds are against 8.0 SDKs, we don't currently have anything ensuring that 7.0 SDKs also work, but there shouldn't be a reason why this wouldn't work. If you have a 7.0 SDK and trying to consume a package and having issues, please let us know so that we can investigate. |
Beta Was this translation helpful? Give feedback.
Some of our packages contain generators, and those build against Roslyn 4.4.0, which means that if you want to build in visual studio, you'll want to be using Visual Studio 2022 17.4 or later (see Roslyn and VS version mappings for more info).
For building from the command line, you will also need to have at least 17.4 MSBuild, which means that either a 7.0 or an 8.0 SDK should be sufficient.
All of our tests and builds are against 8.0 SDKs, we don't currently have anything ensuring that 7.0 SDKs also work, but there shouldn't be a reason why this wouldn't work. If you have a 7.0 SDK and trying to consume a package and having issues, plea…