Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Resolved file has a bad image, no metadata, or is otherwise inaccessible
shyamsundar2007
#1 Posted : Wednesday, February 5, 2020 5:54:58 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/24/2020(UTC)
Posts: 3
Location: Singapore

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi,

I recently started using NCrunch for a project a work. When I try building my project through Visual Studio, it works fine. But when I try to build using NCrunch, I get the following errors. Can someone help guide me to what I'm missing here?

Quote:
Utilities\BoxWebServiceUtilities.cs (12, 7): The type or namespace name 'MigrationService' could not be found (are you missing a using directive or an assembly reference?)
Utilities\MailboxUtilities.cs (9, 7): The type or namespace name 'MigrationService' could not be found (are you missing a using directive or an assembly reference?)
Utilities\WebServiceUtilities.cs (52, 37): The type or namespace name 'FolderFilterManager' does not exist in the namespace 'BitTitan.Processing' (are you missing an assembly reference?)


WARNING - ..\..\..\..\program files (x86)\microsoft visual studio\2017\professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets (2110, 5): MSB3246: Resolved file has a bad image, no metadata, or is otherwise inaccessible. Could not load file or assembly 'MigrationCommonClient.dll' or one of its dependencies. File is corrupt. (Exception from HRESULT: 0x8013110E)


I have ensured the namespaces are being properly imported (if not the project would fail to build on Visual Studio). I've also tried to add the 'MigrationCommonClient.dll' file manually to the project using the NCrunch project config. Would appreciate any help on this. Thanks.
michaelkroes
#2 Posted : Wednesday, February 5, 2020 7:52:53 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 208
Location: Netherlands

Thanks: 94 times
Was thanked: 43 time(s) in 41 post(s)
Hi,

Sorry you're having this issue!

Which version of NCrunch are you using? Do you have optimised set for the instrumentation mode?
shyamsundar2007
#3 Posted : Wednesday, February 5, 2020 10:16:13 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/24/2020(UTC)
Posts: 3
Location: Singapore

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi,

Thanks for the quick response. I'm using version 4.2.0.7 and yes I am using the optimized set for the instrumentation mode.
michaelkroes
#4 Posted : Wednesday, February 5, 2020 1:55:03 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 208
Location: Netherlands

Thanks: 94 times
Was thanked: 43 time(s) in 41 post(s)
1 user thanked michaelkroes for this useful post.
shyamsundar2007 on 2/5/2020(UTC)
shyamsundar2007
#5 Posted : Wednesday, February 5, 2020 2:10:00 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/24/2020(UTC)
Posts: 3
Location: Singapore

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Wow I installed the latest version and my problem magically disappeared! Thanks for the help!
1 user thanked shyamsundar2007 for this useful post.
michaelkroes on 2/5/2020(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.047 seconds.