Closed
Description
Using this at Razor Page markup @using Shared.Helpers
resolves as "App.Shared.Helpers" in Visual Studio and as "App.Pages.Shared.Helpers" with "dotnet build".
This causes such effects:
(some of them I can reproduce only on real project)
- Sometimes VS can build and run application, sometimes not.
- Sometimes VS shows error, sometimes not.
- Sometimes VS can run app with showing error, sometimes it can't run without error.
- Sometimes VS can build project, but can not launch it.
- "dotnet build" always show error.
Error is "The type or namespace name 'Helpers' does not exist in the namespace 'App.Pages.Shared' "
May be I use wrong using directive and it's VS issue.
.Net Core SDK: dotnet-sdk-2.1.300-win-x64
VisualStudio 15.7.2
TestApp.zip