[
  {
    "path": ".gitattributes",
    "content": "* text=auto\n*.bat text eol=crlf\n*.props text eol=crlf\n*.targets text eol=crlf\n*.xml text eol=crlf\n"
  },
  {
    "path": ".gitignore",
    "content": "*.exe\n*.zip\n/.vs\n"
  },
  {
    "path": "COPYING",
    "content": "                  GNU LESSER GENERAL PUBLIC LICENSE\n                       Version 2.1, February 1999\n\n Copyright (C) 1991, 1999 Free Software Foundation, Inc.\n 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n[This is the first released version of the Lesser GPL.  It also counts\n as the successor of the GNU Library Public License, version 2, hence\n the version number 2.1.]\n\n                            Preamble\n\n  The licenses for most software are designed to take away your\nfreedom to share and change it.  By contrast, the GNU General Public\nLicenses are intended to guarantee your freedom to share and change\nfree software--to make sure the software is free for all its users.\n\n  This license, the Lesser General Public License, applies to some\nspecially designated software packages--typically libraries--of the\nFree Software Foundation and other authors who decide to use it.  You\ncan use it too, but we suggest you first think carefully about whether\nthis license or the ordinary General Public License is the better\nstrategy to use in any particular case, based on the explanations below.\n\n  When we speak of free software, we are referring to freedom of use,\nnot price.  Our General Public Licenses are designed to make sure that\nyou have the freedom to distribute copies of free software (and charge\nfor this service if you wish); that you receive source code or can get\nit if you want it; that you can change the software and use pieces of\nit in new free programs; and that you are informed that you can do\nthese things.\n\n  To protect your rights, we need to make restrictions that forbid\ndistributors to deny you these rights or to ask you to surrender these\nrights.  These restrictions translate to certain responsibilities for\nyou if you distribute copies of the library or if you modify it.\n\n  For example, if you distribute copies of the library, whether gratis\nor for a fee, you must give the recipients all the rights that we gave\nyou.  You must make sure that they, too, receive or can get the source\ncode.  If you link other code with the library, you must provide\ncomplete object files to the recipients, so that they can relink them\nwith the library after making changes to the library and recompiling\nit.  And you must show them these terms so they know their rights.\n\n  We protect your rights with a two-step method: (1) we copyright the\nlibrary, and (2) we offer you this license, which gives you legal\npermission to copy, distribute and/or modify the library.\n\n  To protect each distributor, we want to make it very clear that\nthere is no warranty for the free library.  Also, if the library is\nmodified by someone else and passed on, the recipients should know\nthat what they have is not the original version, so that the original\nauthor's reputation will not be affected by problems that might be\nintroduced by others.\n\f\n  Finally, software patents pose a constant threat to the existence of\nany free program.  We wish to make sure that a company cannot\neffectively restrict the users of a free program by obtaining a\nrestrictive license from a patent holder.  Therefore, we insist that\nany patent license obtained for a version of the library must be\nconsistent with the full freedom of use specified in this license.\n\n  Most GNU software, including some libraries, is covered by the\nordinary GNU General Public License.  This license, the GNU Lesser\nGeneral Public License, applies to certain designated libraries, and\nis quite different from the ordinary General Public License.  We use\nthis license for certain libraries in order to permit linking those\nlibraries into non-free programs.\n\n  When a program is linked with a library, whether statically or using\na shared library, the combination of the two is legally speaking a\ncombined work, a derivative of the original library.  The ordinary\nGeneral Public License therefore permits such linking only if the\nentire combination fits its criteria of freedom.  The Lesser General\nPublic License permits more lax criteria for linking other code with\nthe library.\n\n  We call this license the \"Lesser\" General Public License because it\ndoes Less to protect the user's freedom than the ordinary General\nPublic License.  It also provides other free software developers Less\nof an advantage over competing non-free programs.  These disadvantages\nare the reason we use the ordinary General Public License for many\nlibraries.  However, the Lesser license provides advantages in certain\nspecial circumstances.\n\n  For example, on rare occasions, there may be a special need to\nencourage the widest possible use of a certain library, so that it becomes\na de-facto standard.  To achieve this, non-free programs must be\nallowed to use the library.  A more frequent case is that a free\nlibrary does the same job as widely used non-free libraries.  In this\ncase, there is little to gain by limiting the free library to free\nsoftware only, so we use the Lesser General Public License.\n\n  In other cases, permission to use a particular library in non-free\nprograms enables a greater number of people to use a large body of\nfree software.  For example, permission to use the GNU C Library in\nnon-free programs enables many more people to use the whole GNU\noperating system, as well as its variant, the GNU/Linux operating\nsystem.\n\n  Although the Lesser General Public License is Less protective of the\nusers' freedom, it does ensure that the user of a program that is\nlinked with the Library has the freedom and the wherewithal to run\nthat program using a modified version of the Library.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.  Pay close attention to the difference between a\n\"work based on the library\" and a \"work that uses the library\".  The\nformer contains code derived from the library, whereas the latter must\nbe combined with the library in order to run.\n\f\n                  GNU LESSER GENERAL PUBLIC LICENSE\n   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n  0. This License Agreement applies to any software library or other\nprogram which contains a notice placed by the copyright holder or\nother authorized party saying it may be distributed under the terms of\nthis Lesser General Public License (also called \"this License\").\nEach licensee is addressed as \"you\".\n\n  A \"library\" means a collection of software functions and/or data\nprepared so as to be conveniently linked with application programs\n(which use some of those functions and data) to form executables.\n\n  The \"Library\", below, refers to any such software library or work\nwhich has been distributed under these terms.  A \"work based on the\nLibrary\" means either the Library or any derivative work under\ncopyright law: that is to say, a work containing the Library or a\nportion of it, either verbatim or with modifications and/or translated\nstraightforwardly into another language.  (Hereinafter, translation is\nincluded without limitation in the term \"modification\".)\n\n  \"Source code\" for a work means the preferred form of the work for\nmaking modifications to it.  For a library, complete source code means\nall the source code for all modules it contains, plus any associated\ninterface definition files, plus the scripts used to control compilation\nand installation of the library.\n\n  Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope.  The act of\nrunning a program using the Library is not restricted, and output from\nsuch a program is covered only if its contents constitute a work based\non the Library (independent of the use of the Library in a tool for\nwriting it).  Whether that is true depends on what the Library does\nand what the program that uses the Library does.\n\n  1. You may copy and distribute verbatim copies of the Library's\ncomplete source code as you receive it, in any medium, provided that\nyou conspicuously and appropriately publish on each copy an\nappropriate copyright notice and disclaimer of warranty; keep intact\nall the notices that refer to this License and to the absence of any\nwarranty; and distribute a copy of this License along with the\nLibrary.\n\n  You may charge a fee for the physical act of transferring a copy,\nand you may at your option offer warranty protection in exchange for a\nfee.\n\f\n  2. You may modify your copy or copies of the Library or any portion\nof it, thus forming a work based on the Library, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:\n\n    a) The modified work must itself be a software library.\n\n    b) You must cause the files modified to carry prominent notices\n    stating that you changed the files and the date of any change.\n\n    c) You must cause the whole of the work to be licensed at no\n    charge to all third parties under the terms of this License.\n\n    d) If a facility in the modified Library refers to a function or a\n    table of data to be supplied by an application program that uses\n    the facility, other than as an argument passed when the facility\n    is invoked, then you must make a good faith effort to ensure that,\n    in the event an application does not supply such function or\n    table, the facility still operates, and performs whatever part of\n    its purpose remains meaningful.\n\n    (For example, a function in a library to compute square roots has\n    a purpose that is entirely well-defined independent of the\n    application.  Therefore, Subsection 2d requires that any\n    application-supplied function or table used by this function must\n    be optional: if the application does not supply it, the square\n    root function must still compute square roots.)\n\nThese requirements apply to the modified work as a whole.  If\nidentifiable sections of that work are not derived from the Library,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works.  But when you\ndistribute the same sections as part of a whole which is a work based\non the Library, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote\nit.\n\nThus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Library.\n\nIn addition, mere aggregation of another work not based on the Library\nwith the Library (or with a work based on the Library) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.\n\n  3. You may opt to apply the terms of the ordinary GNU General Public\nLicense instead of this License to a given copy of the Library.  To do\nthis, you must alter all the notices that refer to this License, so\nthat they refer to the ordinary GNU General Public License, version 2,\ninstead of to this License.  (If a newer version than version 2 of the\nordinary GNU General Public License has appeared, then you can specify\nthat version instead if you wish.)  Do not make any other change in\nthese notices.\n\f\n  Once this change is made in a given copy, it is irreversible for\nthat copy, so the ordinary GNU General Public License applies to all\nsubsequent copies and derivative works made from that copy.\n\n  This option is useful when you wish to copy part of the code of\nthe Library into a program that is not a library.\n\n  4. You may copy and distribute the Library (or a portion or\nderivative of it, under Section 2) in object code or executable form\nunder the terms of Sections 1 and 2 above provided that you accompany\nit with the complete corresponding machine-readable source code, which\nmust be distributed under the terms of Sections 1 and 2 above on a\nmedium customarily used for software interchange.\n\n  If distribution of object code is made by offering access to copy\nfrom a designated place, then offering equivalent access to copy the\nsource code from the same place satisfies the requirement to\ndistribute the source code, even though third parties are not\ncompelled to copy the source along with the object code.\n\n  5. A program that contains no derivative of any portion of the\nLibrary, but is designed to work with the Library by being compiled or\nlinked with it, is called a \"work that uses the Library\".  Such a\nwork, in isolation, is not a derivative work of the Library, and\ntherefore falls outside the scope of this License.\n\n  However, linking a \"work that uses the Library\" with the Library\ncreates an executable that is a derivative of the Library (because it\ncontains portions of the Library), rather than a \"work that uses the\nlibrary\".  The executable is therefore covered by this License.\nSection 6 states terms for distribution of such executables.\n\n  When a \"work that uses the Library\" uses material from a header file\nthat is part of the Library, the object code for the work may be a\nderivative work of the Library even though the source code is not.\nWhether this is true is especially significant if the work can be\nlinked without the Library, or if the work is itself a library.  The\nthreshold for this to be true is not precisely defined by law.\n\n  If such an object file uses only numerical parameters, data\nstructure layouts and accessors, and small macros and small inline\nfunctions (ten lines or less in length), then the use of the object\nfile is unrestricted, regardless of whether it is legally a derivative\nwork.  (Executables containing this object code plus portions of the\nLibrary will still fall under Section 6.)\n\n  Otherwise, if the work is a derivative of the Library, you may\ndistribute the object code for the work under the terms of Section 6.\nAny executables containing that work also fall under Section 6,\nwhether or not they are linked directly with the Library itself.\n\f\n  6. As an exception to the Sections above, you may also combine or\nlink a \"work that uses the Library\" with the Library to produce a\nwork containing portions of the Library, and distribute that work\nunder terms of your choice, provided that the terms permit\nmodification of the work for the customer's own use and reverse\nengineering for debugging such modifications.\n\n  You must give prominent notice with each copy of the work that the\nLibrary is used in it and that the Library and its use are covered by\nthis License.  You must supply a copy of this License.  If the work\nduring execution displays copyright notices, you must include the\ncopyright notice for the Library among them, as well as a reference\ndirecting the user to the copy of this License.  Also, you must do one\nof these things:\n\n    a) Accompany the work with the complete corresponding\n    machine-readable source code for the Library including whatever\n    changes were used in the work (which must be distributed under\n    Sections 1 and 2 above); and, if the work is an executable linked\n    with the Library, with the complete machine-readable \"work that\n    uses the Library\", as object code and/or source code, so that the\n    user can modify the Library and then relink to produce a modified\n    executable containing the modified Library.  (It is understood\n    that the user who changes the contents of definitions files in the\n    Library will not necessarily be able to recompile the application\n    to use the modified definitions.)\n\n    b) Use a suitable shared library mechanism for linking with the\n    Library.  A suitable mechanism is one that (1) uses at run time a\n    copy of the library already present on the user's computer system,\n    rather than copying library functions into the executable, and (2)\n    will operate properly with a modified version of the library, if\n    the user installs one, as long as the modified version is\n    interface-compatible with the version that the work was made with.\n\n    c) Accompany the work with a written offer, valid for at\n    least three years, to give the same user the materials\n    specified in Subsection 6a, above, for a charge no more\n    than the cost of performing this distribution.\n\n    d) If distribution of the work is made by offering access to copy\n    from a designated place, offer equivalent access to copy the above\n    specified materials from the same place.\n\n    e) Verify that the user has already received a copy of these\n    materials or that you have already sent this user a copy.\n\n  For an executable, the required form of the \"work that uses the\nLibrary\" must include any data and utility programs needed for\nreproducing the executable from it.  However, as a special exception,\nthe materials to be distributed need not include anything that is\nnormally distributed (in either source or binary form) with the major\ncomponents (compiler, kernel, and so on) of the operating system on\nwhich the executable runs, unless that component itself accompanies\nthe executable.\n\n  It may happen that this requirement contradicts the license\nrestrictions of other proprietary libraries that do not normally\naccompany the operating system.  Such a contradiction means you cannot\nuse both them and the Library together in an executable that you\ndistribute.\n\f\n  7. You may place library facilities that are a work based on the\nLibrary side-by-side in a single library together with other library\nfacilities not covered by this License, and distribute such a combined\nlibrary, provided that the separate distribution of the work based on\nthe Library and of the other library facilities is otherwise\npermitted, and provided that you do these two things:\n\n    a) Accompany the combined library with a copy of the same work\n    based on the Library, uncombined with any other library\n    facilities.  This must be distributed under the terms of the\n    Sections above.\n\n    b) Give prominent notice with the combined library of the fact\n    that part of it is a work based on the Library, and explaining\n    where to find the accompanying uncombined form of the same work.\n\n  8. You may not copy, modify, sublicense, link with, or distribute\nthe Library except as expressly provided under this License.  Any\nattempt otherwise to copy, modify, sublicense, link with, or\ndistribute the Library is void, and will automatically terminate your\nrights under this License.  However, parties who have received copies,\nor rights, from you under this License will not have their licenses\nterminated so long as such parties remain in full compliance.\n\n  9. You are not required to accept this License, since you have not\nsigned it.  However, nothing else grants you permission to modify or\ndistribute the Library or its derivative works.  These actions are\nprohibited by law if you do not accept this License.  Therefore, by\nmodifying or distributing the Library (or any work based on the\nLibrary), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Library or works based on it.\n\n  10. Each time you redistribute the Library (or any work based on the\nLibrary), the recipient automatically receives a license from the\noriginal licensor to copy, distribute, link with or modify the Library\nsubject to these terms and conditions.  You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties with\nthis License.\n\f\n  11. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Library at all.  For example, if a patent\nlicense would not permit royalty-free redistribution of the Library by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Library.\n\nIf any portion of this section is held invalid or unenforceable under any\nparticular circumstance, the balance of the section is intended to apply,\nand the section as a whole is intended to apply in other circumstances.\n\nIt is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system which is\nimplemented by public license practices.  Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.\n\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.\n\n  12. If the distribution and/or use of the Library is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Library under this License may add\nan explicit geographical distribution limitation excluding those countries,\nso that distribution is permitted only in or among countries not thus\nexcluded.  In such case, this License incorporates the limitation as if\nwritten in the body of this License.\n\n  13. The Free Software Foundation may publish revised and/or new\nversions of the Lesser General Public License from time to time.\nSuch new versions will be similar in spirit to the present version,\nbut may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number.  If the Library\nspecifies a version number of this License which applies to it and\n\"any later version\", you have the option of following the terms and\nconditions either of that version or of any later version published by\nthe Free Software Foundation.  If the Library does not specify a\nlicense version number, you may choose any version ever published by\nthe Free Software Foundation.\n\f\n  14. If you wish to incorporate parts of the Library into other free\nprograms whose distribution conditions are incompatible with these,\nwrite to the author to ask for permission.  For software which is\ncopyrighted by the Free Software Foundation, write to the Free\nSoftware Foundation; we sometimes make exceptions for this.  Our\ndecision will be guided by the two goals of preserving the free status\nof all derivatives of our free software and of promoting the sharing\nand reuse of software generally.\n\n                            NO WARRANTY\n\n  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\nWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\nEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY\nKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\nLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\nTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\nWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\nAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\nFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\nCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\nLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\nRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\nFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\nSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\nDAMAGES.\n\n                     END OF TERMS AND CONDITIONS\n\f\n           How to Apply These Terms to Your New Libraries\n\n  If you develop a new library, and you want it to be of the greatest\npossible use to the public, we recommend making it free software that\neveryone can redistribute and change.  You can do so by permitting\nredistribution under these terms (or, alternatively, under the terms of the\nordinary General Public License).\n\n  To apply these terms, attach the following notices to the library.  It is\nsafest to attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least the\n\"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the library's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This library is free software; you can redistribute it and/or\n    modify it under the terms of the GNU Lesser General Public\n    License as published by the Free Software Foundation; either\n    version 2.1 of the License, or (at your option) any later version.\n\n    This library is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n    Lesser General Public License for more details.\n\n    You should have received a copy of the GNU Lesser General Public\n    License along with this library; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n\nAlso add information on how to contact you by electronic and paper mail.\n\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the library, if\nnecessary.  Here is a sample; alter the names:\n\n  Yoyodyne, Inc., hereby disclaims all copyright interest in the\n  library `Frob' (a library for tweaking knobs) written by James Random Hacker.\n\n  <signature of Ty Coon>, 1 April 1990\n  Ty Coon, President of Vice\n\nThat's all there is to it!\n"
  },
  {
    "path": "README.md",
    "content": "VSNASM\n=============\n\n[![Github All Releases](https://img.shields.io/github/downloads/ShiftMediaProject/VSNASM/total.svg)](https://github.com/ShiftMediaProject/VSNASM/releases)\n[![GitHub release](https://img.shields.io/github/release/ShiftMediaProject/VSNASM.svg)](https://github.com/ShiftMediaProject/VSNASM/releases/latest)\n[![GitHub issues](https://img.shields.io/github/issues/ShiftMediaProject/VSNASM.svg)](https://github.com/ShiftMediaProject/VSNASM/issues)\n[![license](https://img.shields.io/github/license/ShiftMediaProject/VSNASM.svg)](https://github.com/ShiftMediaProject/VSNASM)\n[![donate](https://img.shields.io/badge/donate-link-brightgreen.svg)](https://shiftmediaproject.github.io/8-donate/)\n\n## About\n\nThis project provides a set of build customisations that can be used within Visual Studio to compile assembly code using NASM.\nProvides Visual Studio integration for the NASM assembler.\nSupports Visual Studio 2010, 2012, 2013, 2015, 2017, 2019, 2022 and 2026.\n\n## NASM\n\nThe Netwide Assembler (NASM) is an assembler and disassembler for the Intel x86 architecture. It can be used to write 16-bit, 32-bit (IA-32) and 64-bit (x86-64) programs.\nFor more information on NASM refer to the official site: [www.nasm.us](https://www.nasm.us/).\n\n## Installation\n\nThe project provides a basic installer script that can automatically detect any installed Visual Studio 2013, 2015, 2017, 2019, 2022 and 2026 installation and then install the required components.\nTo use this script simply run '**install_script.bat**' from an elevated (i.e administrator) command prompt.\n\n## Usage\n\nOnce installed VSNASM adds an additional usable Build Customization into Visual Studio. To use VSNASM in a project you must enable the customization for any project requiring it by right clicking on the project in the Solution Explorer and selecting 'Build Dependencies -> Build Customisations..' and then selecting VSNASM from the available options.\n\n## Manual Installation (optional)\n\nAlternatively, to manually install the extension you will first need to download the required win32 or win64 binary (depending on your system) from the official NASM website [www.nasm.us](https://www.nasm.us/).\n\nFrom the download archive you will need to extract nasm.exe into a location that Visual Studio can see.\nTo tell Visual Studio where to find nasm.exe you have several options:\n\n1. Find the directory where the Visual Studio C++ compiler is installed.\nThis can be determined from within Visual Studio by checking the contents of the VCInstallDir macro.\nFor example the location for Visual Studio 2015 would be:\n\n    1. C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\         -- For a 64 bit system\n    2. C:\\Program Files\\Microsoft Visual Studio 14.0\\VC\\               -- For a 32 bit system\n\n2. You can install nasm to any directory and then set environment variable NASMPATH to point to the absolute directory of the installed nasm.exe (this path should include the final backslash).\n\nTo use the build customisation in Visual Studio you need to copy the 3 provided files (nasm.props, nasm.xml, nasm.targets) into a location where they can be found by the Visual Studio build customisation processes.\nThere are several ways to do this:\n\n1. Copy these files to the MSBuild customisations directory.\nThis can be determined from within Visual Studio by checking the contents of the VCTargetsPath macro.\nFor example the location for various Visual Studio Community Edition versions on a 64 bit system would be:\n\n    1. Visual Studio 2013: C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\V120\\BuildCustomizations\n    2. Visual Studio 2015: C:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\V140\\BuildCustomizations\n    3. Visual Studio 2017: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\VC\\VCTargets\\BuildCustomizations\n    4. Visual Studio 2019: C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Microsoft\\VC\\v160\\BuildCustomizations\n    5. Visual Studio 2022: C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\BuildCustomizations\n    6. Visual Studio 2026: C:\\Program Files\\Microsoft Visual Studio\\18\\Community\\MSBuild\\Microsoft\\VC\\v180\\BuildCustomizations\n\n2. Copy these files to a convenient location and set that path in the 'Build Customisations Search Path' in the Visual Studio 'Projects and Solutions|VC++ Project Settings' item in the 'Tools|Options' menu.\n\n3. Copy these files to a convenient location and set this path in the 'Build Customisation dialogue (discussed later).\n\nTo use NASM in a project you must enable the customisation by right clicking on the project in the Solution Explorer and select 'Build Customisations..'. This will give you a dialog box that allows you to select NASM as an assembler (note that your assembly files need to have the extension '.asm').  If you have used option **3** above, you will need to let the dialogue find them using the 'Find Existing' button below the dialogue.\n\nTo assemble a file with NASM, select the Property Page for the file and ensure that 'Nasm Assembler' is selected in the Tool dialog entry.\nThe additional NASM property page can then be used to change various options supported by NASM.\n"
  },
  {
    "path": "install_script.bat",
    "content": "@echo OFF\r\nsetlocal\r\n\r\nREM Defined script variables\r\nset NASMDL=http://www.nasm.us/pub/nasm/releasebuilds\r\nset NASMVERSION=3.01\r\nset VSWHEREDL=https://github.com/Microsoft/vswhere/releases/download\r\nset VSWHEREVERSION=3.1.7\r\n\r\nREM Store current directory and ensure working directory is the location of current .bat\r\nset CALLDIR=%CD%\r\nset SCRIPTDIR=%~dp0\r\n\r\nREM Initialise error check value\r\nset ERROR=0\r\nREM Check if being called from another instance\r\nif not \"%~1\"==\"\" (\r\n    set MSVC_VER=%~1\r\n    set ISINSTANCE=1\r\n    echo Installing VS%~1 customisations into %2\r\n    goto MSVCCALL\r\n)\r\n\r\nREM Check what architecture we are installing on\r\nif \"%PROCESSOR_ARCHITECTURE%\"==\"AMD64\" (\r\n    echo Detected 64 bit system...\r\n    set SYSARCH=64\r\n) else if \"%PROCESSOR_ARCHITECTURE%\"==\"x86\" (\r\n    if \"%PROCESSOR_ARCHITEW6432%\"==\"AMD64\" (\r\n        echo Detected 64 bit system running 32 bit shell...\r\n        set SYSARCH=64\r\n    ) else (\r\n        echo Detected 32 bit system...\r\n        set SYSARCH=32\r\n    )\r\n) else (\r\n    echo Error: Could not detect current platform architecture!\"\r\n    goto Terminate\r\n)\r\n\r\nREM Check if already running in an environment with VS setup\r\nif defined VCINSTALLDIR (\r\n    if defined VisualStudioVersion (\r\n        if \"%VisualStudioVersion%\"==\"18.0\" (\r\n            echo Existing Visual Studio 2026 environment detected...\r\n            set MSVC_VER=18\r\n            goto MSVCVarsDone\r\n        ) else if \"%VisualStudioVersion%\"==\"17.0\" (\r\n            echo Existing Visual Studio 2022 environment detected...\r\n            set MSVC_VER=17\r\n            goto MSVCVarsDone\r\n        ) else if \"%VisualStudioVersion%\"==\"16.0\" (\r\n            echo Existing Visual Studio 2019 environment detected...\r\n            set MSVC_VER=16\r\n            goto MSVCVarsDone\r\n        ) else if \"%VisualStudioVersion%\"==\"15.0\" (\r\n            echo Existing Visual Studio 2017 environment detected...\r\n            set MSVC_VER=15\r\n            goto MSVCVarsDone\r\n        ) else if \"%VisualStudioVersion%\"==\"14.0\" (\r\n            echo Existing Visual Studio 2015 environment detected...\r\n            set MSVC_VER=14\r\n            goto MSVCVarsDone\r\n        ) else if \"%VisualStudioVersion%\"==\"12.0\" (\r\n            echo Existing Visual Studio 2013 environment detected...\r\n            set MSVC_VER=12\r\n            goto MSVCVarsDone\r\n        ) else (\r\n            echo Unknown Visual Studio environment detected '%VisualStudioVersion%', Creating a new one...\r\n        )\r\n    )\r\n)\r\n\r\nREM Get vswhere to detect VS installs\r\nif exist \"%SCRIPTDIR%\\vswhere.exe\" (\r\n    echo Using existing vswhere binary...\r\n    goto VSwhereDetection\r\n)\r\nset VSWHEREDOWNLOAD=%VSWHEREDL%/%VSWHEREVERSION%/vswhere.exe\r\necho Downloading required vswhere release binary...\r\npowershell.exe -Command \"(New-Object Net.WebClient).DownloadFile('%VSWHEREDOWNLOAD%', '%SCRIPTDIR%\\vswhere.exe')\" >nul 2>&1\r\nif not exist \"%SCRIPTDIR%\\vswhere.exe\" (\r\n    echo Error: Failed to download required vswhere binary!\r\n    echo    The following link could not be resolved \"%VSWHEREDOWNLOAD%\"\r\n    echo    Now trying fallback detection...\"\r\n    goto MSVCRegDetection\r\n)\r\n\r\n:VSwhereDetection\r\nREM Use vswhere to list detected installs\r\nfor /f \"usebackq tokens=* delims=\" %%i in (`\"%SCRIPTDIR%\\vswhere.exe\" -prerelease -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (\r\n    for /f \"delims=\" %%a in ('echo %%i ^| find \"18\"') do (\r\n        if not \"%%a\"==\"\" (\r\n            echo Visual Studio 2026 environment detected...\r\n            call \"%~0\" \"18\" \"%%i\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC18=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n    for /f \"delims=\" %%a in ('echo %%i ^| find \"2022\"') do (\r\n        if not \"%%a\"==\"\" (\r\n            echo Visual Studio 2022 environment detected...\r\n            call \"%~0\" \"17\" \"%%i\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC17=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n    for /f \"delims=\" %%a in ('echo %%i ^| find \"2019\"') do (\r\n        if not \"%%a\"==\"\" (\r\n            echo Visual Studio 2019 environment detected...\r\n            call \"%~0\" \"16\" \"%%i\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC16=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n    for /f \"delims=\" %%a in ('echo %%i ^| find \"2017\"') do (\r\n        if not \"%%a\"==\"\" (\r\n            echo Visual Studio 2017 environment detected...\r\n            call \"%~0\" \"15\" \"%%i\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC15=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n)\r\n\r\nREM Try and use vswhere to detect legacy installs\r\nfor /f \"usebackq tokens=* delims=\" %%i in (`\"%SCRIPTDIR%\\vswhere.exe\" -legacy -property installationPath`) do (\r\n    for /f \"delims=\" %%a in ('echo %%i ^| find \"2015\"') do (\r\n        if not \"%%a\"==\"\" (\r\n            echo Visual Studio 2015 environment detected...\r\n            call \"%~0\" \"13\" \"%%i\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC13=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n    for /f \"delims=\" %%a in ('echo %%i ^| find \"2013\"') do (\r\n        if not \"%%a\"==\"\" (\r\n            echo Visual Studio 2013 environment detected...\r\n            call \"%~0\" \"12\" \"%%i\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC12=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n)\r\nif not defined MSVCFOUND (\r\n    echo Error: Failed to detect VS installations using vswhere!\r\n    echo    Now trying fallback detection...\r\n) else (\r\n    goto Exit\r\n)\r\n\r\n:MSVCRegDetection\r\nif \"%SYSARCH%\"==\"32\" (\r\n    set MSVCVARSDIR=\r\n    set WOWNODE=\r\n) else if \"%SYSARCH%\"==\"64\" (\r\n    set MSVCVARSDIR=\\amd64\r\n    set WOWNODE=\\WOW6432Node\r\n) else (\r\n    goto Terminate\r\n)\r\nREM First check for a environment variable to help locate the VS installation\r\nif defined VS140COMNTOOLS (\r\n    if exist \"%VS140COMNTOOLS%\\..\\..\\VC\\bin%MSVCVARSDIR%\\vcvars%SYSARCH%.bat\" (\r\n        echo Visual Studio 2015 environment detected...\r\n        call \"%~0\" \"14\" \"%VS140COMNTOOLS%\\..\\..\\\"\r\n        if not ERRORLEVEL 1 (\r\n            set MSVC14=1\r\n            set MSVCFOUND=1\r\n        )\r\n    )\r\n)\r\nif defined VS120COMNTOOLS (\r\n    if exist \"%VS120COMNTOOLS%\\..\\..\\VC\\bin%MSVCVARSDIR%\\vcvars%SYSARCH%.bat\" (\r\n        echo Visual Studio 2013 environment detected...\r\n        call \"%~0\" \"12\" \"%VS120COMNTOOLS%\\..\\..\\\"\r\n        if not ERRORLEVEL 1 (\r\n            set MSVC12=1\r\n            set MSVCFOUND=1\r\n        )\r\n    )\r\n)\r\n\r\nREM Check for default install locations based on current system architecture\r\nif not defined MSVC15 (\r\n    reg.exe query \"HKLM\\SOFTWARE%WOWNODE%\\Microsoft\\VisualStudio\\SxS\\VS7\" /v 15.0 >nul 2>&1\r\n    if not ERRORLEVEL 1 (\r\n        echo Visual Studio 2017 installation detected...\r\n        for /f \"skip=2 tokens=2,*\" %%i in ('reg.exe query \"HKLM\\SOFTWARE%WOWNODE%\\Microsoft\\VisualStudio\\SxS\\VS7\" /v 15.0') do (\r\n            call \"%~0\" \"15\" \"%%j\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC15=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n)\r\nif not defined MSVC14 (\r\n    reg.exe query \"HKLM\\Software%WOWNODE%\\Microsoft\\VisualStudio\\14.0\" /v \"InstallDir\" >nul 2>&1\r\n    if not ERRORLEVEL 1 (\r\n        echo Visual Studio 2015 installation detected...\r\n        for /f \"skip=2 tokens=2,*\" %%i in ('reg.exe query \"HKLM\\Software%WOWNODE%\\Microsoft\\VisualStudio\\14.0\" /v \"InstallDir\"') do (\r\n            call \"%~0\" \"14\" \"%%j\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC14=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n)\r\nif not defined MSVC12 (\r\n    reg.exe query \"HKLM\\Software%WOWNODE%\\Microsoft\\VisualStudio\\12.0\" /v \"InstallDir\" >nul 2>&1\r\n    if not ERRORLEVEL 1 (\r\n        echo Visual Studio 2013 installation detected...\r\n        for /f \"skip=2 tokens=2,*\" %%i in ('reg.exe query \"HKLM\\Software%WOWNODE%\\Microsoft\\VisualStudio\\12.0\" /v \"InstallDir\"') do (\r\n            call \"%~0\" \"12\" \"%%j\"\r\n            if not ERRORLEVEL 1 (\r\n                set MSVC12=1\r\n                set MSVCFOUND=1\r\n            )\r\n        )\r\n    )\r\n)\r\nif not defined MSVCFOUND (\r\n    echo Error: Could not find valid Visual Studio installation!\r\n    goto Terminate\r\n)\r\ngoto Exit\r\n\r\n:MSVCCALL\r\nif \"%SYSARCH%\"==\"32\" (\r\n    set MSVCVARSDIR=\r\n) else if \"%SYSARCH%\"==\"64\" (\r\n    set MSVCVARSDIR=\\amd64\r\n) else (\r\n    goto Terminate\r\n)\r\nREM Call the required vcvars file in order to setup up build locations\r\nif \"%MSVC_VER%\"==\"18\" (\r\n    set VCVARS=%2\\VC\\Auxiliary\\Build\\vcvars%SYSARCH%.bat\r\n) else if \"%MSVC_VER%\"==\"17\" (\r\n    set VCVARS=%2\\VC\\Auxiliary\\Build\\vcvars%SYSARCH%.bat\r\n) else if \"%MSVC_VER%\"==\"16\" (\r\n    set VCVARS=%2\\VC\\Auxiliary\\Build\\vcvars%SYSARCH%.bat\r\n) else if \"%MSVC_VER%\"==\"15\" (\r\n    set VCVARS=%2\\VC\\Auxiliary\\Build\\vcvars%SYSARCH%.bat\r\n) else if \"%MSVC_VER%\"==\"14\" (\r\n    set VCVARS=%2\\VC\\bin%MSVCVARSDIR%\\vcvars%SYSARCH%.bat\r\n) else if \"%MSVC_VER%\"==\"12\" (\r\n    set VCVARS=%2\\VC\\bin%MSVCVARSDIR%\\vcvars%SYSARCH%.bat\r\n) else (\r\n    echo Error: Invalid MSVC version!\r\n    goto Terminate\r\n)\r\nif exist %VCVARS% (\r\n    call %VCVARS% >nul 2>&1\r\n) else (\r\n    echo Error: Invalid VS install location detected!\r\n    goto Terminate\r\n)\r\n\r\n:MSVCVarsDone\r\nREM Get the location of the current msbuild\r\npowershell.exe -Command ((Get-Command msbuild.exe)[0].Path ^| Split-Path -parent) > \"%SCRIPTDIR%\\msbuild.txt\"\r\nfindstr /C:\"Get-Command\" \"%SCRIPTDIR%\\msbuild.txt\" >nul 2>&1\r\nif not ERRORLEVEL 1 (\r\n    echo Error: Failed to get location of msbuild!\r\n    del /F /Q \"%SCRIPTDIR%\\msbuild.txt\" >nul 2>&1\r\n    goto Terminate\r\n)\r\nset /p MSBUILDDIR=<\"%SCRIPTDIR%\\msbuild.txt\"\r\ndel /F /Q \"%SCRIPTDIR%\\msbuild.txt\" >nul 2>&1\r\nif \"%MSVC_VER%\"==\"18\" (\r\n    set VCTargetsPath=\"..\\..\\..\\Microsoft\\VC\\v180\\BuildCustomizations\"\r\n) else if \"%MSVC_VER%\"==\"17\" (\r\n    set VCTargetsPath=\"..\\..\\..\\Microsoft\\VC\\v170\\BuildCustomizations\"\r\n) else if \"%MSVC_VER%\"==\"16\" (\r\n    set VCTargetsPath=\"..\\..\\Microsoft\\VC\\v160\\BuildCustomizations\"\r\n) else if \"%MSVC_VER%\"==\"15\" (\r\n    set VCTargetsPath=\"..\\..\\..\\Common7\\IDE\\VC\\VCTargets\\BuildCustomizations\"\r\n) else (\r\n    if \"%MSBUILDDIR%\"==\"%MSBUILDDIR:amd64=%\" (\r\n        set VCTargetsPath=\"..\\..\\Microsoft.Cpp\\v4.0\\V%MSVC_VER%0\\BuildCustomizations\"\r\n    ) else (\r\n        set VCTargetsPath=\"..\\..\\..\\Microsoft.Cpp\\v4.0\\V%MSVC_VER%0\\BuildCustomizations\"\r\n    )\r\n)\r\n\r\nREM Convert the relative targets path to an absolute one\r\nset CURRDIR=%CD%\r\npushd %MSBUILDDIR% 2>nul\r\nif %ERRORLEVEL% neq 0 (\r\n    echo Error: Failed to get correct msbuild path!\r\n    goto Terminate\r\n)\r\npushd %VCTargetsPath% 2>nul\r\nif %ERRORLEVEL% neq 0 (\r\n    echo Error: Unknown VCTargetsPath path!\r\n    goto Terminate\r\n)\r\nset VCTargetsPath=%CD%\r\npopd\r\npopd\r\nif not \"%CURRDIR%\"==\"%CD%\" (\r\n    echo Error: Failed to resolve VCTargetsPath!\r\n    goto Terminate\r\n)\r\n\r\nREM copy the BuildCustomizations to VCTargets folder\r\necho Installing build customisations...\r\ndel /F /Q \"%VCTargetsPath%\\nasm.*\" >nul 2>&1\r\ncopy /B /Y /V \"%SCRIPTDIR%\\nasm.*\" \"%VCTargetsPath%\\\" >nul 2>&1\r\nif %ERRORLEVEL% neq 0 (\r\n    echo Error: Failed to copy build customisations!\r\n    echo    Ensure that this script is run in a shell with the necessary write privileges\r\n    goto Terminate\r\n)\r\nREM Check if nasm is already found before trying to download it\r\necho Checking for existing NASM in NASMPATH...\r\nif exist \"%NASMPATH%\\nasm.exe\" (\r\n    \"%NASMPATH%\\nasm.exe\" -v >nul 2>&1\r\n    if %ERRORLEVEL% equ 0 (\r\n        echo Using existing NASM binary from \"%NASMPATH%\\nasm.exe\"...\r\n        goto SkipInstallNASM\r\n    ) else (\r\n        echo Warning: A suitable nasm was not found in NASMPATH=\"%NASMPATH%\".\r\n    )\r\n)\r\nREM Download the latest nasm binary for windows\r\nif exist \"%SCRIPTDIR%\\nasm_%NASMVERSION%.zip\" (\r\n    echo Using existing NASM archive...\r\n    goto InstallNASM\r\n)\r\nset NASMDOWNLOAD=%NASMDL%/%NASMVERSION%/win%SYSARCH%/nasm-%NASMVERSION%-win%SYSARCH%.zip\r\necho Downloading required NASM release binary...\r\npowershell.exe -Command \"(New-Object Net.WebClient).DownloadFile('%NASMDOWNLOAD%', '%SCRIPTDIR%\\nasm_%NASMVERSION%.zip')\" >nul 2>&1\r\nif not exist \"%SCRIPTDIR%\\nasm_%NASMVERSION%.zip\" (\r\n    echo Error: Failed to download required NASM binary!\r\n    echo    The following link could not be resolved \"%NASMDOWNLOAD%\"\r\n    goto Terminate\r\n)\r\n\r\n:InstallNASM\r\npowershell.exe -Command Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory('\"%SCRIPTDIR%\\nasm_%NASMVERSION%.zip\"', '\"%SCRIPTDIR%\\TempNASMUnpack\"') >nul 2>&1\r\nif not exist \"%SCRIPTDIR%\\TempNASMUnpack\" (\r\n    echo Error: Failed to unpack NASM download!\r\n    del /F /Q \"%SCRIPTDIR%\\nasm_.zip\" >nul 2>&1\r\n    goto Terminate\r\n)\r\n\r\nREM copy nasm executable to VC installation folder\r\necho Installing required NASM release binary...\r\ndel /F /Q \"%VCINSTALLDIR%\\nasm.exe\" >nul 2>&1\r\ncopy /B /Y /V \"%SCRIPTDIR%\\TempNASMUnpack\\nasm-%NASMVERSION%\\nasm.exe\" \"%VCINSTALLDIR%\" >nul 2>&1\r\nif %ERRORLEVEL% neq 0 (\r\n    echo Error: Failed to install NASM binary!\r\n    echo    Ensure that this script is run in a shell with the necessary write privileges\r\n    rd /S /Q \"%SCRIPTDIR%\\TempNASMUnpack\" >nul 2>&1\r\n    goto Terminate\r\n)\r\nrd /S /Q \"%SCRIPTDIR%\\TempNASMUnpack\" >nul 2>&1\r\n:SkipInstallNASM\r\necho Finished Successfully\r\ngoto Exit\r\n\r\n:Terminate\r\nset ERROR=1\r\n\r\n:Exit\r\ncd %CALLDIR%\r\nif \"%CI%\"==\"\" (\r\n    if not defined ISINSTANCE (\r\n        pause\r\n    )\r\n)\r\nendlocal & exit /b %ERROR%\r\n"
  },
  {
    "path": "nasm.props",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n  <PropertyGroup>\r\n    <NasmPath Condition= \"'$(NASMPATH)' == ''\">$(VCInstallDir)</NasmPath>\r\n  </PropertyGroup>\r\n  <ItemDefinitionGroup>\r\n    <NASM>\r\n      <Outputs>$(IntDir)%(FileName).obj</Outputs>\r\n      <CommandLineTemplate Condition=\"'$(Platform)' == 'Win32'\">\"$(NasmPath)\\nasm.exe\" -Xvc -f win32 [AllOptions] [AdditionalOptions] \"%(FullPath)\"</CommandLineTemplate>\r\n      <CommandLineTemplate Condition=\"'$(Platform)' == 'x64'\">\"$(NasmPath)\\nasm.exe\" -Xvc -f win64 [AllOptions] [AdditionalOptions] \"%(FullPath)\"</CommandLineTemplate>\r\n      <CommandLineTemplate Condition=\"'$(Platform)' != 'Win32' and '$(Platform)' != 'x64'\">echo NASM not supported on this platform &amp; exit 1</CommandLineTemplate>\r\n      <ExecutionDescription>%(Identity)</ExecutionDescription>\r\n      <Message                     Condition=\"'%(NASM.Message)'                     == ''\">Performing NASM Compilation</Message>\r\n      <LinkObjects                 Condition=\"'%(NASM.LinkObjects)'                 == ''\">true</LinkObjects>\r\n      <TreatOutputAsContent        Condition=\"'%(NASM.TreatOutputAsContent)'        == ''\">false</TreatOutputAsContent>\r\n      <TrackerLogDirectory         Condition=\"'%(NASM.TrackerLogDirectory)'         == ''\">$(TLogLocation)</TrackerLogDirectory>\r\n      <MinimalRebuildFromTracking  Condition=\"'%(NASM.MinimalRebuildFromTracking)'  == ''\">true</MinimalRebuildFromTracking>\r\n      <OutputItemType              Condition=\"'%(NASM.OutputItemType)'              == ''\">Object</OutputItemType>\r\n      <BuildInParallel             Condition=\"'%(NASM.BuildInParallel)'             == ''\">true</BuildInParallel>\r\n      <MaxProcesses                Condition=\"'%(NASM.MaxProcesses)'                == ''\">0</MaxProcesses>\r\n      <MaxItemsInBatch             Condition=\"'%(NASM.MaxItemsInBatch)'             == ''\">1</MaxItemsInBatch>\r\n      <VerifyInputsAndOutputsExist Condition=\"'%(NASM.VerifyInputsAndOutputsExist)' == ''\">true</VerifyInputsAndOutputsExist>\r\n    </NASM>\r\n  </ItemDefinitionGroup>\r\n</Project>\r\n"
  },
  {
    "path": "nasm.targets",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n  <ItemGroup>\r\n    <PropertyPageSchema\r\n      Include=\"$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml\" />\r\n    <AvailableItemName Include=\"NASM\">\r\n      <Targets>_NASM</Targets>\r\n    </AvailableItemName>\r\n  </ItemGroup>\r\n  <PropertyGroup>\r\n    <ComputeLinkInputsTargets>\r\n      $(ComputeLinkInputsTargets);\r\n      ComputeNASMOutput;\r\n    </ComputeLinkInputsTargets>\r\n  </PropertyGroup>\r\n  <PropertyGroup>\r\n    <ComputeLibInputsTargets>\r\n      $(ComputeLibInputsTargets);\r\n      ComputeNASMOutput;\r\n    </ComputeLibInputsTargets>\r\n  </PropertyGroup>\r\n  <PropertyGroup>\r\n    <ComputeImpLibInputsTargets>\r\n      $(ComputeImpLibInputsTargets);\r\n      ComputeNASMOutput;\r\n    </ComputeImpLibInputsTargets>\r\n  </PropertyGroup>\r\n  <UsingTask\r\n    TaskName=\"NASM\"\r\n    TaskFactory=\"XamlTaskFactory\"\r\n    AssemblyName=\"Microsoft.Build.Tasks.v4.0\">\r\n    <Task>$(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml</Task>\r\n  </UsingTask>\r\n  <!-- *******************************************************************************************\r\n        NASM\r\n       ******************************************************************************************* -->\r\n  <PropertyGroup Condition=\"'$(NASMAfterTargets)'!='' or '$(NASMBeforeTargets)'!=''\">\r\n    <NASMToolBeforeTargets>$(NASMBeforeTargets)</NASMToolBeforeTargets>\r\n    <NASMToolAfterTargets>$(NASMAfterTargets)</NASMToolAfterTargets>\r\n  </PropertyGroup>\r\n  <!--If no before/after targets are set, then set the default-->\r\n  <PropertyGroup Condition=\"'$(NASMAfterTargets)'=='' and '$(NASMBeforeTargets)'==''\">\r\n    <NASMToolBeforeTargets>Midl</NASMToolBeforeTargets>\r\n    <NASMToolAfterTargets>PreBuildEvent</NASMToolAfterTargets>\r\n    <NASMBeforeTargets>PostBuildEvent</NASMBeforeTargets>\r\n    <NASMAfterTargets>BscMake</NASMAfterTargets>\r\n  </PropertyGroup>\r\n  <!--  If Selective File Build is enabled, then dont let custom interupt the build order-->\r\n  <PropertyGroup Condition=\"'$(SelectedFiles)'!=''\">\r\n    <NASMToolBeforeTargets></NASMToolBeforeTargets>\r\n    <NASMToolAfterTargets></NASMToolAfterTargets>\r\n    <NASMBeforeTargets></NASMBeforeTargets>\r\n    <NASMAfterTargets></NASMAfterTargets>\r\n  </PropertyGroup>\r\n  <Target Name=\"_NASM\"\r\n          BeforeTargets=\"$(NASMToolBeforeTargets)\"\r\n          AfterTargets=\"$(NASMToolAfterTargets)\"\r\n          DependsOnTargets=\"SelectNASM;ComputeNASMOutput\">\r\n    <PropertyGroup>\r\n      <CustomBuildToolArchitecture Condition=\"'$(CustomBuildToolArchitecture)' == ''\">Native32Bit</CustomBuildToolArchitecture>\r\n    </PropertyGroup>\r\n    <ItemGroup>\r\n      <NASM Update=\"@(NASM)\">\r\n        <Inputs>%(NASM.FullPath);%(NASM.AdditionalDependencies);$(MSBuildProjectFile)</Inputs>\r\n        <AdditionalInputs>%(NASM.FullPath);%(NASM.AdditionalDependencies);$(MSBuildProjectFile)</AdditionalInputs>\r\n        <Message>%(NASM.ExecutionDescription)</Message>\r\n        <!-- Option fragments used for [AllOptions] -->\r\n        <_NasmOpt_Debug></_NasmOpt_Debug>\r\n        <_NasmOpt_Prefix></_NasmOpt_Prefix>\r\n        <_NasmOpt_Postfix></_NasmOpt_Postfix>\r\n        <_NasmOpt_IncludePaths></_NasmOpt_IncludePaths>\r\n        <_NasmOpt_PreIncludeFiles></_NasmOpt_PreIncludeFiles>\r\n        <_NasmOpt_Defines></_NasmOpt_Defines>\r\n        <_NasmOpt_Undefines></_NasmOpt_Undefines>\r\n        <_NasmOpt_Werror></_NasmOpt_Werror>\r\n        <_NasmOpt_Debug Condition=\"'%(NASM.GenerateDebugInformation)' == 'true'\">-g</_NasmOpt_Debug>\r\n        <_NasmOpt_Prefix Condition=\"'%(NASM.SymbolsPrefix)' != ''\">--prefix %(NASM.SymbolsPrefix)</_NasmOpt_Prefix>\r\n        <_NasmOpt_Postfix Condition=\"'%(NASM.SymbolsPostfix)' != ''\">--postfix %(NASM.SymbolsPostfix)</_NasmOpt_Postfix>\r\n        <_NasmOpt_IncludePaths Condition=\"'%(NASM.IncludePaths)' != ''\">-I\"$([System.String]::Copy('%(NASM.IncludePaths)').Trim(';').Replace(';', '/\" -I\"'))/\"</_NasmOpt_IncludePaths>\r\n        <_NasmOpt_PreIncludeFiles Condition=\"'%(NASM.PreIncludeFiles)' != ''\">-P\"$([System.String]::Copy('%(NASM.PreIncludeFiles)').Trim(';').Replace(';', '\" -P\"'))\"</_NasmOpt_PreIncludeFiles>\r\n        <_NasmOpt_Defines Condition=\"'%(NASM.PreprocessorDefinitions)' != ''\">-D$([System.String]::Copy('%(NASM.PreprocessorDefinitions)').Trim(';').Replace(';', ' -D'))</_NasmOpt_Defines>\r\n        <_NasmOpt_Undefines Condition=\"'%(NASM.UndefinePreprocessorDefinitions)' != ''\">-U$([System.String]::Copy('%(NASM.UndefinePreprocessorDefinitions)').Trim(';').Replace(';', ' -U'))</_NasmOpt_Undefines>\r\n        <_NasmOpt_Werror Condition=\"'%(NASM.TreatWarningsAsErrors)' == 'true'\">-Werror</_NasmOpt_Werror>\r\n      </NASM>\r\n    </ItemGroup>\r\n    <ItemGroup>\r\n      <NASM Update=\"@(NASM)\">\r\n        <_NasmAllOptions>-o \"%(NASM.Outputs)\" %(NASM._NasmOpt_Debug) %(NASM._NasmOpt_Prefix) %(NASM._NasmOpt_Postfix) %(NASM._NasmOpt_IncludePaths) %(NASM._NasmOpt_PreIncludeFiles) %(NASM._NasmOpt_Defines) %(NASM._NasmOpt_Undefines) %(NASM._NasmOpt_Werror)</_NasmAllOptions>\r\n      </NASM>\r\n    </ItemGroup>\r\n    <ItemGroup>\r\n      <NASM Update=\"@(NASM)\">\r\n        <Command>$([System.String]::Copy('%(NASM.CommandLineTemplate)').Replace('[AllOptions]', '%(NASM._NasmAllOptions)').Replace('[AdditionalOptions]', '%(NASM.AdditionalOptions)'))</Command>\r\n      </NASM>\r\n    </ItemGroup>\r\n    <!-- Delete old ParallelCustomBuild tlogs, same as CustomBuild -->\r\n    <GetOutOfDateItems\r\n      Sources                   =\"@(_EmptyItemGroup)\"\r\n      OutputsMetadataName       =\"Outputs\"\r\n      DependenciesMetadataName  =\"AdditionalInputs\"\r\n      CommandMetadataName       =\"Command\"\r\n      TLogDirectory             =\"$(TLogLocation)\"\r\n      TLogNamePrefix            =\"ParallelNasmBuild\"\r\n      TrackFileAccess           =\"$(TrackFileAccess)\"\r\n      />\r\n    <!-- Get out of date items for NASM (full build case) -->\r\n    <GetOutOfDateItems\r\n      Condition                 =\"'$(SelectedFiles)' == ''\"\r\n      Sources                   =\"@(NASM)\"\r\n      OutputsMetadataName       =\"Outputs\"\r\n      DependenciesMetadataName  =\"AdditionalInputs\"\r\n      CommandMetadataName       =\"Command\"\r\n      TLogDirectory             =\"$(TLogLocation)\"\r\n      TLogNamePrefix            =\"NasmBuild\"\r\n      TrackFileAccess           =\"$(TrackFileAccess)\"\r\n      CheckForInterdependencies =\"true\">\r\n      <Output TaskParameter=\"OutOfDateSources\" ItemName=\"_NasmBuild\" />\r\n    </GetOutOfDateItems>\r\n    <!-- Selected-files build: just take all NASM items -->\r\n    <ItemGroup Condition =\"'$(SelectedFiles)' != ''\">\r\n      <_NasmBuild Include=\"@(NASM)\" />\r\n    </ItemGroup>\r\n    <!-- Build items which can be built in parallel (ignored for selected-files build) -->\r\n    <ItemGroup Condition=\"'$(SelectedFiles)' == ''\">\r\n      <_ParallelNasmBuild Include=\"@(_NasmBuild)\"\r\n                          Condition=\"'%(_NasmBuild.BuildInParallel)' == 'true' and '%(_NasmBuild.DependsOnAnotherItemOutput)' != 'true'\" />\r\n    </ItemGroup>\r\n    <ParallelCustomBuild\r\n      Condition       =\"'@(_ParallelNasmBuild)' != ''\"\r\n      Sources         =\"@(_ParallelNasmBuild)\"\r\n      MaxProcesses    =\"%(_ParallelNasmBuild.MaxProcesses)\"\r\n      MaxItemsInBatch =\"%(_ParallelNasmBuild.MaxItemsInBatch)\"\r\n      AcceptableNonZeroExitCodes  =\"%(_ParallelNasmBuild.AcceptableNonZeroExitCodes)\"\r\n      StdOutEncoding  =\"%(_ParallelNasmBuild.StdOutEncoding)\"\r\n      StdErrEncoding  =\"%(_ParallelNasmBuild.StdErrEncoding)\"\r\n      UseMsbuildResourceManager =\"$(UseMsbuildResourceManager)\"\r\n    />\r\n    <!-- Build the remaining items sequentially -->\r\n    <ItemGroup Condition=\"'@(_ParallelNasmBuild)' != ''\">\r\n      <_NasmBuild Remove=\"@(_ParallelNasmBuild)\" />\r\n      <_ParallelNasmBuild Remove=\"@(_ParallelNasmBuild)\" />\r\n    </ItemGroup>\r\n    <CustomBuild Condition =\"'@(_NasmBuild)' != ''\"\r\n      Sources                     =\"@(_NasmBuild)\"\r\n      BuildSuffix                 =\"$(_BuildSuffix)\"\r\n      MinimalRebuildFromTracking  =\"false\"\r\n      AcceptableNonZeroExitCodes  =\"%(_NasmBuild.AcceptableNonZeroExitCodes)\"\r\n      StdOutEncoding              =\"%(_NasmBuild.StdOutEncoding)\"\r\n      StdErrEncoding              =\"%(_NasmBuild.StdErrEncoding)\">\r\n    </CustomBuild>\r\n    <ItemGroup Condition=\"'@(_NasmBuild)' != ''\">\r\n      <_NasmBuild Remove=\"@(_NasmBuild)\" />\r\n    </ItemGroup>\r\n  </Target>\r\n  <Target Name=\"SelectNASM\" DependsOnTargets=\"_SelectedFiles\">\r\n    <ItemGroup Condition=\"'@(SelectedFiles)'!=''\">\r\n      <NASM Remove=\"@(NASM)\" Condition=\"'%(Identity)'!='@(SelectedFiles)'\"/>\r\n      <NASM>\r\n        <MinimalRebuildFromTracking>false</MinimalRebuildFromTracking>\r\n      </NASM>\r\n    </ItemGroup>\r\n    <ItemGroup>\r\n      <NASM Update=\"@(NASM)\">\r\n        <Outputs Condition=\"'%(NASM.ObjectFileName)' != ''\">%(NASM.ObjectFileName)</Outputs>\r\n      </NASM>\r\n    </ItemGroup>\r\n  </Target>\r\n  <Target Name=\"ComputeNASMOutput\" DependsOnTargets=\"SelectNASM\" >\r\n    <ItemGroup >\r\n      <NASMOutputs Include=\"@(NASM->Metadata('Outputs'))\" Condition=\"'@(NASM)' != ''\"/>\r\n      \r\n      <NASMOutputs Condition=\"'%(NASMOutputs.ExcludedFromBuild)'!='true'\r\n                                 and '%(NASMOutputs.OutputItemType)'==''\r\n                                 and '%(NASMOutputs.LinkObjects)'=='true'\r\n                                 and ('%(Extension)'=='.obj' or '%(Extension)'=='.res' or '%(Extension)'=='.rsc' or '%(Extension)'=='.lib')\">\r\n        <OutputItemType Condition=\"'$(ConfigurationType)'=='StaticLibrary'\">Lib</OutputItemType>\r\n        <OutputItemType Condition=\"'$(ConfigurationType)'!='StaticLibrary'\">Link</OutputItemType>\r\n      </NASMOutputs>\r\n    </ItemGroup>\r\n    <!-- Add NASM Outputs to lib, link or other tools -->\r\n    <CreateItem\r\n        Include=\"@(NASMOutputs)\"\r\n        Condition=\"'%(NASMOutputs.OutputItemType)'!=''\">\r\n      <Output\r\n          TaskParameter=\"Include\"\r\n          ItemName=\"%(NASMOutputs.OutputItemType)\"/>\r\n      <Output\r\n          TaskParameter=\"Include\"\r\n          Condition=\"'%(NASMOutputs.OutputItemType)' == 'Link' and '$(GenerateImportLib)'=='true'\"\r\n          ItemName=\"ImpLib\"/>\r\n    </CreateItem>\r\n    <MakeDir Directories=\"@(NASMOutputs->'%(RootDir)%(Directory)')\" />\r\n    <!-- Cleanup -->\r\n    <ItemGroup>\r\n      <NASMOutputs Remove=\"@(NASMOutputs)\" />\r\n    </ItemGroup>\r\n  </Target>\r\n</Project>\r\n"
  },
  {
    "path": "nasm.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ProjectSchemaDefinitions xmlns=\"http://schemas.microsoft.com/build/2009/properties\" xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" xmlns:sys=\"clr-namespace:System;assembly=mscorlib\">\r\n  <Rule\r\n    Name=\"NASM\"\r\n    PageTemplate=\"tool\"\r\n    DisplayName=\"Netwide Assembler\"\r\n    Order=\"200\">\r\n    <Rule.DataSource>\r\n      <DataSource\r\n        Persistence=\"ProjectFile\"\r\n        HasConfigurationCondition=\"true\"\r\n        ItemType=\"NASM\" />\r\n    </Rule.DataSource>\r\n    <Rule.Categories>\r\n      <Category Name=\"General\" DisplayName=\"General\" />\r\n      <Category Name=\"Preprocessor\" DisplayName=\"Preprocessing Options\" />\r\n      <Category Name=\"Assembler Options\" DisplayName=\"Assembler Options\" />\r\n      <Category Name=\"All Options\" DisplayName=\"All Options\" Subtype=\"Search\" />\r\n      <Category Name=\"Command Line\" DisplayName=\"Command Line\" Subtype=\"CommandLine\" />\r\n    </Rule.Categories>\r\n    <!-- General -->\r\n    <StringListProperty\r\n      Name=\"IncludePaths\"\r\n      Category=\"General\"\r\n      DisplayName=\"Include File Search Directories\"\r\n      Description=\"Sets path for include files.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.16\"\r\n      Switch=\"-I&quot;[value]/&quot;\" />\r\n    <StringListProperty\r\n      Name=\"PreIncludeFiles\"\r\n      Category=\"General\"\r\n      DisplayName=\"Pre-Include a File\"\r\n      Description=\"Force files to be pre-included into source file.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.17\"\r\n      Switch=\"-P&quot;[value]&quot;\" />\r\n    <DynamicEnumProperty\r\n        Name=\"NASMBeforeTargets\"\r\n        Category=\"General\"\r\n        EnumProvider=\"Targets\"\r\n        IncludeInCommandLine=\"False\"\r\n        DisplayName=\"Execute Before\"\r\n        Description=\"Specifies the targets for the custom build step and tool to run before.\"\r\n        F1Keyword=\"VC.Project.VCCustomBuildStep.CustomBuildBeforeTargets\">\r\n      <DynamicEnumProperty.ProviderSettings>\r\n        <NameValuePair\r\n          Name=\"Exclude\"\r\n          Value=\"^NASM|^Compute\" />\r\n      </DynamicEnumProperty.ProviderSettings>\r\n      <DynamicEnumProperty.DataSource>\r\n        <DataSource\r\n          Persistence=\"ProjectFile\"\r\n          ItemType=\"\"\r\n          HasConfigurationCondition=\"true\" />\r\n      </DynamicEnumProperty.DataSource>\r\n    </DynamicEnumProperty>\r\n    <DynamicEnumProperty\r\n      Name=\"NASMAfterTargets\"\r\n      Category=\"General\"\r\n      EnumProvider=\"Targets\"\r\n      IncludeInCommandLine=\"False\"\r\n      DisplayName=\"Execute After\"\r\n      Description=\"Specifies the targets for the custom build step and tool to run after.\"\r\n      F1Keyword=\"VC.Project.VCCustomBuildStep.CustomBuildAfterTargets\">\r\n      <DynamicEnumProperty.ProviderSettings>\r\n        <NameValuePair\r\n          Name=\"Exclude\"\r\n          Value=\"^NASM|^Compute\" />\r\n      </DynamicEnumProperty.ProviderSettings>\r\n      <DynamicEnumProperty.DataSource>\r\n        <DataSource\r\n          Persistence=\"ProjectFile\"\r\n          ItemType=\"\"\r\n          HasConfigurationCondition=\"true\" />\r\n      </DynamicEnumProperty.DataSource>\r\n    </DynamicEnumProperty>\r\n    <BoolProperty\r\n        Name=\"BuildInParallel\"\r\n        Category=\"General\"\r\n        DisplayName=\"Build In Parallel\"\r\n        F1Keyword=\"VC.Project.VCCustomBuildTool.BuildInParallel\"\r\n        Description=\"Specifies that this item can be built in parallel with other custom build tool items.\">\r\n    </BoolProperty>\r\n    <IntProperty\r\n        Name=\"MaxProcesses\"\r\n        Category=\"General\"\r\n        DisplayName=\"Maximum Processes\"\r\n        F1Keyword=\"VC.Project.VCCustomBuildTool.MaxProcesses\"\r\n        Description=\"Maximum number of CPU cores to use for parallel build. A value of 0 utilizes all available processors.\">\r\n    </IntProperty>\r\n    <IntProperty\r\n        Name=\"MaxItemsInBatch\"\r\n        Category=\"General\"\r\n        DisplayName=\"Maximum Batch Size\"\r\n        F1Keyword=\"VC.Project.VCCustomBuildTool.MaxProcesses\"\r\n        Description=\"Maximum number of items to execute together during parallel build. A value of 0 divides items evenly into parallel batches. A value of 1 disables batching. Larger batches will improve performance if the custom build tool processes items quickly.\">\r\n    </IntProperty>\r\n    <!-- Assembler Options -->\r\n    <StringProperty\r\n      Name=\"Outputs\"\r\n      Category=\"Assembler Options\"\r\n      DisplayName=\"Output File Name\"\r\n      Description=\"Specify Output Filename.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.1\"\r\n      Switch=\"-o &quot;[value]&quot;\" />\r\n    <BoolProperty\r\n      Name=\"GenerateDebugInformation\"\r\n      Category=\"Assembler Options\"\r\n      DisplayName=\"Generate Debug Information\"\r\n      Description=\"Generates Debug Information.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.12\"\r\n      Switch=\"-g\" />\r\n    <StringProperty\r\n      Name=\"SymbolsPrefix\"\r\n      Category=\"Assembler Options\"\r\n      DisplayName=\"Symbols Prefix\"\r\n      Description=\"Prepend the given argument to all global or extern variables.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.27\"\r\n      IncludeInCommandLine=\"False\"\r\n      Switch=\"--prefix [value]\" />\r\n    <StringProperty\r\n      Name=\"SymbolsPostfix\"\r\n      Category=\"Assembler Options\"\r\n      DisplayName=\"Symbols Postfix\"\r\n      Description=\"Append the given argument to all global or extern variables.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.27\"\r\n      IncludeInCommandLine=\"False\"\r\n      Switch=\"--postfix [value]\" />\r\n    <BoolProperty\r\n      Name=\"TreatWarningsAsErrors\"\r\n      Category=\"Assembler Options\"\r\n      DisplayName=\"Treat Warnings As Errors\"\r\n      Description=\"Returns an error code if warnings are generated.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.24\"\r\n      IncludeInCommandLine=\"False\"\r\n      Switch=\"-Werror\" />\r\n    <!-- Preprocessor -->\r\n    <StringListProperty\r\n      Name=\"PreprocessorDefinitions\"\r\n      Category=\"Preprocessor\"\r\n      DisplayName=\"Preprocessor Definitions\"\r\n      Description=\"Defines a text macro with the given name.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.18\"\r\n      Switch=\"-D[value]\" />\r\n    <StringListProperty\r\n      Name=\"UndefinePreprocessorDefinitions\"\r\n      Category=\"Preprocessor\"\r\n      DisplayName=\"Undefine Preprocessor Definitions\"\r\n      Description=\"Undefines a text macro with the given name.\"\r\n      HelpUrl=\"http://www.nasm.us/doc/nasmdoc2.html#section-2.1.19\"\r\n      Switch=\"-U[value]\" />\r\n    <!-- Command Line -->\r\n    <StringProperty\r\n      Name=\"Inputs\"\r\n      Category=\"Command Line\"\r\n      IsRequired=\"true\">\r\n      <StringProperty.DataSource>\r\n        <DataSource\r\n          Persistence=\"ProjectFile\"\r\n          ItemType=\"NASM\"\r\n          SourceType=\"Item\" />\r\n      </StringProperty.DataSource>\r\n    </StringProperty>\r\n    <StringProperty\r\n      Subtype=\"AdditionalOptions\"\r\n      Name=\"AdditionalOptions\"\r\n      Category=\"Command Line\"\r\n      DisplayName=\"Additional Options\"\r\n      Description=\"Additional Options\">\r\n    </StringProperty>\r\n    <!-- Hidden -->\r\n    <StringProperty\r\n      Name=\"CommandLineTemplate\"\r\n      DisplayName=\"Command Line\"\r\n      Visible=\"False\"\r\n      IncludeInCommandLine=\"False\" />\r\n    <StringProperty\r\n      Name=\"ExecutionDescription\"\r\n      DisplayName=\"Execution Description\"\r\n      IncludeInCommandLine=\"False\"\r\n      Visible=\"False\" />\r\n    <StringListProperty\r\n      Name=\"AdditionalDependencies\"\r\n      DisplayName=\"Additional Dependencies\"\r\n      IncludeInCommandLine=\"False\"\r\n      Visible=\"False\" />\r\n  </Rule>\r\n  <ItemType\r\n    Name=\"NASM\"\r\n    DisplayName=\"Netwide Assembler\" />\r\n  <FileExtension\r\n    Name=\"*.asm\"\r\n    ContentType=\"NASM\" />\r\n  <ContentType\r\n    Name=\"NASM\"\r\n    DisplayName=\"Netwide Assembler\"\r\n    ItemType=\"NASM\" />\r\n</ProjectSchemaDefinitions>\r\n"
  }
]