My F# type provider doesn't seem to be working unless all its dependencies are in the same folder. This doesn't work very well for distributing type providers via nuget. Any suggestions on how to resolve this?
I'll get errors like: error FS3033: The type provider 'Froto.Gen.ProtoTypeProvider' reported an error: Could not load file or assembly 'Froto.Roslyn, Version=0.0.0.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
The type provider is in this library: packages\Froto.Gen.0.0.0.1\lib\net45\Froto.Gen.dll
The dependencies are all in the project. If I copy all of them into packages\Froto.Gen.0.0.0.1\lib\net45\, the type provider works.
2012-11-19 Update: I'll create a NuGet package today to explain the problem better.