sponsor Vim development Vim logo Vim Book Ad

msbuild.vba : Vim plugin for MSBuild project support

 script karma  Rating 0/0, Downloaded by 241    Comments, bugs, improvements  Vim wiki

created by
Heath Stewart
 
script type
ftplugin
 
description
This Vim plugin enables syntax support for all typical MSBuild project and include files matching the following patterns:

    *.*proj
    *.props
    *.targets

You can also build an open project from within Vim using :make. Any warnings or errors can then be opened directly. You can also pass command line parameters to :make like you would to msbuild.exe, like:

    :make /t:rebuild

Some items and imported projects or targets can also be opened with gf. Any environment variables in the path are expanded automatically if possible.
 
install details
To keep up-to-date with changes, I recommend using Git and installing pathogen from https://github.com/tpope/vim-pathogen so you can clone this repo or your own fork like so:

    mkdir %USERPROFILE%\vimfiles\bundle
    cd /d %USERPROFILE%\vimfiles\bundle
    git clone https://github.com/heaths/vim-msbuild.git

To make help content available when using pathogen, start vim and type :Helptags. You can then type :help msbuild for more information.

If you prefer to install the scripts directly, you can download the vimball, open it in vim, and install it like so:

    vim msbuild.vba
    :so %
    :q
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
msbuild.vba 1.1 2013-02-05 7.0 Heath Stewart Return reserved directory properties with a trailing backslash as documented. To avoid double backslash issues in authored paths (which works in MSBuild but errs in Vim), paths are simplified before an attempt is made to open them.
msbuild.vba 1.0 2013-02-02 7.0 Heath Stewart Initial upload
ip used for rating: 54.227.11.2

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo