You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Need to fill out the rest of the .deps.json information #12
When the deps.json is replaced with the deps.json from project.json based dotnet build, and the rest of the artifacts are left alone, this error does not appear.
An unhandled exception has occurred: One or more compilation failures occurred:
/Views/_ViewImports.cshtml(1,7): error CS0246: The type or namespace name 'WebApplication' could not be found (are you missing a using directive or an assembly reference?)
/Views/_ViewImports.cshtml(2,7): error CS0246: The type or namespace name 'WebApplication' could not be found (are you missing a using directive or an assembly reference?)
/Views/_ViewImports.cshtml(3,7): error CS0246: The type or namespace name 'WebApplication' could not be found (are you missing a using directive or an assembly reference?)
/Views/_ViewImports.cshtml(4,7): error CS0246: The type or namespace name 'WebApplication' could not be found (are you missing a using directive or an assembly reference?)
/Views/_ViewImports.cshtml(5,28): error CS0234: The type or namespace name 'Identity' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?)
q3jxwj1v.aqn(34,11): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
...
/Views/Home/Index.cshtml(2,14): error CS0518: Predefined type 'System.String' is not defined or imported
/Views/Home/Index.cshtml(2,25): error CS0518: Predefined type 'System.String' is not defined or imported
at Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationResult.EnsureSuccessful()
at Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.CreateCacheEntry(String relativePath, String normalizedPath, Func`2 compile)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Razor.Internal.CompilerCache.GetOrAdd(String relativePath, Func`2 compile)
This is probably caused by not having PreserveCompilationContext implemented yet. See #11.
Activity
brthor commentedon Aug 26, 2016
Something about the new deps.json is causing the error in the attached gist in migrated
dotnet new -t webapps.https://gist.github.com/brthor/7270ce19780c8d487e6ff4dc9b457a2f
When the deps.json is replaced with the deps.json from project.json based
dotnet build, and the rest of the artifacts are left alone, this error does not appear.eerhardt commentedon Aug 26, 2016
Looking at the errors in that gist:
This is probably caused by not having PreserveCompilationContext implemented yet. See #11.
Merge pull request dotnet#12 from aspnet/Rename
Apply code review feedback: shared workflows, runtime commands, globa…
Apply Round 2 code review feedback
Apply Round 3 code review feedback