صفي
صفي

Reputation: 1068

from 4.5 to 4.0 :The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft'

I was working on .Net 4.5 used SignalR 1.1.2 and everything works fine. Then we want to lower the version of netframework to 4.0 cos of production server, everything stopped and this error appeared. Please tell me what to do?

The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Upvotes: 1

Views: 16521

Answers (2)

Jake Tamayo
Jake Tamayo

Reputation: 26

Solved by deleting the contents of bin and obj folder on my project folder, then open the project and rebuild.

Upvotes: 1

صفي
صفي

Reputation: 1068

Solved problem by removing reference from project then build. After failed Build Add reference. Working perfectly in .net 4.0.

We can also Uninstall then install nuGet Packages.

Upvotes: 3

Related Questions