Add support for easy DesignTime Assembly Packing #4239
Merged
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.
Type providers may be split into two portions a runtime helpers library and a design time library to run in the compiler/fcs/fsi etc ...
This PR makes dotnet pack easier.
Example projects:
This Example consists of a runtime project a design time project
The design time project is a project reference it is tagged with:
Private Assets, stops the build and nuget from making the DesignTime assembly a dependency of the package.
The package layout conforms to : #3864
However, nuget doesn't make make specific target runtimes subdirectories of the TargetFramework, so neither does this. nugget uses the runtime branch for runtime specific probing.
I propose revising the current probing logic to stop probing for x86 and x64.
Additionally:
The default here is to place designtime assemblies below tool. To place them below typeproviders
use: