ReSharper by Language: MSBuild
MSBuild is a platform that is widely used for building applications. Using specific XML tags, you can define how your project should be built or executed. Using ReSharper you can do it faster.
If you mistype names of predefined elements or their attributes, ReSharper informs you about such mismatch via highlighting.
If you try to reference the property that is not yet defined, ReSharper detects such cases as well.
Examples of quick-fixes
Add required attribute
If for some reason you have not added required attributes or even do not remember what attributes are obligatory for an element, do not bother. ReSharper highlights such elements and suggests the quick-fix to fix the problem.
Code completion features are helpful when you start typing predefined elements and their attributes.
ReSharper completes them, you save your time.
If you have custom elements and they are properly referenced, ReSharper also suggests them.
ReSharper provides code completion capabilities for MSBuild and NAnt scripts. It suggests tags, their attributes, properties, item groups and metadata names. ReSharper distinguishes required elements and adds special icon, so you can easily find them in the completion list. The list includes all symbols visible in the current scope, so pick an item from the list or continue typing to narrow down the scope. To invoke the completion list in NAnt scripts, press Ctrl+Space or select . In MSBuild scripts ReSharper does it for you, automatically.
In the completion list you see special icons. They help you distinguish between the types of suggested items.
To get a general idea about the structure of your build file, use the
window. You can also double-click an element to navigate directly
from the tree to its declaration in source code.
Use Navigate To features to jump to the declaration of a symbol or move through found usages.
You can easily rename an element and get its usages updated correspondingly.
For more information about the refactoring, see
You can delete elements safely. Before removing an element ReSharper performs a check whether the element has usages or not. If there are usages, they will be listed so that you can make necessary changes or discard the refactoring. For more information about the refactoring, see Safe Delete refactoring.