-
Notifications
You must be signed in to change notification settings - Fork 558
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
dotnet-svcutil test: fix ParamsFiles and typereuse cases #5052
base: main
Are you sure you want to change the base?
Conversation
97a2d88
to
aec76d9
Compare
@imcarolwang can you please research to see if it's possible to make a global variable or somewhere so all the code path could benefit in the future? |
aec76d9
to
33cd695
Compare
I agree with the latest approach, is there a concern that using the default framework may not be include all the test framework needed to be tested? |
I think it's ok because before updating to use default framework, test hard coded to use the latest framework version, which is no different than use the default, and we have other tests to cover different framework option test. |
33cd695
to
dcda4c4
Compare
dcda4c4
to
eb9c7ea
Compare
…latest for each new release.
eb9c7ea
to
6b04a05
Compare
The ParamsFiles case tests global tool can generate wcf client using parameter file passed in, typereuse case tests type reuse feature, both cases hard coded the context test project to .net6.0.
With the wcf repository's root global.json upgrades SDK version to .net8.0, the tests failed to run because the test code can only create test projects whose framework targets are available as defined by the global.json.
This PR changes net6.0 to net8.0 for the two cases and add their corresponding baseline files, also deletes baseline folder ParamsFiles_SDK_TFM/TFnetcoreapp3_1 which is no longer baseline of any existing case.