Hi,
I worked well with my solution for one month.
But after migrate my solution to another machine having VS2005 and Service pack 1, It gives this error.
Please give me a solution...
=======
Error 1 The "ResolveAssemblyReference" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Globalization.CultureTableRecord.AdjustSyntheticCalendars(CultureData& data, CompositeCultureData& compositeData)
at System.Globalization.CultureTableRecord.GetCultureDataSize(Int32 cultureID, CultureData& data, CompositeCultureData& compositeData)
at System.Globalization.CultureTableRecord.GetSyntheticCulture(Int32 cultureID)
at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)
at System.Globalization.CultureTableRecord.GetCultureTableRecord(Int32 cultureId, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverride)
at System.Globalization.CultureInfo..ctor(Int32 culture)
at System.Globalization.CultureTable.GetCultures(CultureTypes types)
at Microsoft.Build.Tasks.CultureStringUtilities.PopulateCultureInfoArray()
at Microsoft.Build.Tasks.ReferenceTable.FindSatellites(Reference reference)
at Microsoft.Build.Tasks.ReferenceTable.FindAssociatedFiles()
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) PortfolioManager
========
-
-
Looks to me like your getting build errors. Are you missing assemblies on the machine you migrated it to?
-
Try building your solution with MSBUILD from the command line and see if you get the same error. It sounds like you are missing assemblies somewhere. Perhaps your old machine had an out of date version of the Windows SDK, perhaps the new machine is missing an up to date version of the Windows SDK, etc.
-
after installing necessary SDKs it works fine now. Thanks for u all.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.