Hi Kirk,
There are also various links to relevant StackOverflow posts etc. from there.
-----------
The _UNINSTALLED_... file is a copy of the .dna file that the uninstall leaves there. It's a file you are likely to edit for your add-in, and I don't want it to be deleted and the changes lost if you uninstall & reinstall the package.
When installing again, the install.ps1 will look for that file, and use it instead of the package template as your .dna file.
So all of that is normal and expected.
This PowerShell script only runs during NuGet package install, so shouldn't impact on your development or running of the add-in otherwise.
---------
You can check what the execution policy when you start a fresh Visual Studio by calling "Get-ExecutionPolicy -List" in the package manager console.
On my machine it shows:
PM> Get-ExecutionPolicy -List
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process RemoteSigned
CurrentUser Undefined
LocalMachine Undefined
I guess there is some global PowerShell setting that relates to this, and is different on your machine.
We're getting far beyond my limited PowerShell knowledge though...
At least the next person running into the problem (or me at some future date) will find this discussion on Google.
Please post back if you find out anything more.
Regards,
Govert