File tree Expand file tree Collapse file tree
src/FSharp.Data.GraphQL.Client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 it directly as a TfmSpecificPackageFile. -->
3737 <PropertyGroup Condition =" '$(IsNuGet)' != ''" >
3838 <TargetsForTfmSpecificContentInPackage >$(TargetsForTfmSpecificContentInPackage);_IncludeDesignTimeDllInPackage</TargetsForTfmSpecificContentInPackage >
39+ <!-- NU5100: assembly not inside 'lib' — expected for type-provider assemblies in typeproviders/ -->
40+ <NoWarn >$(NoWarn);NU5100</NoWarn >
3941 </PropertyGroup >
4042
4143 <Target Name =" _IncludeDesignTimeDllInPackage" Condition =" '$(IsNuGet)' != ''" >
4648 <MSBuild Projects =" @(_DesignTimeProjectRef)"
4749 Targets =" GetTargetPath"
4850 Properties =" Configuration=$(Configuration);TargetFramework=$(TargetFramework)" >
49- <Output TaskParameter =" TargetOutputs" ItemName =" _DesignTimeDllPath " />
51+ <Output TaskParameter =" TargetOutputs" ItemName =" _DesignTimeDll " />
5052 </MSBuild >
53+ <!-- Collect all DLLs from the DesignTime output directory using CreateItem
54+ (avoids globs in PackagePath which NuGet Pack does not support). -->
55+ <CreateItem Include =" @(_DesignTimeDll -> '%(RootDir)%(Directory)*.dll')" >
56+ <Output TaskParameter =" Include" ItemName =" _DesignTimeDeps" />
57+ </CreateItem >
5158 <ItemGroup >
52- <TfmSpecificPackageFile Include =" @(_DesignTimeDllPath)" >
53- <PackagePath >lib\$(TargetFramework)</PackagePath >
59+ <TfmSpecificPackageFile Include =" @(_DesignTimeDeps)"
60+ Condition =" '%(Filename)' != 'FSharp.Core'" >
61+ <PackagePath >typeproviders\fsharp41\$(TargetFramework)</PackagePath >
5462 </TfmSpecificPackageFile >
5563 </ItemGroup >
5664 </Target >
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ namespace FSharp.Data.GraphQL.Client
66
77open FSharp.Core .CompilerServices
88
9- [<assembly: TypeProviderAssembly( " FSharp.Data.GraphQL.Client.DesignTime.dll " ) >]
9+ [<assembly: TypeProviderAssembly( " FSharp.Data.GraphQL.Client.DesignTime" ) >]
1010do ()
1111#endif
You can’t perform that action at this time.
0 commit comments