-
Notifications
You must be signed in to change notification settings - Fork 429
The type 'Attribute' is defined in an assembly that is not referenced. #474
Comments
@Nathan-Ryan you might be running in to the same sort of issue as aspnet/Razor#1212. There's some guidance in aspnet/Razor#1212 (comment) for fixing this. |
@pranavkm Sounds like it could be the same issue, although I'm using MSTest and not xUnit. |
Perhaps |
I am having this issue as well. I am using MSTest and VS2017 15.3 with the .NET Core 2.0 Sdk with my net.core app targeting .NET Framework 4.6.1. I fixed it by adding this to the test project csproj
A |
|
Closing as the discussion seems to be resolved |
I'm encountering this error when using MSTest and the Microsoft.AspNetCore.TestHost. It all works fine until I call the TestServer to render a view.
I'm using VS2017 15.3 with the .NET Core 2.0 Sdk with my net.core app targeting .NET Framework 4.6.1.
Any advise on how I might fix this?
The text was updated successfully, but these errors were encountered: