12 Ekim 2018 Cuma

Could not add application insights to project.

If you get the following error when you try to add Applicition Insights Service to your web Application, make sure that your app's web.config file has the encoding attribute in the xml node
<?xml version="1.0" encoding="utf-8"?>

ERROR
System.IO.InvalidDataException:
An error occurred while applying transformation to 'web.config' in project 'YnaWebApp' No element in the source document matches '/configuration/system.web'
---> Microsoft.Web.XmlTransform.XmlNodeException: No element in the source document matches '/configuration/system.web'
at Microsoft.Web.XmlTransform.XmlTransformationLogger.LogErrorFromException(Exception ex)
at Microsoft.Web.XmlTransform.XmlTransformation.Apply(XmlDocument xmlTarget)
at NuGet.ProjectManagement.XdtTransformer.<PerformXdtTransformAsync>d__2.MoveNext()

Hiç yorum yok:

Yorum Gönder