Not working #21
Replies: 6 comments
-
There is a known issue if you create the project more than one folder level away from the root folder where the solution lives. The problem occurs because the HintPath's in the .csproj file which point to the NuGet packages folder become incorrect. It's pretty easy to edit the .csproj and put in one or more extra '..' to fix the file paths. Unfortunately, there is not much I can do about that issue, there is a fix coming from SideWaffle (The method used to create the project template) which will fix the HintPath's when the project is created. Not sure when the fix come online but this issue does not affect most users and the fix is simply to create a project one level away from the solution or edit the HintPath's. Hope That Helps. I'll leave this issue here for others to see. |
Beta Was this translation helpful? Give feedback.
-
I created new project on E: root but again same error Error 32 The type or namespace name 'Boilerplate' could not be found (are you missing a using directive or an assembly reference?) E:\WebProject1\App_Start\FilterConfig.cs 5 11 WebProject1 please suggest what to do next since project is almost on E Drive root |
Beta Was this translation helpful? Give feedback.
-
I think you have misunderstood me. Fix 1
Fix 2Edit the .csproj file You will see lots of HintPath's like this:
Notice the |
Beta Was this translation helpful? Give feedback.
-
Tried both the options but none of them worked for me. Tried on E Drive root so in short tried all 4 permutation combination but project failed to build. please attach working blank solution at your end. |
Beta Was this translation helpful? Give feedback.
-
Take a look here for a working sample: https://github.com/RehanSaeed/ASP.NET-MVC-Boilerplate/tree/master/Samples If this is not working for you, something is definitely wrong with your installation. Have you updated the NuGet extension? |
Beta Was this translation helpful? Give feedback.
-
Solution zipped in the the given link worked perfectly in my machine. |
Beta Was this translation helpful? Give feedback.
-
I am using VS2013 Professional
after downloading latest via NUGET package there are 71 error & 51 warnings
Most of the error is
Error 35 The type or namespace name 'Boilerplate' could not be found (are you missing a using directive or an assembly reference?) c:\users\anand.keyline\documents\visual studio 2013\Projects\WebProject2\Services\Sitemap\SitemapService.cs 6 11 WebProject2
Error 38 The type or namespace name 'Autofac' could not be found (are you missing a using directive or an assembly reference?) c:\users\anand.keyline\documents\visual studio 2013\Projects\WebProject2\App_Start\Startup.Container.cs 6 11 WebProject2
Error 85 The type or namespace name 'SitemapNode' could not be found (are you missing a using directive or an assembly reference?) c:\users\anand.keyline\documents\visual studio 2013\Projects\WebProject2\Services\Sitemap\SitemapService.cs 85 47 WebProject2
Beta Was this translation helpful? Give feedback.
All reactions