Repository navigation
"Publish" our tasks assembly into platform-specific folders inside our NuGet package. - #46
Merged
Merged
Conversation
…r NuGet package. This allows us to put platform-specific dependencies in the NuGet package, and fixes the issue of getting FileNotFound 'System.Security.Cryptography.Algorithms' on net46 by adding that assembly to our NuGet package. Along with this change, I refactored the nuspec to include all files under the "PackagesLayout" folder, which means we no longer have to duplicate each file. "Build" just needs to place the file in the correct spot under "PackagesLayout". Fix #45
Merged
Contributor
|
A bit hard to follow the flow of all the files, but if it builds and everything is in the right place, then 👍 :) |
|
|
||
| <!-- Add our tasks assembly --> | ||
| <CopyLocalAssembly Include="$(AssemblyName)$(TargetExt)"> | ||
| <FullFilePath>$(OutDir)\$(AssemblyName)$(TargetExt)</FullFilePath> |
Contributor
There was a problem hiding this comment.
Could you use TargetPath here?
Member
Author
There was a problem hiding this comment.
Good call. I could have if I continued this same approach. But in my latest commit, I moved all this logic out of this project and into the NuGet project.
Also use a Regex to match DestinationTFM properties in CopyLocalAssembly to know which TFM directory to copy assemblies to.
nguerrera
pushed a commit
that referenced
this pull request
Oct 10, 2016
"Publish" our tasks assembly into platform-specific folders inside our NuGet package.
mmitche
pushed a commit
to mmitche/sdk
that referenced
this pull request
Jun 5, 2020
Fixing the task to use the right name based on MSBuildRuntimeType
1 task
springmin
added a commit
to springmin/sdk-ohos
that referenced
this pull request
Oct 4, 2026
Advance WORKLOAD_BUNDLE_SHA256 from a8334c4c (kit dotnet#45) to f086d161, the kit dotnet#46 repack of openharmony-workload-1.0.0-preview.28: the Sdk pack carries the FIX-A11YBUTTON shell (ui abc 369,472/a0dbad04, pages/Index.ets 325,846/7d971a5e, provenance 446f9215; headless 24,324/798b2477 unchanged), the unchanged host (297,888/7b1694d9), the P2c skills[].uris targets (77,401/9d0389d4) and tasks (40,960/0c186779); the kits haps were rebuilt with the INTERP-DRAW2 MAUI slice (6652017ca5) and the Ref/Runtime managed packs were rebuilt from the same sources. Installer tests: 43/43 + 10/10 + 5/5, fetch-nativeaot --local content check OK (r2 OpenSSL shim 5/5).
springmin
added a commit
to springmin/sdk-ohos
that referenced
this pull request
Oct 4, 2026
Advance WORKLOAD_BUNDLE_SHA256 from f086d161 (kit dotnet#46) to 27c54c62, the kit dotnet#47 repack of openharmony-workload-1.0.0-preview.28: the Sdk pack carries the FIX-PREEMPT-RAW shell (ui abc 370,240/4b439e83, pages/Index.ets 326,953/69dc09e0, provenance bb5a1758; headless 24,324/798b2477 unchanged), the unchanged host (297,888/7b1694d9), the P2c skills[].uris targets (77,401/9d0389d4) and tasks (40,960/0c186779); the kits haps were rebuilt with the FIX-A11YFLYOUT MAUI slice (d5384d6cc3) and the Ref/Runtime managed packs were rebuilt from the same sources. Installer tests: 43/43 + 10/10 + 5/5, fetch-nativeaot --local content check OK (r2 OpenSSL shim 5/5).
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 allows us to put platform-specific dependencies in the NuGet package, and fixes the issue of getting FileNotFound 'System.Security.Cryptography.Algorithms' on net46 by adding that assembly to our NuGet package.
Along with this change, I refactored the nuspec to include all files under the "PackagesLayout" folder, which means we no longer have to duplicate each file. "Build" just needs to place the file in the correct spot under "PackagesLayout".
Fix #45
@brthor @livarcocc @piotrpMSFT @natidea
/cc @ericstj @dotnet/project-system