Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

VS.NET 2015 with Update 3, .NET Core 1.1.0 Razor Tag Helpers do not get colorization

$
0
0

Hi,
After upgrading my project to .NET Core 1.1.0, Razor Tag Helpers do not get colorization or special IntelliSense at design time.  They work normally at runtime.

global.json file:

{"projects": [ "src", "test" ],"sdk": {"version": "1.0.0-preview2-1-003177"
  }
}

project.json file:

{"buildOptions": {"emitEntryPoint": true,"preserveCompilationContext": true
  },"dependencies": {"BundlerMinifier.Core": "2.2.306","jQuery.UI.Combined": "1.12.1","Microsoft.ApplicationInsights.AspNetCore": "1.0.2","Microsoft.AspNetCore.Authentication.Cookies": "1.1.0","Microsoft.AspNetCore.Diagnostics": "1.1.0","Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.1.0","Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.1.0","Microsoft.AspNetCore.Mvc": "1.1.0","Microsoft.AspNetCore.Mvc.TagHelpers": "1.1.0","Microsoft.AspNetCore.Razor.Design": "1.1.0-preview4-final","Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final","Microsoft.AspNetCore.Server.IISIntegration": "1.1.0","Microsoft.AspNetCore.Server.Kestrel": "1.1.0","Microsoft.AspNetCore.Session": "1.1.0","Microsoft.AspNetCore.StaticFiles": "1.1.0","Microsoft.EntityFrameworkCore": "1.1.0","Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0","Microsoft.Extensions.Configuration.Json": "1.1.0","Microsoft.Extensions.Configuration.UserSecrets": "1.1.0","Microsoft.Extensions.Logging": "1.1.0","Microsoft.Extensions.Logging.Console": "1.1.0","Microsoft.Extensions.Logging.Debug": "1.1.0","Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0","Microsoft.NETCore.App": "1.1.0","Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0","Microsoft.VisualStudio.Web.CodeGeneration.Tools": "1.1.0-preview4-final","Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {"version": "1.1.0-preview4-final","type": "build"
    },"Newtonsoft.Json": "9.0.1","NonFactors.Grid.Mvc6": "1.3.0","Npgsql.EntityFrameworkCore.PostgreSQL": "1.1.0"
  },"frameworks": {"netcoreapp1.1": {"imports": ["dotnet5.6","portable-net45+win8"
      ]
    }
  },"publishOptions": {"include": ["wwwroot","Views","Areas/**/Views","appsettings.json","web.config"
    ]
  },"runtimeOptions": {"configProperties": {"System.GC.Server": true
    }
  },"runtimes": {"win10-x64": {}
  },"scripts": {"prepublish": [ "bower install", "dotnet bundle" ],"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  },"tools": {
  },"userSecretsId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

_ViewImports.cshtml :

@using iCRM_Web
@using iCRM_Web.Models
@using iCRM_Web.Models.AccountViewModels
@using iCRM_Web.Models.ManageViewModels
@using Microsoft.AspNetCore.Identity
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

@inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration

Any help will be much appreciated,

AG


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>