Repository navigation
Fix-ups to get UWP test project building - #642
Merged
Merged
Conversation
Also bump the vs-threading analyzer version
It breaks .NET Native compilation
neuecc
reviewed
Nov 17, 2019
neuecc
left a comment
Member
There was a problem hiding this comment.
- In master,
Nerdbank.Streamswas removed so other projects also should remove Nerdbank.Streams? - What the reason of exists MessagePack.Internal proj?
- Unity shims is for Unity's shim.
3.1 Unity's Bounds(or other properties) is property so should follow. https://github.com/Unity-Technologies/UnityCsReference/blob/86305f755ec65987bd8de18f3e38bc608adc0ba3/Runtime/Export/Geometry/Bounds.cs
However, since it is only a receiving point for deserialization, it is acceptable to change to the field.
3.2 UnityShims is only for server from accept Unity data. In other words, it is not necessary for UWP. We can remove compile target from UWP.
Collaborator
Author
|
Collaborator
Author
|
So I just tried again to replace the nerdbank.streams reference in MessagePack.Internal with inclusion of Sequence.cs and it worked. So if @pranavkm wants that, we can make that change (possibly as a distinct PR). |
Contributor
|
Sure I'll give it a try. Any changes we make here aren't going to ship until ASP.NET Core 5.0, so that gives us plenty of runaway to figure things out 👍 |
Member
|
The presence of |
Collaborator
Author
Member
|
Okay. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR doesn't add the UWP test project, but it contains the changes necessary so that a local UWP project that referenced MessagePack (or more accurately, the test projects) could actually compile with the UWP .NET Native toolchain.
There are two key fixes here:
Microsoft.VisualStudio.Threading, which had one line of code that .NET Native couldn't handle. We update to a version of vs-threading that has this fix.