Repository navigation
moving PackUriHelper methods to S.IO.Packaging - #36493
Conversation
|
@ericstj it looks like some tests are building against netstandard1.3 and S.IO.Packaging is getting compiled as part of that? There are a few Uri API's as part of this PR that were added in netstandard2.0, so the build fails. What is the right course of action here? |
|
These aren’t tests but a build of the lib itself. We will need to ifdef/partial class. Maybe it’s easiest to just add new api only for ns2.0 and later? |
APIs we use on Uri only exist in netstandard2
|
We can't remove the netstandard1.3 config. Instead can you put all your new code in a new file that is a partial class? I can help with this if you like. |
thanks eric, i'll let you know if i need any help with this |
* moving PackUriHelper methods to S.IO.Packaging * moving registration of pack uri scheme to static constructor * don't build system.io.packaging for netstandard1.3 APIs we use on Uri only exist in netstandard2 * responding to PR feedback and remove netstandard1.3 config * adding back netstandard1.3 config * remove system.linq reference * fix exception message * fixing whitespace and comment Commit migrated from dotnet/corefx@b07788d
The below methods are available in the PackUriHelper class exposed by WindowsBase. Now that this type is being removed and replaced (entirely) by the one here in S.IO.Packaging, we want to move some more functionality into this assembly.
Fixes #36459