MSBuildLocator icon indicating copy to clipboard operation
MSBuildLocator copied to clipboard

MSBuildLocator is not available in .NET Core

Open ehsan-keshavarzian opened this issue 4 years ago • 4 comments

image

ehsan-keshavarzian avatar Oct 15 '21 00:10 ehsan-keshavarzian

~What version of the package are you using? How are you referencing it in your project?~

rainersigwald avatar Oct 15 '21 15:10 rainersigwald

This package is available for netcoreapp2.1 and higher and is not compatible with netcoreapp2.0. Can you retarget your application to a higher version?

Note that the .NET Core 2.0, 2.1, 2.2, and 3.0 runtimes are now out of support.

rainersigwald avatar Oct 15 '21 15:10 rainersigwald

I actually started from .NET 5 and went down to >NET Core 2.0 and it was the same for all of them. It happens when I use PackageReference. I downloaded the assembly and referenced it from disk and it works fine (netcoreapp3.1).

ehsan-keshavarzian avatar Oct 19 '21 08:10 ehsan-keshavarzian

What version of MSBuildLocator are you using? How are you referencing it?

I have a project (targeting net6.0, but it also worked when targeting other frameworks) with <PackageReference Include="Microsoft.Build.Locator" Version="1.4.1" />, and it works fine.

Forgind avatar Dec 28 '21 21:12 Forgind