HJLebbink/asm-dude

Visual Studio 2022 support

NN--- opened this issue · 33 comments

NN--- commented
Visual Studio 2022 support

Support for vs2022 is almost finished. The last time I checked MS had their library mess not cleaned up yet...

Is there any ETA on 2022 support?

Now that VS2022 has officially released, when can we expect support for it?

need vs2022 support ,I can't live without asmdude.

Any updates on support for VS 2022?

NN--- commented

I was able to compile the code and install the vsix, but something is not working there.

Yes, there is a VS 2022 branch in which I hoped (as advertised by MS) to swiftly upgrade from VS2019 to VS2022. but I can't seem to get all features (in Asmdude) to work properly. Sadly, my strategy has become to wait some time, let others fix issues in VS, so I don't waste weeks with trial and error.

I'll give it a try tomorrow.

please my life is not happy without you in vs2022

Is there anything we can do to help?

Is there any further info on this? Is MS going to add ASM support in via update or via VSIX package? Or are they trying to relegate ASM programming over to VSCode?

I'd really prefer to only have one Visual Studio installed rather than multiple just to get "complete" coverage for my work.

For a temporary solution, I just cloned this repo (at the start of December) and built the vsix2022 branch. Works well enough for my purposes. This is my first time trying out this extension, so I don't know the full expected feature set, but synax highlighting is the only thing I really care about at the moment. Tooltips work fine too except for sometimes displaying partially off screen.

How do I get it from here, the vsix file

I've attached a zip file (wasn't allowed to upload a .vsix) with a vs2022 version of AsmDude! It still has issues due to changed APIs, once I have this made it fool proof, I'll put in on the extensions marketplace. I assume you need .NET Framework 4.8

AsmDude-vs2022.zip

Note: the attached version only installs on vs2022 and does NOT use the new ASYNC functions. If there are any install issues etc, please let me know in a different github issue

need 2022 support officially

This works great! thanks for all the effort!!!

I've attached a zip file (wasn't allowed to upload a .vsix) with a vs2022 version of AsmDude! It still has issues due to changed APIs, once I have this made it fool proof, I'll put in on the extensions marketplace. I assume you need .NET Framework 4.8

AsmDude-vs2022.zip

Note: the attached version only installs on vs2022 and does NOT use the new ASYNC functions. If there are any install issues etc, please let me know in a different github issue

Works for me,thx

Any update ? VS2022 is almost half a year old...

yeah, I need some sort of syntax highlighting :(

Hey, no problem lol take your time. I understand we all have some issues outside of coding that we need to take care of before hobbies

Make for VS 2022 ! Plz

I've attached a zip file (wasn't allowed to upload a .vsix) with a vs2022 version of AsmDude! It still has issues due to changed APIs, once I have this made it fool proof, I'll put in on the extensions marketplace. I assume you need .NET Framework 4.8

AsmDude-vs2022.zip

Note: the attached version only installs on vs2022 and does NOT use the new ASYNC functions. If there are any install issues etc, please let me know in a different github issue

I'm installing it, and it freezes in this interface.
image
the log show as follow:

2022/9/12 12:53:37 - Microsoft VSIX Installer
2022/9/12 12:53:37 - -------------------------------------------
2022/9/12 12:53:37 - vsixinstaller.exe version:
2022/9/12 12:53:37 - 17.4.23-preview1
2022/9/12 12:53:37 - -------------------------------------------
2022/9/12 12:53:37 - Command line parameters:
2022/9/12 12:53:37 - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Users\mingy\Desktop\AsmDude-vs2022.vsix
2022/9/12 12:53:37 - -------------------------------------------
2022/9/12 12:53:37 - Microsoft VSIX Installer
2022/9/12 12:53:37 - -------------------------------------------
2022/9/12 12:53:37 - 找到安装程序实例 7ff1fcb6,但其处于不可启用状态。
2022/9/12 12:53:37 - Initializing Install...
2022/9/12 12:53:37 - 扩展详细信息...
2022/9/12 12:53:37 - 	Identifier         : c729d6b2-f412-49ed-893d-a8f61vs2022B
2022/9/12 12:53:37 - 	Name               : AsmDude2022
2022/9/12 12:53:37 - 	Author             : Henk-Jan Lebbink
2022/9/12 12:53:37 - 	Version            : 1.9.8.0
2022/9/12 12:53:37 - 	Description        : Syntax highlighting and code assistance for assembly source code (.asm, .cod, .inc, .s) and the Disassembly Window 
2022/9/12 12:53:37 - 	Locale             : en-US
2022/9/12 12:53:37 - 	MoreInfoURL        : https://github.com/HJLebbink/asm-dude
2022/9/12 12:53:37 - 	InstalledByMSI     : False
2022/9/12 12:53:37 - 	SupportedFrameworkVersionRange : [4.7.2,)
2022/9/12 12:53:37 - 
2022/9/12 12:53:37 - 	SignatureState     : Unsigned
2022/9/12 12:53:37 - 	支持的产品              : 
2022/9/12 12:53:37 - 		Microsoft.VisualStudio.Enterprise
2022/9/12 12:53:37 - 			Version : [17.0,18.0)
2022/9/12 12:53:37 - 			ProductArchitecture : amd64
2022/9/12 12:53:37 - 		Microsoft.VisualStudio.Pro
2022/9/12 12:53:37 - 			Version : [17.0,18.0)
2022/9/12 12:53:37 - 			ProductArchitecture : amd64
2022/9/12 12:53:37 - 		Microsoft.VisualStudio.Community
2022/9/12 12:53:37 - 			Version : [17.0,18.0)
2022/9/12 12:53:37 - 			ProductArchitecture : amd64
2022/9/12 12:53:37 - 
2022/9/12 12:53:37 - 	引用                 : 
2022/9/12 12:53:37 - 	系统必备               : 
2022/9/12 12:53:37 - 		-------------------------------------------------------
2022/9/12 12:53:37 - 		Identifier   : Microsoft.Net.Component.4.7.2.TargetingPack
2022/9/12 12:53:37 - 		Name         : .NET Framework 4.7.2 targeting pack
2022/9/12 12:53:37 - 		Version      : [17.0.31804.368,18.0)
2022/9/12 12:53:37 - 
2022/9/12 12:53:37 - 		-------------------------------------------------------
2022/9/12 12:53:37 - 		Identifier   : Microsoft.VisualStudio.Component.CoreEditor
2022/9/12 12:53:37 - 		Name         : Visual Studio core editor
2022/9/12 12:53:37 - 		Version      : [17.0,18.0)
2022/9/12 12:53:37 - 
2022/9/12 12:53:37 - 签名详细信息...
2022/9/12 12:53:37 - 	Extension is not signed.
2022/9/12 12:53:37 - 
2022/9/12 12:53:37 - 正在搜索适用的产品...
2022/9/12 12:53:37 - 找到的已安装产品 - 全局位置
2022/9/12 12:53:37 - 找到的已安装产品 - Visual Studio Community 2019
2022/9/12 12:53:37 - VSIXInstaller.NoApplicableSKUsException: 此扩展不能安装在任何当前安装的产品上。
   在 VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   在 VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   在 VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   在 VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   在 VSIXInstaller.App.Initialize(Boolean isRepairSupported)
VSIXInstaller.App.Initialize()
System.Threading.Tasks.Task`1.InnerInvoke()
System.Threading.Tasks.Task.Execute()

and now I have to run
image

Maybe it's because I have both vs2019 and vs2022 installed?

need 2022 support officially!

Hi @HJLebbink Is branch for visual studio 2022 up to date ? I see last version is from July but branch was updated in January. I tried to build it but got error. Could you please add Support for Zen 3 architecture. It shouldn't be a big deal. It took me only 1 hour of work, but I cannot build it because of errors
error MSB3030: Could not copy the file "D:\gitproj\asm-dude\VS\CSHARP\asm-dude-vsix\Microsoft.Z3.dll" because it was not found.
D:\gitproj\asm-dude\VS\CSHARP\asm-dude-vsix\SyntaxHighlighting\AsmDisassemblyTokenTagProvider.cs(28,11,28,19): error CS0246: The type or namespace name 'AsmTools' could not be found (are you missing a using directive or an assembly reference?)

There is tsv file for Zen3 architecture.

Zen3.txt

I am creating educational materials now. I always recommend and use AsmDude by HJLebbink. I needed quick syntax highlighter to continue content creation with Visual Studio 2022. I decided to create temporary solution in 2 business days.

If you need quick and dirty syntax highlighter for MASM x64 Assembly in Visual Studio 2022 then you can try ChASM.

https://github.com/ethicalblue/ChASM-x86-x64-Assembly-Syntax-Highlighter

Asm is not dead.

@HJLebbink maybe you could ask @madskristensen for some help with the issues you are having?
Your plugin has more than 100'000 downloads - maybe a developer from Microsoft would be willing to donate some of there time to help you with this?

@HJLebbink Not sure this is useful but just to say that the ASMDude-zipfile (https://github.com/HJLebbink/asm-dude/files/7822110/AsmDude-vs2022.zip) works on my install of VS2022 on Windows 11 Pro N. I have no idea what kind of specific information you need to make this comment useful.

@HJLebbink Thanks for the great extension! I also cannot live without AsmDude :)

What about compilation for ARM64? I am trying to migrate to VS2022 on ARM but no luck with many extensions.

Thanks!

Support for vs2022 is almost finished. The last time I checked MS had their library mess not cleaned up yet...

One problem is, that your project files are a mess too. I could simplify them for you. Care for help?

Sure, the problem was that there was/is no nice way to include an x64 project in an VS plugin. But if you know a nice way. Please do

@henkjan-sneller Why would you need x64 project in the VS plugin? It's C# so can't you use the AnyCPU target?

Your work is very appreciated. This is a great extension.

For completeness: Support for VS2022 can be found here.