faib920 / zero Goto Github PK
View Code? Open in Web Editor NEWFireasy zero sample, contains asp.net mvc5 and asp.net core two examples.
Fireasy zero sample, contains asp.net mvc5 and asp.net core two examples.
I have this errors on .net core project
An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately.
Generated Code
The type 'RazorViewAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
[assembly:global::Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute(@"/Views/Login/Index.cshtml", typeof(AspNetCore.Views_Login_Index))]
The type 'RazorPage<TModel>' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
public class Views_Login_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
'Views_Login_Index.ExecuteAsync()': no suitable method found to override
public async override global::System.Threading.Tasks.Task ExecuteAsync()
The type 'UrlResolutionTagHelper' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
The type 'RazorInjectAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
The type 'RazorInjectAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
The type 'RazorInjectAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
The type 'RazorInjectAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
The type 'RazorInjectAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
The name 'StartTagHelperWritingScope' does not exist in the current context
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
The name 'EndTagHelperWritingScope' does not exist in the current context
__backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
The name 'BeginContext' does not exist in the current context
EndContext();
The name 'WriteLiteral' does not exist in the current context
BeginContext(35, 76, false);
The name 'EndContext' does not exist in the current context
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4fe409546b1a405181f1b9f306b00b61", async() => {
The name 'BeginContext' does not exist in the current context
}
The type 'UrlResolutionTagHelper' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
The name 'CreateTagHelper' does not exist in the current context
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
The name 'Write' does not exist in the current context
EndContext();
The name 'EndContext' does not exist in the current context
WriteLiteral("\n");
The name 'BeginContext' does not exist in the current context
EndContext();
The name 'WriteLiteral' does not exist in the current context
BeginContext(112, 65, false);
The name 'EndContext' does not exist in the current context
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e555a4eba894f3094a4e53cf1c003e8", async() => {
The name 'BeginContext' does not exist in the current context
}
The type 'UrlResolutionTagHelper' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
The name 'CreateTagHelper' does not exist in the current context
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
The name 'Write' does not exist in the current context
EndContext();
The name 'EndContext' does not exist in the current context
WriteLiteral("\n");
The name 'BeginContext' does not exist in the current context
EndContext();
The name 'WriteLiteral' does not exist in the current context
BeginContext(178, 81, false);
The name 'EndContext' does not exist in the current context
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5e97ef9730d644be943ec43261bbaa77", async() => {
The name 'BeginContext' does not exist in the current context
}
The type 'UrlResolutionTagHelper' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=2.1.3.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
The name 'CreateTagHelper' does not exist in the current context
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
The name 'Write' does not exist in the current context
EndContext();
The name 'EndContext' does not exist in the current context
WriteLiteral(@"
<script language=""javascript"">
$(function () {
$('.systemlogo').css({ 'position': 'absolute', 'top': (($(window).height() - 560) / 2) - 180 });
$('.loginbox').css({ 'position': 'absolute', 'left': ($(window).width() - 692) / 2, 'top': ($(window).height() - 560) / 2 });
$(window).resize(function () {
$('.systemlogo').css({ 'position': 'absolute', 'top': (($(window).height() - 560) / 2) - 180 });
$('.loginbox').css({ 'position': 'absolute', 'left': ($(window).width() - 692) / 2, 'top': ($(window).height() - 560) / 2 });
})
});
</script>
<div id=""mainBody"">
<div id=""cloud1"" class=""cloud""></div>
<div id=""cloud2"" class=""cloud""></div>
</div>
<div class=""logintop"">
<span>Fireasy Zero</span>
<ul>
<li><a href=""#"">帮助</a></li>
<li><a href=""#"">关于</a></li>
</ul>
</div>
<div class=""loginbody"">
<span class=""systemlogo""></span>
<div class=""loginbox"">
<ul>
<li class=""form_control"">
");
The name 'BeginContext' does not exist in the current context
WriteLiteral("<input id=\"account\" type=\"text\" class=\"loginuser required\" placeholder=\"帐号或手机号\"");
The name 'WriteLiteral' does not exist in the current context
EndContext();
The name 'WriteLiteral' does not exist in the current context
WriteLiteral(" Fireasy, All Rights Reserved.</div>\n");
The name 'EndContext' does not exist in the current context
EndContext();
The name 'BeginWriteAttribute' does not exist in the current context
BeginContext(2298, 23, false);
The name 'EndWriteAttribute' does not exist in the current context
EndContext();
The name 'BeginContext' does not exist in the current context
BeginContext(2321, 106, true);
The name 'WriteLiteral' does not exist in the current context
WriteLiteral("\n<script type=\"text/javascript\">\n $(function () {\n $(\'#valcode\').verifyCode({\n url: \'");
The name 'EndContext' does not exist in the current context
EndContext();
The name 'BeginWriteAttribute' does not exist in the current context
BeginContext(2428, 30, false);
The name 'EndWriteAttribute' does not exist in the current context
EndContext();
The name 'BeginContext' does not exist in the current context
BeginContext(2458, 29, true);
The name 'WriteLiteral' does not exist in the current context
WriteLiteral("\',\n validateUrl: \'");
The name 'EndContext' does not exist in the current context
BeginContext(3802, 24, false);
The name 'BeginContext' does not exist in the current context
#line 112 "I:\temp\zero-master\src\Fireasy.Zero.AspNetCore\Views\Login\Index.cshtml"
The name 'EndContext' does not exist in the current context
BeginContext(3826, 121, true);
The name 'BeginContext' does not exist in the current context
WriteLiteral("\', postData, function (result) {\n common.processResult(result, function () {\n location.href = \'");
The name 'WriteLiteral' does not exist in the current context
EndContext();
The name 'EndContext' does not exist in the current context
BeginContext(3948, 27, false);
The name 'BeginContext' does not exist in the current context
#line 114 "I:\temp\zero-master\src\Fireasy.Zero.AspNetCore\Views\Login\Index.cshtml"
The name 'EndContext' does not exist in the current context
BeginContext(3975, 70, true);
The name 'BeginContext' does not exist in the current context
WriteLiteral("\';\n });\n });\n\n return false;\n }\n</script>\n");
The name 'WriteLiteral' does not exist in the current context
EndContext();
The name 'EndContext' does not exist in the current context
}
The name 'BeginContext' does not exist in the current context
#pragma warning restore 1998
The name 'EndContext' does not exist in the current context
public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
The name 'BeginContext' does not exist in the current context
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
The name 'WriteLiteral' does not exist in the current context
public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
The name 'EndContext' does not exist in the current context
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
The name 'BeginContext' does not exist in the current context
public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<dynamic> Html { get; private set; }
The name 'EndContext' does not exist in the current context
The name 'BeginContext' does not exist in the current context
The name 'WriteLiteral' does not exist in the current context
The name 'WriteLiteral' does not exist in the current context
The name 'EndContext' does not exist in the current context
The name 'BeginContext' does not exist in the current context
The name 'EndContext' does not exist in the current context
The name 'BeginContext' does not exist in the current context
The name 'WriteLiteral' does not exist in the current context
The name 'EndContext' does not exist in the current context
The name 'BeginContext' does not exist in the current context
The name 'EndContext' does not exist in the current context
The name 'BeginContext' does not exist in the current context
The name 'WriteLiteral' does not exist in the current context
The name 'EndContext' does not exist in the current context
I:\temp\zero-master\src\Fireasy.Zero.AspNetCore\Views\Login\Index.cshtml
The name 'ViewBag' does not exist in the current context
The name 'WriteAttributeValue' does not exist in the current context
The name 'ViewBag' does not exist in the current context
The name 'WriteAttributeValue' does not exist in the current context
The name 'ViewBag' does not exist in the current context
The name 'Write' does not exist in the current context
The name 'Write' does not exist in the current context
The name 'Write' does not exist in the current context
The name 'Write' does not exist in the current context
The name 'Write' does not exist in the current context
The name 'Write' does not exist in the current context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.