Skip to content
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

Dlls from transient / SDKs specification should disallow subdirectories under dotnet/packs #70

Closed
flakey-bit opened this issue Jan 22, 2020 · 5 comments

Comments

@flakey-bit
Copy link
Contributor

Wondering if the convention MustNotReferenceDllsFromTransientOrSdkDirectoriesConventionSpecification should include files under dotnet/packs (c:\Program Files\dotnet\packs) in its checking.

In fact, possibly all of

  • dotnet/shared
  • dotnet/sdk

should be verboten too?

@flakey-bit
Copy link
Contributor Author

@andrewabest If you agree with the proposal, happy to send through a PR.

@andrewabest
Copy link
Owner

I agree with it in principal - just reading through https://docs.microsoft.com/en-us/dotnet/core/build/distribution-packaging and want to ensure excluding that shared directory is OK.

@andrewabest
Copy link
Owner

I assume it is OK because framework usage is inferred by other csproj settings, and not via explicit reference.

If this is your understanding too happy to take a PR 👌

@flakey-bit
Copy link
Contributor Author

I actually don't know for sure - struggling to find documentation confirming one way or the other.

dotnet/designs#50

image

Feel free to close this issue I guess - or leave it open until we know.

@andrewabest
Copy link
Owner

@flakey-bit I think the best course of action here given the complexity is to wait until this bites someone and they need a convention around it (the classic case for writing conventions) :) Closing until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants