So, I had a C# ArcGIS 2.7 Add-In using Visual Studio 2019 that I originally upgraded to 3.1 for Visual Studio 2022; however, I learned that I needed to upgrade to version 3.0 instead. Between the conversion to 3.1 and learning about this required downgrade, quite a few changes were made to the project, so I had to set up a workaround where I converted the older 2.7 Add-In to 3.0 and copied my code Add-In for 3.1 to this solution, fixing any changes going from 3.1 back to 3.0.
Anyways, I had built the solution and things were working for a bit, but now, when I build, I get the following output:
Build started...
1>------ Build started: Project: TestProject, Configuration: Debug Any CPU ------
1>Test -> C:\Users\msinger\Documents\TestProject\TestButton\TestButton\bin\Debug\net6.0-windows\Test.dll
1>IntermediateOutputPath Name: obj\Debug\net6.0-windows\...
1>CleanFile Name: Test.csproj.FileListAbsolute.txt...
1>ProjectDir Name: C:\Users\msinger\Documents\TestProject\TestButton\TestButton\...
1>AssemblyName Name: Test...
1>TargetFileName Name: Test.dll...
1>RootNamespace: Test...
1>TargetFolder Name: bin\Debug\net6.0-windows\...
1>PackageType Name: Addin...
1>Install dir: C:\Program Files\ArcGIS\Pro\
1>ConvertToRelativePath Task, TargetDir: C:\Users\msinger\Documents\TestProject\TestButton\TestButton\bin\Debug\net6.0-windows\
1>Running PackageArcGISContents...
1>ZipIntermediatePath: Install...
1>Deploying Addin...
1>ArcGISFolder Name: C:\Program Files\ArcGIS\Pro\...
1>Execute RegisterAddIn.exe "" /s...
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Where on line 18 it shows that there is no argument passed to RegisterAddIn.exe. When building the 3.1 version of the Add-In, I practically the same output, except for
1>Execute RegisterAddIn.exe "C:\Users\msinger\Documents\Summer2023\Test\TestButton\TestButton\bin\Debug\net6.0-windows\Test.esriAddinX" /s...
Where the Test.esriAddinX is actually generated.
I've checked the Debug\net6.0-windows\ folder and found most of the same files that I can find in the .esriAddinX are there, but for some reason it's not then taking these files and packing it into a .esriAddinX. Is there some place I should look in order to fix the project not creating this .esriAddinX? Please let me know if more information is needed. Thank you.