AnantLabs / dirigo-edge

Automatically exported from code.google.com/p/dirigo-edge
0 stars 0 forks source link

Multiple warnings and fatal errors with fresh template. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load new Dirigo Edge Template in Visual Studio 2012 Ultimate (Update 3)
2. Press F5 (IIS Express 8, Firefox)

What is the expected output? What do you see instead?

Expected: Website should run.

Actual: 

Warning 1   The 'packages' element is not 
declared.   c:\users\{user}\documents\visual studio 
2012\Projects\DirigoEdge1\DirigoEdge1\packages.config   2   2   DirigoEdge1

Warning 2   'DirigoEdge1.Controllers.BlogController.User(string)' hides inherited 
member 'System.Web.Mvc.Controller.User'. Use the new keyword if hiding was 
intended.   c:\users\{user}\documents\visual studio 
2012\Projects\DirigoEdge1\DirigoEdge1\Controllers\BlogController.cs 34  29  Dirigo
Edge1

Warning 3   The variable 'e' is declared but never 
used    c:\users\apache\documents\visual studio 
2012\Projects\DirigoEdge1\DirigoEdge1\Controllers\HomeController.cs 107 34  Dirig
oEdge1

Warning 4   Could not resolve this reference. Could not locate the assembly 
"Newtonsoft.Json". Check to make sure the assembly exists on disk. If this 
reference is required by your code, you may get compilation errors. DirigoEdge1

Warning 5   Could not resolve this reference. Could not locate the assembly 
"System.Web.Providers". Check to make sure the assembly exists on disk. If this 
reference is required by your code, you may get compilation errors. DirigoEdge1

Warning 6   The referenced component 'System.Web.Providers' could not be found. 
    DirigoEdge1

Warning 7   The referenced component 'Newtonsoft.Json' could not be found. 
    DirigoEdge1

What version of the product are you using? On what operating system?

Microsoft Windows 7 Ultimate Edition
Microsoft Visual Studio 2012 Ultimate (Update 3)
Dirigo Edge 0.8 (Via "New Project" direct download)

Please provide any additional information below.

Warning 4 becomes fatal once the website starts to load. Nuget says there are 
no updates available for any packages.

Original issue reported on code.google.com by apachel...@gmail.com on 9 Sep 2013 at 4:36

GoogleCodeExporter commented 9 years ago
Newtonsoft.Json is a Nuget Package. This is typically downloaded for you 
automatically when you build the application, as specified in packages.config. 
If it is not, you'll need to install it manually, or turn on automatic package 
download in Visual Studio.

To enable automatic package updates, just right click on your solution / 
project and click "Enable NuGet Package Restore". That should solve the above 
package errors.

To install manually, just open up your package manager console and run : 
"Install-Package Newtonsoft.Json" (no quotes). You can install any Nuget 
packages this way.

Original comment by nuoni...@gmail.com on 20 Nov 2013 at 8:51

GoogleCodeExporter commented 9 years ago
Actually this seems to be your root issue : 
http://stackoverflow.com/questions/7684398/the-packages-element-is-not-declared

Original comment by nuoni...@gmail.com on 20 Nov 2013 at 8:56