Skip to content

Conversation

@dougbu
Copy link
Contributor

@dougbu dougbu commented Mar 5, 2023

  • stop trying to use DCS in the JSON and XML formatters
  • if UseDataContractSerializer or !UseXmlSerializer:
    • CanReadType(...) and CanWriteType(...) always return false
    • ReadFromStreamAsync(...) and WriteToStreamAsync(...) always throw
  • change default XML formatter configuration to use XmlSerializer
  • adjust and disable tests in reaction
  • add tests of new netstandard1.3 behavior
  • nits:
    • correct namespace of SerializerConsistencyTests; was alone in previous namespace
    • s/DataContractFormatter/XmlSerializerFormatter/ to reflect actual XmlMediaTypeFormatter test actions

- stop trying to use DCS in the JSON and XML formatters
- if `UseDataContractSerializer` or `!UseXmlSerializer`:
  - `CanReadType(...)` and `CanWriteType(...)` always return `false`
  - `ReadFromStreamAsync(...)` and `WriteToStreamAsync(...)` always `throw`
- change default XML formatter configuration to use `XmlSerializer`
- adjust and disable tests in reaction
- add tests of new `netstandard1.3` behavior
- nits:
  - correct namespace of `SerializerConsistencyTests`; was alone in previous namespace
  - s/DataContractFormatter/XmlSerializerFormatter/ to reflect actual `XmlMediaTypeFormatter` test actions
@dougbu dougbu requested review from a team, MackinnonBuck, javiercn, mconnew and mkArtakMSFT March 5, 2023 06:16
@dougbu
Copy link
Contributor Author

dougbu commented Mar 6, 2023

/ping reviewers

@dougbu
Copy link
Contributor Author

dougbu commented Mar 6, 2023

Thanks @mconnew. Unfortunately, it appears only a select few have write access in this repo 😦 That means I need another reviewer.

@dougbu dougbu merged commit 6451d77 into aspnet:main Mar 7, 2023
@dougbu dougbu deleted the dougbu/platform.not.supported branch March 7, 2023 01:26
dougbu added a commit that referenced this pull request Mar 7, 2023
* Use `msbuild` from VS 2022 if available
  - should ease local and TeamCity builds
  - make `%InstallDir%` unquoted (unlike `%vswhere%`)
    - shorten `%Path%` slightly
  - nits:
    - use script location more; no need to change directories

* React to new build issues
  - follow up to #396
    (unsure why new FxCop and "spelling" errors didn't fail that PR)

* Put `PortReserver` users into an xUnit collection
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

Successfully merging this pull request may close these issues.

3 participants