Hi,
Given the following template:
I get the following exception message: Compiling transformation: XML literals and XML axis properties are not available. Add references to System.Xml, System.Xml.Linq and System.Core.
I have clearly done this, but it doesn't help.
<#@ template language="VBv3.5"#>
<#@ import namespace="System.Collections.Generic"#>
<#@ import namespace="System.Xml"#>
<#@ import namespace="System.Core"#>
<#@ import namespace="System.Xml.Linq"#>
<#
CodeBlockTemplate.o = _
<?xml version="1.0"?>
<properties>
<property name="Testing"/>
</properties>
#>
<#+
Public Class CodeBlockTemplate
inherits Microsoft.VisualStudio.TextTemplating.TextTransformation
Public Shared o as Object
Public Overrides Function TransformText() as String
Return "Testing"
End Function
End Class
#>