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

C# smoketests use nuget.config #1500

Merged
merged 20 commits into from
Jul 15, 2024
Merged

C# smoketests use nuget.config #1500

merged 20 commits into from
Jul 15, 2024

Conversation

bfops
Copy link
Collaborator

@bfops bfops commented Jul 12, 2024

Description of Changes

Our C# smoketests used to manually modify the .csproj file generated by spacetime init --lang csharp.

This PR modifies the smoketests to not modify the .csproj, and to instead add a separate nuget.config file. This is easier to maintain / less prone to breakage. (It was also partly just practice of using nuget.config, because it's easier to port it over to other scenarios)

This seems to have resolved the issue where pointing to 0.10.0 might still pull from NuGet instead of the local repo. I'm not 100% sure that it's actually due to this change - I may have tested that issue incorrectly before (I may have pointed at 0.10.* and updated the local package version to 0.10.0, and it might have decided to pull 0.10.1 from NuGet because it was more recent; not completely sure)

API and ABI breaking changes

Nope.

Expected complexity level and risk

1

Testing

@bfops bfops changed the title Smoketests use nuget.config C# smoketests use nuget.config Jul 12, 2024
@bfops bfops added release-any To be landed in any release window no runtime change This change does not affect the final binaries labels Jul 12, 2024
@bfops bfops marked this pull request as ready for review July 12, 2024 19:17
@bfops bfops requested a review from jdetter July 12, 2024 19:18
@bfops bfops enabled auto-merge July 12, 2024 20:22
Copy link
Collaborator

@jdetter jdetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would ask @RReverser to take another look at this when he gets back, but for now this is fine with me 👍

@bfops bfops added this pull request to the merge queue Jul 15, 2024
Merged via the queue into master with commit 75acefc Jul 15, 2024
8 checks passed
@bfops bfops deleted the bfops/smoketests-nuget-config branch July 15, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no runtime change This change does not affect the final binaries release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants