Giter Site home page Giter Site logo

Comments (5)

viciousviper avatar viciousviper commented on May 25, 2024

What build configuration are you using? Only ... (NuGet) and ...(NuGet-Signed) will pull the required CloudFS Gateways from NuGet during build.
If you use either the Debug or Release build config you will need to download the CloudFS assemblies yourself and place them in a directory matching with the entry in <mount libPath=...> in DokanCloudFS.Mounter's App.config file. The default location would be the Library directory of the DokanCloudFS solution.

All this should be documented in README.md in sections Local compilation and Usage. Please let me know if you find this documentation insufficient or misleading.

from dokancloudfs.

extra2 avatar extra2 commented on May 25, 2024

I'm using ...(NuGet). I think the problem was with xcopy (solved now) but this is what I get after I start IgorSoft.DokanCloudFS.Mounter.exe from the command line (as an admin):

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeAssembly.get_DefinedTypes()
   at System.Composition.Hosting.ContainerConfiguration.<WithAssemblies>b__0(Assembly a)
   at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
   at System.Composition.TypedParts.TypedPartExportDescriptorProvider..ctor(IEnumerable`1 types, AttributedModelProvider attributeContext)
   at System.Composition.Hosting.ContainerConfiguration.CreateContainer()
   at IgorSoft.DokanCloudFS.CompositionInitializer.Initialize(String path, String searchPattern) in D:\DokanCloudFS-master\DokanCloudFS\CompositionInitializer.cs:line 97
   at DokanCloudFS.Mounter.Program.Main(String[] args) in D:\DokanCloudFS-master\DokanCloudFS.Mounter\Program.cs:line 51

from dokancloudfs.

viciousviper avatar viciousviper commented on May 25, 2024

This would indicate that one of the depencencies of the Box gateway is either missing from the NuGet package (just checked, couldn't find anything wrong, though) or that Visual Studio's automatic package restore mechanism didn't pickup the dependencies for DokanCloudFS.Gateways or DokanCloudFS.Gateways-Signed.

Could you please try opening the NuGet package manager in Visual Studio and check if there are any pending dependencies for the two ...Gateways projects?

If this doesn't help at once you could start IgorSoft.DokanCloudFS.Mounter.exe from within Visual Studio and look at the LoaderExceptions property of the thrown ReflectionTypeLoadException in the debugger. This will most likely help to identify the missing dependency.

BTW: What kind of problem with xcopy did you detect and solve?

from dokancloudfs.

viciousviper avatar viciousviper commented on May 25, 2024

Just got another report about the mismatched directory name that causes xcopy to fail.
The latest version 1.0.9.1-alpha should fix this. Please give me a shout if you still encounter problems.

from dokancloudfs.

viciousviper avatar viciousviper commented on May 25, 2024

Closed due to prolonged inactivity.

from dokancloudfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.