project003 | create react app | Frontend Framework library
kandi X-RAY | project003 Summary
kandi X-RAY | project003 Summary
This project was bootstrapped with Create React App.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of project003
project003 Key Features
project003 Examples and Code Snippets
Community Discussions
Trending Discussions on project003
QUESTION
I have a Visual Studio solution with over 100 projects in it. I want to apply certain settings to all projects, so I used a Directory.Build.Props file and it works great. However, after reading the documentation I just realized that all of the solutions in the sub directories will use those settings too, but I don't want to affect those solutions since I don't maintain them. Is there a way to limit the scope of a Directory.Build.Props file to the current directory, or a particular solution? (Perhaps you can customize the name of the Props file and import it for a particular solution?)
For example, consider a directory structure organized as such:
...ANSWER
Answered 2020-Feb-03 at 03:59Is there a way to limit the scope of a Directory.Build.Props file to the current directory, or a particular solution? (Perhaps you can customize the name of the Props file and import it for a particular solution?)
The Directory.Build.Props
will act on the xxxx.sln
of the current folder which contains many included xxxx.csproj
files and then also act on the xxxx.proj
files of all the sub folders. It will go down one step at a time for any xxx.proj
file which it finds and it is designed by that. You can see the search scope of it.
Since your workaround works well but it is a bit complex, or you can try my solution if you are willing to:
Workaround
Please create a folder called MyStuff
under the folder code and then put Project001---Project100 into this folder. After that, put your Directory.Build.Props
file into MyStuff
folder. With it, the file will affect only Project001---Project100.
Hope it could help you.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install project003
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page