Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ThrowPlatformNotSupportedException innetstandard1.3#396

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dougbu merged 1 commit intoaspnet:mainfromdougbu:dougbu/platform.not.supported
Mar 7, 2023

Conversation

dougbu
Copy link
Contributor

  • stop trying to use DCS in the JSON and XML formatters
  • ifUseDataContractSerializer or!UseXmlSerializer:
    • CanReadType(...) andCanWriteType(...) always returnfalse
    • ReadFromStreamAsync(...) andWriteToStreamAsync(...) alwaysthrow
  • change default XML formatter configuration to useXmlSerializer
  • adjust and disable tests in reaction
  • add tests of newnetstandard1.3 behavior
  • nits:
    • correct namespace ofSerializerConsistencyTests; was alone in previous namespace
    • s/DataContractFormatter/XmlSerializerFormatter/ to reflect actualXmlMediaTypeFormatter 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
Copy link
ContributorAuthor

/ping reviewers

@dougbu
Copy link
ContributorAuthor

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

@dougbudougbu merged commit6451d77 intoaspnet:mainMar 7, 2023
@dougbudougbu deleted the dougbu/platform.not.supported branchMarch 7, 2023 01:26
dougbu added a commit that referenced this pull requestMar 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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mconnewmconnewmconnew approved these changes

@wtgodbewtgodbewtgodbe approved these changes

@javiercnjaviercnAwaiting requested review from javiercn

@MackinnonBuckMackinnonBuckAwaiting requested review from MackinnonBuck

@mkArtakMSFTmkArtakMSFTAwaiting requested review from mkArtakMSFT

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@dougbu@mconnew@wtgodbe

[8]ページ先頭

©2009-2025 Movatter.jp