-
Notifications
You must be signed in to change notification settings - Fork 18
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
Clarify the relationship between the two packages, and general usage #15
Comments
Can someone explain how to use the
If I add it as a child of
|
Hey folks! There are some docs on how to reference SDKs in general on the MSBuild Docs site: https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-use-project-sdk?view=vs-2022 So I'd expect to see a project file or Directory.Build.props like:
@cmeeren for the specific build error, do you have a sample I can try to repro with locally? Finally, I don't see anything in the props/targets files for the two packages that would prevent their use together. I'd need to dig deeper to be sure, though. |
@baronfel You're right, my error was caused by Rider unloading the projects (without my noticing) when I made an erroneous change to It works with <Project>
<Sdk Name="DotNet.ReproducibleBuilds.Isolated" Version="1.1.1" />
... |
Checked the source code. I think
So we should use both of them together. |
Reading the README.md, it isn't quite clear whether one should use both DotNet.ReproducibleBuilds and DotNet.ReproducibleBuilds.Isolated, or only one of them. What exactly each one of these packages does is also a bit vague, i.e. what exactly do I opt into for each one.
One last note: for DotNet.ReproducibleBuilds.Isolated, the usage says to include an
<Sdk ... />
element in the csproj or Directory.Builds.props. A more complete sample would be useful here, since Sdk elements aren't something that's typically used, so it may not be immediately clear where to place them (inside an ? outside?).The text was updated successfully, but these errors were encountered: