![]() Debugging the extension will work the same way as it does on an 圆4 Visual Studio instance when targeting An圜PU. The extension will be installed in this instance, allowing you to step through and test it before deploying the Visual Studio extension package. Debuggingĭebugging the extension in Visual Studio will run a new instance of Visual Studio 2022 in an experimental mode. A simple build will generate a Visual Studio extension package targeting both 圆4 and arm64. The extensions targeting An圜PU for the build platform will be complete. If this architecture target isn't added, the VSIX will fail to install on Visual Studio 2022 for Arm. Click on the Install Targets, click the New button, then fill out the necessary information. If you prefer to make these changes within the Visual Studio GUI, open the file in the designer. The easiest way to add the arm64 target is to copy/paste the existing tag and set the value of the inner tag to arm64. The same modifications made to the to target amd64 are the same ones you'll need to make for arm64. Add Arm64 As Installation Target in Extension Manifest The downside is being locked to 圆4 for build and deploy. For example, if you're primarily building from an 圆4 machine and use an MSBuild task that loads a native dlls like NerdBank.GitVersioning, you can continue building. The exception to this rule is when the native dependency isn't involved with the execution of the extension, but for compiling the extension. Failure to do so will result in the extension or that part of the extension crashing. If your extension relies on native dependencies that are targeting the x86 or 圆4 platforms, make sure that an arm64 version of that dependency exists. This guidance also applies to building from 圆4 Visual Studio. NET Framework 4.7.2 at minimum in order for the solution to properly compile for arm64 support. NET Framework version chosen when creating a new Visual Studio Extension project, you will need your main project to target. Any version that is at least 17.4 is the good to go.įrom troubleshooting and inspecting the default. The most important ones to update are the and packages. ![]() ![]() Update all NuGet packages to their latest versions. NET Framework 4.8 and 4.8.1 development tools installed, but this isn't necessarily required if building from an 圆4 machine. Since I'm on my Windows Dev Kit 2023, I also have the. This workload will also automatically install the. This is important as earlier versions will throw warnings and possibly errors.Įnsure you have the Visual Studio extension development workload installed I recommend reading through that blog post first, because I'm going to walkthrough a lot of what is described on there, but from the way I figured it out.įirst step, make sure you have Visual Studio 2022 17.4 and above installed. The steps for adding Arm64 support to Visual Studio 2022 extensions are easily listed in Leslie Richardson's blog post from September. How else are you going to test? You can always ask me to test and I'll help out □. Preferably a device running Windows 11 on Arm.Visual Studio 2022 17.4 or above for Windows with the Visual Studio extension development workload installed.This blog post will walk through the steps needed to make this happen for. What did I do after being faced with this? Figure out how to add Arm64 support to some of the extensions that I use. NET Conf, I immediately rushed to upgrade and was met with a barren wasteland in the realm of VS extensions I could install. Upon hearing the news that Arm64 support went GA with the release of 17.4 during. The Visual Studio 2022 17.3 previews (only, and not the GA release) included a sneak peak of what a fully Arm-native Visual Studio would look like. If you're running Windows on Arm devices like I am, 2022 has been the holy grail for news surrounding Windows 11 on Arm and development tools. Be sure to check out the other author posts to learn some awesome C# content! Big thanks to Matthew Groves for putting these on every year. This post is part of the 2022 C# Advent series.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |