Creating a netstandard library with a netcoreapp design time assembly #371
daniellittledev
started this conversation in
General
Replies: 1 comment 2 replies
-
You need to target However such type providers won't be usable in tooling that runs .NET Framework (e.g. Visual Studio) so you should in general refrain from doing this unless you make a matching |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I'm looking for information about creating a netstandard library with a netcoreapp design time assembly. I have type provider using
System.Configuration.ConfigurationManager
that I'm trying to update for dotnetcore. I initially used netstandard2.0 for both projects however when using the type provider there was an error loadingConfigurationManager
because it was loading thereference
assembly instead of theimplementation
assembly.Then I changed the design time assembly to target
netcoreapp2.2
but when loading the type provider it could not find the assembly. Note that the lib assembly was stillnetstandard2.0
.So I have two questions?
netcoreapp2.2
for type providers (I assume this then means you can't use it from a netstandard project)?Beta Was this translation helpful? Give feedback.
All reactions