-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add command line options to manipulate imports #3691
Comments
In theory, Would be interesting to change |
There's also a |
hi @dasMulli! Yeah, that property would solve my problem. btw, will it still look up the hierarchy until root if I override the |
No,
|
overriding I too would rather not let users create arbitrary recursive lookups. I'm still not very sure about If I specify |
The
It is also more in-line with |
ad |
The issue #3695 describes a problem very similar to mine. Even if I both override |
I think this issue can be closed now -- recommend documenting |
btw I'm rolling a cmake-dotnet integration module, FYI: https://github.com/Microsoft/GraphEngine/blob/master/cmake/FindDotnet.cmake |
@dasMulli some new findings here, even if I override This brings complexity to parameterized package reference, e.g. (edited) |
@yatli that sounds more like a caching issue.. do you use |
@dasMulli I use looks like |
yeah if it isn't a full path, it will be relative to the project directory. And if you do it on a solution, it will be relative to each project individually.. |
msbuild implicitly import files during various stages. there is no (obvious) way to inspect or modify what is imported, at the moment.
for example (dotnet/sdk#887), sometimes we find overriding a property with /p flag is too late, but the only chance of early import relies on heuristics in finding
Directory.Build.props
-- a wildcard that might be "too greedy" (#762).can we get command line options to manipulate such behaviors? e.g. if specified, overrides the above heuristic and use a given file instead, or list the files imported, etc.
Also see #3166 and https://github.com/dotnet/roslyn/blob/master/src/Workspaces/CoreTestUtilities/Resources/Directory.Build.props
The text was updated successfully, but these errors were encountered: