Skip to content

Instantly share code, notes, and snippets.

@pranavkm
Created June 6, 2016 19:47
Show Gist options
  • Save pranavkm/82fccb56b163cb13710b2cb83c779b4b to your computer and use it in GitHub Desktop.
Save pranavkm/82fccb56b163cb13710b2cb83c779b4b to your computer and use it in GitHub Desktop.
Error CS0122 'ViewBuffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'ObjectMethodExecutor' is less accessible than method 'ControllerActionExecutor.PrepareArguments(IDictionary<string, object>, ObjectMethodExecutor)' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'FormValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'JQueryFormValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'QueryStringValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6
Error CS0053 Inconsistent accessibility: property type 'PrefixContainer' is less accessible than property 'RouteValueProvider.PrefixContainer' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'ValidatorCache' is less accessible than method 'ValidationVisitor.ValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)' Microsoft.AspNetCore.Mvc.Core..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'ExpressionTextCache' is less accessible than method 'ExpressionHelper.GetExpressionText(LambdaExpression, ExpressionTextCache)' Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0050 Inconsistent accessibility: return type 'PagedBufferedTextWriter' is less accessible than method 'IViewBufferScope.CreateWriter(TextWriter)' Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'ViewComponentInvokerCache' is less accessible than method 'DefaultViewComponentInvoker.DefaultViewComponentInvoker(IViewComponentFactory, ViewComponentInvokerCache, DiagnosticSource, ILogger)' Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'ViewComponentInvokerCache' is less accessible than method 'DefaultViewComponentInvokerFactory.DefaultViewComponentInvokerFactory(IViewComponentFactory, ViewComponentInvokerCache, DiagnosticSource, ILoggerFactory)' Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ClientValidatorCache' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'ExpressionTextCache' is less accessible than method 'HtmlHelper<TModel>.HtmlHelper(IHtmlGenerator, ICompositeViewEngine, IModelMetadataProvider, IViewBufferScope, HtmlEncoder, UrlEncoder, ExpressionTextCache)' Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ViewBuffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ViewBufferTextWriter' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0051 Inconsistent accessibility: parameter type 'IReadOnlyList<ModeAttributes<TMode>>' is less accessible than method 'AttributeMatcher.TryDetermineMode<TMode>(TagHelperContext, IReadOnlyList<ModeAttributes<TMode>>, Func<TMode, TMode, int>, out TMode)' Microsoft.AspNetCore.Mvc.TagHelpers..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.TagHelpers..NETStandard,Version=v1.6
Error CS0053 Inconsistent accessibility: property type 'GlobbingUrlBuilder' is less accessible than property 'LinkTagHelper.GlobbingUrlBuilder' Microsoft.AspNetCore.Mvc.TagHelpers..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.TagHelpers..NETStandard,Version=v1.6
Error CS0122 'DefaultClientModelValidatorProvider' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'DataAnnotationsClientModelValidatorProvider' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'NumericClientModelValidatorProvider' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor.MethodReturnType' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor.IsMethodAsync' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor.TaskGenericType' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor.Execute(object, object[])' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor.ExecuteAsync(object, object[])' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ObjectMethodExecutor' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ClientValidatorCache.GetValidators(ModelMetadata, IClientModelValidatorProvider)' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ViewFeatures..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ViewFeatures..NETStandard,Version=v1.6
Error CS0122 'ViewBuffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ViewBufferTextWriter' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ViewBufferTextWriter.IsBuffering' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ViewBufferTextWriter.Buffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ViewBufferTextWriter.Buffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'IViewBufferScope.CreateWriter(TextWriter)' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ViewBufferTextWriter.Buffer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Razor..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Razor..NETStandard,Version=v1.6
Error CS0122 'ApiDescriptionActionData' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ApiExplorer..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ApiExplorer..NETStandard,Version=v1.6
Error CS0122 'ApiDescriptionActionData.GroupName' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ApiExplorer..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ApiExplorer..NETStandard,Version=v1.6
Error CS0122 'HttpMethodActionConstraint' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ApiExplorer..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ApiExplorer..NETStandard,Version=v1.6
Error CS0122 'HttpMethodActionConstraint.HttpMethods' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.ApiExplorer..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.ApiExplorer..NETStandard,Version=v1.6
Error CS0122 'TemplateRenderer' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.TagHelpers..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.TagHelpers..NETStandard,Version=v1.6
Error CS0122 'MvcBuilder' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc..NETStandard,Version=v1.6
Error CS0122 'NonDisposableStream' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.Formatters.Xml..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.Formatters.Xml..NETStandard,Version=v1.6
Error CS0122 'HttpMethodActionConstraint' is inaccessible due to its protection level Microsoft.AspNetCore.Mvc.WebApiCompatShim..NET Framework 4.5.1, Microsoft.AspNetCore.Mvc.WebApiCompatShim..NETStandard,Version=v1.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment