Hi,
I am creating a new solution using VNext and I am having trouble with refences to a VNext Class Library I created(That is in the same solution). I am able to add a reference to the project and the Reference shows in my ASP.NET project however when I try add a using statement to the controller the Namespace is not recognized. I am able to add a reference between two Class Libraries just not between a class library and a ASP.Net project. I have attached some code snippets from a test application where I am getting the same error. I am thinking that I have done something wrong because I cannot get it to work with a basic project.
Project Json snippet - (This loads into project with no issues)
{"version": "1.0.0-*","compilationOptions": {"emitEntryPoint": true },"dependencies": {"ATEST": "1.0.0-*",
In the Controller Class -
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Rendering; using Microsoft.Data.Entity; using Microsoft.Extensions.Logging; using TestApp.Models; using TestApp.Services; using TestApp.ViewModels.Account; using ATEST; // Cannot Resolve Symbol namespace TestApp.Controllers {
Am I missing something ? Does the class library need to be in a separate solution ?