EntropyZero Blogging Server

Welcome to EntropyZero Blogging Server Sign in | Join | Help
in Search

Reference Problem with Vista

Last post 11-17-2006, 10:55 AM by mike.brockey. 5 replies.
Sort Posts: Previous Next
  •  11-05-2006, 2:42 PM 78

    Reference Problem with Vista

    I'm using Window Vista RC2, with VS2005 SP1.  When I try to set a reference to DataFresh, the reference has a yellow exclamation mark icon next to it.  When I look at the properties for the project , it says that the version of DataFresh is 0.0.0.0, Copy Local is False (and I can't change it), and the Path is <The system cannot find the reference specified>.  When I open the exact same solution on WinXP, the reference is set correctly.  DataFresh is the only reference that I've had this problem with.  Any ideas?
    Filed under: ,
  •  11-08-2006, 4:49 PM 80 in reply to 78

    Re: Reference Problem with Vista

    So, does anyone answer anything on this forum, or is it dead?  Even a simple "We don't know"?
  •  11-14-2006, 4:24 PM 83 in reply to 78

    Re: Reference Problem with Vista

    I've not come across this issue.  Maybe becuase I've not used it that environment. :)  I will do a little research, stay tuned.
    Mike Brockey
    Senior Architect/Owner
    EntropyZero Consulting, LLC
    Filed under: ,
  •  11-14-2006, 4:24 PM 84 in reply to 80

    Re: Reference Problem with Vista

    "We don't know"
    Mike Brockey
    Senior Architect/Owner
    EntropyZero Consulting, LLC
  •  11-15-2006, 7:59 PM 89 in reply to 84

    Re: Reference Problem with Vista

    Thanks for the response.  I noticed that I get this message also during the build...

    Error    46    The "ResolveAssemblyReference" task failed unexpectedly.
    System.BadImageFormatException: Could not load file or assembly 'C:\Development\OMM\Unit Tests\bin\Debug\DataFresh.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
    File name: 'C:\Development\OMM\Unit Tests\bin\Debug\DataFresh.dll'
       at System.Reflection.AssemblyName.nGetFileInformation(String s)
       at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
       at Microsoft.Build.Shared.AssemblyNameExtension.GetAssemblyNameEx(String path)
       at Microsoft.Build.Tasks.SystemState.GetAssemblyName(String path)
       at Microsoft.Build.Tasks.Resolver.FileMatchesAssemblyName(AssemblyNameExtension assemblyName, Boolean isPrimaryProjectReference, Boolean wantSpecificVersion, Boolean allowMismatchBetweenFusionNameAndFileName, String pathToCandidateAssembly, ResolutionSearchLocation searchLocation)
       at Microsoft.Build.Tasks.Resolver.ResolveAsFile(String fullPath, AssemblyNameExtension assemblyName, Boolean isPrimaryProjectReference, Boolean wantSpecificVersion, Boolean allowMismatchBetweenFusionNameAndFileName, ArrayList assembliesConsideredAndRejected)
       at Microsoft.Build.Tasks.Resolver.ResolveFromDirectory(AssemblyNameExtension assemblyName, Boolean isPrimaryProjectReference, Boolean wantSpecificVersion, String[] executableExtensions, String directory, ArrayList assembliesConsideredAndRejected)
       at Microsoft.Build.Tasks.DirectoryResolver.Resolve(AssemblyNameExtension assemblyName, String rawFileNameCandidate, Boolean isPrimaryProjectReference, Boolean wantSpecificVersion, String[] executableExtensions, String hintPath, String assemblyFolderKey, ArrayList assembliesConsideredAndRejected, String& foundPath, Boolean& userRequestedSpecificFile)
       at Microsoft.Build.Tasks.AssemblyResolution.ResolveReference(IEnumerable`1 jaggedResolvers, AssemblyNameExtension assemblyName, String rawFileNameCandidate, Boolean isPrimaryProjectReference, Boolean wantSpecificVersion, String[] executableExtensions, String hintPath, String assemblyFolderKey, ArrayList assembliesConsideredAndRejected, String& resolvedSearchPath, Boolean& userRequestedSpecificFile)
       at Microsoft.Build.Tasks.ReferenceTable.ResolveReference(AssemblyNameExtension assemblyName, String rawFileNameCandidate, Reference reference)
       at Microsoft.Build.Tasks.ReferenceTable.ResolveAssemblyFilenames()
       at Microsoft.Build.Tasks.ReferenceTable.ComputeClosure()
       at Microsoft.Build.Tasks.ResolveAssemblyReference.Execute(FileExists fileExists, DirectoryExists directoryExists, GetDirectories getDirectories, GetAssemblyName getAssemblyName, GetAssemblyMetadata getAssemblyMetadata, GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue getRegistrySubKeyDefaultValue, GetLastWriteTime getLastWriteTime)
       at Microsoft.Build.Tasks.ResolveAssemblyReference.Execute()
       at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


  •  11-17-2006, 10:55 AM 91 in reply to 89

    Re: Reference Problem with Vista

    Thank you for the feedback, we have setup a Vista / VS 2005 environment and are attempting to reproduce this issue.
    Mike Brockey
    Senior Architect/Owner
    EntropyZero Consulting, LLC
    Filed under: ,
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems