Author Topic: Support for Directory.Build.props file  (Read 4102 times)

xj97

  • Community Member
  • Posts: 21
  • Hero Points: 1
Support for Directory.Build.props file
« on: April 11, 2019, 07:35:46 PM »
Our company recently started using a lot of .props files, with a master Directory.Build.props file with our Visual Studio 2017 setup. That master props file defines a standard way of addressing a 'dependencies' props file, which includes many other props files to constitute the full project.

Slick does not seem to process these dependencies, so when I point it at an .sln, it does not know about the vast majority of the files in the project. I haven't found anything in some searches for this issue, so I'm not sure how widely used this is.

Any plans to add support for the Directory.Build.props file, or do I need to build my slick projects manually like back in the old days  ;D

Thanks--

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: Support for Directory.Build.props file
« Reply #1 on: April 11, 2019, 08:25:34 PM »
This is the first request I know of for this, and have not had a chance to look at prop files with Visual Studio.  I will have to find real working examples of this, if you know of any that would be of help.  What are the dependencies that in the props file?   Do they explicitly list other files or project files?  Will have to study this to see how you would go about determining what files need to be included from a nested set of these dependencies.

xj97

  • Community Member
  • Posts: 21
  • Hero Points: 1
Re: Support for Directory.Build.props file
« Reply #2 on: April 11, 2019, 08:43:10 PM »
Hi Lee-

Thanks for the quick response!

A build expert colleague of mine referred me to these:

https://github.com/Microsoft/msbuild
https://github.com/aspnet/AspNetCore
https://github.com/dotnet/machinelearning
https://github.com/reactiveui/refit
https://github.com/Microsoft/WPF-Samples
https://github.com/Microsoft/botbuilder-dotnet

Documentation
https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019


For our use case, we have one Directory.Build.props file at the root of our trunk which applies to all of our projects. Each project can point to [N] .props files of other dependent projects.