Unable to package plugin in 4.19

Greetings,

while porting a plugin from 4.18 to 4.19 there where no issues compiling it.

However packaging the plugin failed immediatelly, having the output log give no information about why the plugin is unable to package.

To figure out the issue I decided to start from scratch using the editor functionality for creating new plugins, I simply choose a blank plugin.

To my surprise this blank plugin created by the editor that I have not made any edits to at all fails to package as well, only displaying this information in the log:

UATHelper: Package Plugin Task (Windows): Running AutomationTool...
UATHelper: Package Plugin Task (Windows): C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(1601,5): error MSB4036: No se encuentra la tarea "GetReferenceNearestTargetFrameworkTask". Compruebe lo siguiente: 1.) El nombre de la tarea del archivo del proyecto es el mismo que el nombre de la c
lase de tarea. 2.) La clase de tarea es "public" e implementa la interfaz Microsoft.Build.Framework.ITask. 3.) La tarea se declar? correctamente con <UsingTask> en el archivo del proyecto o en los archivos *.tasks ubicados en el directorio "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin". [D:\Unreal\UE_4.19\Engine\Source\Progr
ams\AutomationTool\AutomationTool.csproj]
UATHelper: Package Plugin Task (Windows): RunUAT.bat ERROR: AutomationTool failed to compile.
UATHelper: Package Plugin Task (Windows): BUILD FAILED

Any help will be greatly appreciated.

cheers.

check this https://answers.unrealengine.com/questions/741965/cannot-generate-project-file-after-vs2017-update.html