microsoft/slow-cheetah

TransformXml task could not be loaded from the assembly

taipignas opened this issue · 1 comments

The "TransformXml" task could not be loaded from the assembly C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll. Could not load file or assembly 'file:///C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VisualStudio\v15.0\Web\Microsoft.Web.Publishing.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

.NET 7 project
My VS path has v17.0, not v15.0
I have VS 2022 17.8.0 Preview 1.0 and VS 2019 16.11.29 installed.

maybe a related issue which was solved on VS
https://developercommunity.visualstudio.com/t/MicrosoftWebPublishingTasksdll-not-f/1608134
i have older 4.8 framework web projects and transformation works there

my bad. i was using a wrong nuget