Author Topic: How to use NASM in Visual Studio 2017?  (Read 19732 times)

Offline JamieChang

  • Jr. Member
  • *
  • Posts: 2
How to use NASM in Visual Studio 2017?
« on: June 15, 2018, 08:41:19 AM »
I'd like to try NASM programming in Visual Studio 2017.

Firstly I created an empty Windows Console Application, then uses Tool -> NuGet Package Manager to download nasm2(v2.13.3.1) package.
Then in "Build Customization", I selected nasm.targets in packages which was just downloaded.
However, when I open project Property Page, it doesn't have "Netwide Assembler" option in Configuration Properties as someone mentioned in webpage.

Did I missed something?

Thanks in advance.

Offline JamieChang

  • Jr. Member
  • *
  • Posts: 2
Re: How to use NASM in Visual Studio 2017?
« Reply #1 on: June 20, 2018, 12:31:19 AM »
Tried a couple of days, I think I found the reason:
1. package is not downloaded until kicking first build;
2. Visual Studio needs to be re-open after customizing build env.

After that, I could see "Netwide Assembler" in VS and use it to build nasm code. :)

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: How to use NASM in Visual Studio 2017?
« Reply #2 on: June 20, 2018, 12:37:20 AM »
Thanks for the solution! Sorry I wasn't able to help you with it.

Best,
Frank