Reputation: 11
I have the following problem with a referenced assembly from a Web application:
Web application assembly/namespace:
Company.Application.Web
Referenced assembly:
Company.Application.Infrastructure including namespaces
Company.Application.Infrastructure.Data
Company.Application.Infrastructure.Services
In the following code I get an error message at the using
statements in a Web application file:
The type or namespace name 'Infrastructure' does not exist in the namespace 'Company.Application' (are you missing an assembly reference?)
using Company.Application.Infrastructure.Data
using Company.Application.Infrastructure.Services
namespace Company.Application.Web
{
}
Upvotes: 0
Views: 1347
Reputation: 3162
Check to see that your target framework have the same .net versions.
Upvotes: 1