Add support for F# project files and .net props files #424
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support for F# project files which are the same xml format as those of C# & VB.Net. It also adds support for props files which are used to extend them. MSBuild assumes a file name of
Directory.Build.props
but you can also manually import files of any name which commonly use the.props
extension.Sample F# project file
https://github.com/cartermp/GiraffeSample/blob/bbb8a0d3d08a31bf8d9ecac75457cd41953e8414/LunchAPI/LunchApi.fsproj
Example
.props
file without referenceshttps://github.com/aspnet/Mvc/blob/747420e5aa7cc2c7834cfb9731510286ded6fc03/Directory.Build.props
Example
.props
file with referenceshttps://github.com/aspnet/Mvc/blob/747420e5aa7cc2c7834cfb9731510286ded6fc03/src/Directory.Build.props
Example generic
.props
file with referenceshttps://github.com/aspnet/DotNetTools/blob/d81f23e1599cd7c464ae51c3d5605c37b0421450/build/VSIX.props