Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

galops.exe misses reference #2096

Closed
mwtian-zz opened this issue Apr 29, 2014 · 4 comments
Closed

galops.exe misses reference #2096

mwtian-zz opened this issue Apr 29, 2014 · 4 comments

Comments

@mwtian-zz
Copy link
Contributor

From a newly forked repository, I ran build and then I tried to run galops.exe but got the following errors:

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.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalog()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetExports(ImportDefinition definition)
at System.ComponentModel.Composition.Hosting.AggregateCatalog.GetExports(ImportDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.InternalGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.InnerCatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports) at System.ComponentModel.Composition.Hosting.CatalogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports)
at System.ComponentModel.Composition.Hosting.AggregateExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports) at System.ComponentModel.Composition.Hosting.CompositionContainer.GetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition) at System.ComponentModel.Composition.Hosting.ExportProvider.TryGetExportsCore(ImportDefinition definition, AtomicComposition atomicComposition, IEnumerable1& exports)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExports(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportsCore(Type type, Type metadataViewType, String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueCore[T](String contractName, ImportCardinality cardinality)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValue[T](String contractName)
at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValueT
at NuGetGallery.Operations.Tools.Program.Main(String[] args) in c:\Workspaces\SiteExtensionGallery\NuGetGallery\src\galops\Program.cs:line 40

analogrelay added a commit that referenced this issue May 7, 2014
@danliu
Copy link
Contributor

danliu commented May 13, 2014

Still get the same error:

F:\dd\git\gallery\Gallery\src\galops\bin>galops.exe

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: Unable to l
ad one or more of the requested types. Retrieve the LoaderExceptions property f
r more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.get_InnerCatalo
()
at System.ComponentModel.Composition.Hosting.AssemblyCatalog.GetExports(Impo
tDefinition definition)
at System.ComponentModel.Composition.Hosting.AggregateCatalog.GetExports(Imp
rtDefinition definition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.InternalG
tExportsCore(ImportDefinition definition, AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.CatalogExportProvider.InnerCata
ogExportProvider.GetExportsCore(ImportDefinition definition, AtomicComposition
tomicComposition)

@danliu danliu reopened this May 13, 2014
@mwtian-zz
Copy link
Contributor Author

I just did a clean build.cmd and src\galops\bin\Debug\galops.exe ran fine. You can see the inner exception in Visual Studio. Does src\galops\bin contain all the build output?

@danliu
Copy link
Contributor

danliu commented May 13, 2014

looks like running galops.exe under src\galops\bin will throw that error. There are galops.exe under both bin\ and bin\debug folder.

@mwtian-zz
Copy link
Contributor Author

I see. galops.exe requires the references in src\galops\bin\Debug.

@danliu danliu closed this as completed May 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants