TapPackage create error in Visual Studio and Command line


I am getting an error while creating a tappackage. I was able to successfully create package on my old laptop without any issues. Not sure if I am missing any dependency. I get this error. Can anyone help me?

Thank you,

Severity Code Description Project File Line Suppression State
Error A CliAction has thrown an exception: Object reference not set to an instance of an object. NWDIAnalyticsPlugin C:\Users\prramesh.nuget\packages\opentap\9.18.4\build\OpenTap.targets 68
Severity Code Description Project File Line Suppression State
Error MSB3073 The command .\tap package create C:\GIT\nwdi-tapplugin\NWDIAnalyticsPlugin\NWDIAnalyticsPlugin\package.xml --install exited with code 193. NWDIAnalyticsPlugin C:\Users\prramesh.nuget\packages\opentap\9.18.4\build\OpenTap.targets 68

Hi @priram ,

Is it possible for you to give more information on the

  1. the .csproj project style use .NET SDK Style or the utilizes the old style
  • .csproj .NET SDK style
<Project Sdk="Microsoft.NET.Sdk">
  • .csproj old style
<?xml version="1.0" encoding="utf-8 "?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  1. My Release folder with TAP 9.18.4 and able to build successfully , do compare the basic stuffs required with your Release Bin Folder

  2. If you are using Dotfucator, please ensure the setup is done in you new pc.

Best Regards
Darwin Subramaniam