I've created a new project in .Net Framework 4 and I've referenced Csla v4.5.30. Initially the project worked well. All of a sudden my DAL layer giving the following error and not building the project at all. I've tried all the ways (like checking the target frameworks for all the projects in my solution, etc...).
The visual studio displays the following error whenever I tried to build the project.
The type or namespace name 'Csla' could not be found (are you missing a using directive or an assembly reference?)
I cross checked the assembly references and everything were in place. And the problem exists in my system only. In my colleague system the project is working and building fine.
And also I'm getting the following warning messages
The primary reference "Csla" could not be resolved because it has an indirect dependency on the framework assembly "System.Runtime, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "Csla" or retarget your application to a framework version which contains "System.Runtime, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Any help in this regard appreciated.
Most likely a problem with reference to nuget package Microsoft.Bcl.Async.
Verify that you have the same nuget packages (and versions) and project references as your colleague has.
Copyright (c) Marimer LLC