The 32/64-bit issue between Visual Studio's XAML Designer and Pro SDK 2.8+ is well-documented, and it has been fixed in Visual Studio 2022, as long as the DLLs are referenced from disk. However, when I delete the on-machine references and add the 2.8 Extensions NuGet package, the XAML error shows up again, "Error: Could not load file or assembly 'ArcGIS.Desktop.Framework, Culture=neutral' or one of its dependencies. The system cannot find the file specified." A clean/rebuild doesn't make the error go away.
This leads to 2 questions:
Thanks for any insights!
Solved! Go to Solution.
Hi Stephen, you're welcome.
As currently there are no plans to support VS 2022 at 2.9
I dont have an answer for your #1. On #2, no the Pro SDK is not supported on 2022 at 2.9.
However, if u have an add-in previously created for 2019 there shouldnt be any problem editing/compiling/debugging it, etc in 2022. It's just that u wont be able to add additional items to it using the SDK item templates - new items would have to be added "by hand".
Thanks, Charles. That's the exact process I went through; one of our add-ins is a couple years old, and I've been working in VS 2022 to take advantage of the 64-bit XAML Designer. I only got the on-machine references to work by removing the <Private>False</Private> attribute for each DLL in the csproj file, so VS must treat package-based DLLs differently behind the scenes. If anything jumps out at you, I'd love to know.
Are there any plans to support 2.X in VS 2022, or will 3.X+ be the only versions with 2022 support? Our clients aren't likely to adopt 3.X for a while, and being able to use the XAML Designer again has been extremely helpful to our process.
Hi Stephen, you're welcome.
As currently there are no plans to support VS 2022 at 2.9