-
Notifications
You must be signed in to change notification settings - Fork 133
add source-build pre-built detection #933
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
Changes from all commits
8ce220b
bcc159d
583813e
8218b06
db472d5
05bc0df
89694bc
b8fef1f
81716f5
c6ba833
0b09480
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| <!-- See aka.ms/dotnet/prebuilts for guidance on what pre-builts are and how to eliminate them. --> | ||
| <UsageData> | ||
| <IgnorePatterns> | ||
| <UsagePattern IdentityGlob="*/*" /> | ||
| <UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*" /> | ||
| </IgnorePatterns> | ||
| </UsageData> | ||
| </UsageData> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,8 @@ | |
| <TargetFrameworks>$(NetCurrent)</TargetFrameworks> | ||
| <!-- Allow tool to roll forward to a newer major version. --> | ||
| <RollForward>Major</RollForward> | ||
| <!-- Will be removed by https://github.com/dotnet/sourcelink/issues/1028 --> | ||
| <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does this tool need to be excluded from source build? Please add a comment as it isn't clear just from reading the code. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did it based on the project's description: <Description>Command line tool for SourceLink testing.</Description>Since I thought it is a tool used for testing, but reading it again I might be wrong here. Maybe @tmat can clarify it Additionally <PackAsToolShimRuntimeIdentifiers>win-x64;win-x86;osx-x64</PackAsToolShimRuntimeIdentifiers>causes some additional packages to get pulled in that are marked as pre-builts: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be included. This is not a shipping product yet but it is meant to be. It's for customers to test that their binaries have correct Source Link. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Can this be done as a separate issue to not block this PR? Or it being excluded for some time is a no-go? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO if source build repositories currently don't depend on the tool, it shouldn't be an issue to exclude it for now and track enabling it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Created an issue for it -> #1028 |
||
|
|
||
| <!-- NuGet --> | ||
| <IsPackable>true</IsPackable> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.