Błędy podczas debugowania aplikacji z AssemblyReferences.

0

Witam,

dostałem aplikację, którą mam odpalić, jednak po debugowaniu w celu jej uruchomienia wyskakują mi błędy, z którymi nie mogę spobie poradzić.
Działam w VS ASP.NET

Proszę o nakierowanie, pomoc.

Tutaj podaję początek.

------ Build started: Project: Modularity4.Common, Configuration: Debug Any CPU ------
C:\Users\Michaell65\Desktop\praca - hmc\wspólny pozew\WspolnyPozew\Common\M4.cs(5,17): error CS0234: The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
C:\Users\Michaell65\Desktop\praca - hmc\wspólny pozew\WspolnyPozew\Common\Application.cs(5,17): error CS0234: The type or namespace name 'Practices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
C:\Users\Michaell65\Desktop\praca - hmc\wspólny pozew\WspolnyPozew\Common\Application.cs(56,17): error CS0246: The type or namespace name 'UnityContainer' could not be found (are you missing a using directive or an assembly reference?)

Compile complete -- 3 errors, 0 warnings
Build started 2012-08-12 1914.
ResolveAssemblyReferences:
Primary reference "Microsoft.Practices.ObjectBuilder2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Practices.ObjectBuilder2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
For SearchPath "{TargetFrameworkDirectory}".
Considered "C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Microsoft.Practices.ObjectBuilder2.dll", but it didn't exist.
Considered "C:\Program Files\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Microsoft.Practices.ObjectBuilder2.exe", but it didn't exist.
For SearchPath "{Registry:Software\Microsoft.NETFramework,v4.0,AssemblyFoldersEx}".

Tutaj błąd.
http://www.sendspace.pl/file/6de7238e908130ab98bcbbe

Proszę o pomoc, bo nie za bardzo wiem o co chodzi z AssemblyReferences.

0

To nie są błędy podczas debugowania, a podczas kompilacji.
Problem jest w tym, że nie masz wymaganych bibliotek. Konkretnie Microsoft.Practices.ObjectBuilder2.dll i Microsoft.Practices.Unity.dll lub masz ich złe wersje. Możesz spróbować wyłączyć sprawdzanie wersji tych bibliotek lub usunąć i dodać na nowo je do projektu.

*edit: tu jest link do tych bibliotek http:*msdn.microsoft.com/en-us/library/ff650810

1 użytkowników online, w tym zalogowanych: 0, gości: 1