Base solution for your next web application
Open Closed

Test project shows errors on V 1.7 (Latest) #628


User avatar
0
nipunjoshi created

I have downloaded the latest version of the ASP.net Zero (V1.7).But when I compile it,it shows below mentioned errors on the Test project.

And all the references of the Test project are shown as below.Could you tell me how to sort out this issue ? Thanks in advance.


4 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Can you try this:

    Open "Package Manager Console" and click the "Restore" button as shown below:

    [attachment=0:3j4opwtb]restore.png[/attachment:3j4opwtb]

    I don't know why but xUnit packages have a restore problem in VS 2013. Normally, it should restore when you first build. But, this Restore button will solve your problem.

    Have a nice day.

  • User Avatar
    0
    nipunjoshi created

    Hi, I have done that.But now it gives 49 errors as shown below (but now no reference errors as I mentioned on the above post).Could you tell me why ?

  • User Avatar
    0
    hikalkan created
    Support Team

    Try this:

    • Add Reference System.Runtime from C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5.2\Facades to the Test project.

    I don't know the exact reason, but after converting solution to .NET 4.5.2, this may occurs.

  • User Avatar
    0
    nipunjoshi created

    Yep,Thanks a lot.Now it works :)