addtaghelper does not exists in the current context

Hi,

I followed the install procedure


But there is way VS2017 recognize the tag in _ViewImports.cshtml

@addTagHelper *, Syncfusion.EJ2

The addTagHelper mark not exists in the current context. 





thank you,

Carlos

3 Replies

JA Jesus Arockia Sankaran S Syncfusion Team April 2, 2020 03:52 PM UTC

Hi Carlos, 

Thanks for contacting Syncfusion support.  

Sorry for the inconvenience. We have investigated the reported issue and we are not able to reproduce it in our end. Also, we have prepared a sample and we request you to run the sample then report back if you still face the same issue in this sample.  

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/CoreApplication-937848262 

We request you to share the below details if you still experience the same problem. 

  1. Syncfusion nuget package version.
  2. ASP.NET Core SDK version
  3. Visual Studio 2017 version

Please get back to us with requested details and further query if any. 
 
Regards, 
Jesus Arockia Sankaran S 



CA Carlos April 2, 2020 04:34 PM UTC

Jesus,

your sample works, no problem. My project do not have wwwroot, below the answers:


    1. Syncfusion nuget package version 
    Syncfusion.EJ2.AspNet.Core" version="18.1.0.42" targetFramework="net461"
  1. ASP.NET Core SDK version

C:\Users\cap>dotnet --info
SDK do .NET Core (refletindo qualquer global.json):
 Version:   2.1.604
 Commit:    c174d0ea92

Ambiente de tempo de execução:
 OS Name:     Windows
 OS Version:  10.0.18362
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.604\

Host (useful for support):
  Version: 2.1.15
  Commit:  d43032d4d9

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.507 [C:\Program Files\dotnet\sdk]
  2.1.508 [C:\Program Files\dotnet\sdk]
  2.1.509 [C:\Program Files\dotnet\sdk]
  2.1.511 [C:\Program Files\dotnet\sdk]
  2.1.604 [C:\Program Files\dotnet\sdk]

3. Visual Studio 2017 version

Microsoft Visual Studio Community 2017 
Versão 15.9.20
VisualStudio.15.Release/15.9.20+28307.1033
Microsoft .NET Framework
Versão 4.8.03752

Versão Instalada: Community

Visual C++ 2017   00369-60000-00001-AA735
Microsoft Visual C++ 201

Thank you,

Carlos


JA Jesus Arockia Sankaran S Syncfusion Team April 7, 2020 12:49 PM UTC

Hi Carlos, 

Thanks for the shared information. 

From the information provided, we suspect that you are looking for ASP.NET MVC platform since ASP.NET Core applications could not be created without “wwwroot” directory. Hence, we request you to refer the below documentation to create ASP.NET MVC projects.  


We also request you to report back if we have misunderstood your requirement.  

Please get back to us if you need further assistance on this. 

Regards, 
Jesus Arockia Sankaran S 


Loader.
Up arrow icon