-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sharing .props file between projets #5
Comments
The reason we do not use the The migration will most likely be made with a CKli apply settings command.
Thanks! Sadly there is no enough documentation there :(. The packages defined in this repo, will be depended in our apps, and processed post app compilation by our static DI, with a plugin. You can play around the tql language that you may have seen in this repo in this playground: https://kuinox.github.io/TQLBlazorDemo/ (and there is some doc about the language itself in this docx ) |
I'd like to add that the Shared.props is here because it's an opt-in. Opting out of a |
I think we can test in the props if it is a "Test/*," csproj then don't apply the rules. |
And this would still be more implicit than explicit: by looking at a project csproj, you cannot understand what's going on.... |
Hello guys, Thanks for your detailed answers. We can opt-out specific projet in the Directory.Build.props by adding a specific condition but if you need it, it's more clearer to use your current solution by adding it the reference in each csproj when it's needed. CKli is a very interesting tool. If I remember well .NET team have also a tool named arcade (https://github.com/dotnet/arcade) to allow them to update all their repo easily. Have a great day ! |
Hello,
Your file Shared.props seem shared to all your csprojs files.
.NET have a built-in mechanism to do it. Please find an article which explain how to use it:
https://thomaslevesque.com/2017/09/18/common-msbuild-properties-and-items-with-directory-build-props/
The dotnet team use it on the majority of the projects I read from them.
https://github.com/dotnet/project-system
If you have a reason to not use it, I am very curious don’t hesitate to share it. 😊
You source code is very interesting to read.
Jérôme
The text was updated successfully, but these errors were encountered: