NAnt Intellisense in VS2010

"MacDiarmid, James D." <[email protected]> Fri, 21 Jun 2013 09:24:57 -0400
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <F7A8C27240D1154593A0F16214BF0BBD0934AFC8@0015-its-exmb14.us.saic.com>
This is a multi-part message in MIME format.

--===============7946070222796750076==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CE6E82.B923B6D1"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CE6E82.B923B6D1
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,

=20

I have NAnt set up to use intellisense in VS2010.  It works as expected
however I'm getting a Blue Tilde (Something like this "~" )  appearing
after the closing task bracket.  It shows a warning as follows: =20

=20

1.       The element cannot contain white space. Content model is empty.

=20

I'm getting this:

1.       After the closing bracket for the <try> element in the
<TryCatch> task.

2.       After the closing bracket for the <finally> element in the
<TryCatch> task.

3.       After the closing bracket of the comment syntax "<!-comment
-->" .

4.       After the closing bracket for the <when> element in the
<choose> task.

5.       After the closing bracket for the <otherwise> element in the
<choose> task.

6.       =20

=20

I'm also getting warnings like the following.   Any idea what would
cause this and/or how to fix them, if it's on my end?

=20

"The element 'http://nant.sf.net/release/0.92/nant.xsd:try' cannot
contain child element 'http://nant.sf.net/release/0.92/nant.xsd:call'
because the parent element's content model is empty."

=20

"The element 'http://nant.sf.net/release/0.92/nant.xsd:when' cannot
contain child element
'http://nant.sf.net/release/0.92/nant.xsd:property' because the parent
element's content model is empty."

=20

"The element 'http://nant.sf.net/release/0.92/nant.xsd:otherwise' cannot
contain child element 'http://nant.sf.net/release/0.92/nant.xsd:fail'
because the parent element's content model is empty."

=20

"The element 'target' in namespace
'http://nant.sf.net/release/0.92/nant.xsd' has invalid child element
'UpdateAssemblyVersion' in namespace
'http://nant.sf.net/release/0.92/nant.xsd'. List of possible elements
expected: 'gunzip, tar, untar, unzip, zip, testtask, elementTest1, test,
asminfo, al, csc, delay-sign, ilasm, jsc, license, ndoc, regsvcs,
resgen, script, vbc, vjc, nunit, nunit2, cvs-changelog, cvs-checkout,
cvs-pass, cvs, cvs-export, cvs-rtag, cvs-tag, cvs-update, cl, lib, link,
mc, midl, rc, solution, aximp, locatesdk, monoregistry, readregistry,
regasm, tlbexp, tlbimp, attrib, available, call, choose, copy, delete,
description, echo, exec, fail, get, if, ifnot, include, loadfile,
loadtasks, foreach, mail, mkdir, move, nantschema, nant, property,
regex, setenv, sleep, style, sysinfo, touch, trycatch, tstamp, uptodate,
xmlpeek, xmlpoke, ildasm, servicecontroller, tarfileset, zipfileset,
assemblyfileset, moduleset, namespaceimports, resourcefileset,
warnaserror, categories, cvsfileset, filterchain, credential, fileset,
dirset, path, patternset, proxy' in namespace
'http://nant.sf.net/release/0.92/nant.xsd' as well as any element in
namespace '##other'."

=20

The element 'filterchain' in namespace
'http://nant.sf.net/release/0.92/nant.xsd' has invalid child element
'replacetokens' in namespace 'http://nant.sf.net/release/0.92/nant.xsd'.
List of possible elements expected: 'filter' in namespace
'http://nant.sf.net/release/0.92/nant.xsd'.
C:\Workspaces\AHLTA\3.8.0\Build\Packages\TFS\SourceControl.Target.xml

=20


------_=_NextPart_001_01CE6E82.B923B6D1
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1884707117;
	mso-list-type:hybrid;
	mso-list-template-ids:948445208 -382164848 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:1.25in;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:1.75in;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.25in;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:2.75in;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:3.25in;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:3.75in;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:4.25in;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	margin-left:4.75in;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:2002811844;
	mso-list-type:hybrid;
	mso-list-template-ids:45123738 67698703 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hi =
all,<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>I have NAnt set up to use intellisense in =
VS2010.&nbsp; It works as expected however I&#8217;m getting a Blue =
Tilde (Something like this &#8220;~&#8221; )&nbsp; appearing after the =
closing task bracket.&nbsp; It shows a warning as follows: =
&nbsp;<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l1 level1 =
lfo2'><![if !supportLists]><span style=3D'mso-list:Ignore'>1.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>The =
element cannot contain white space. Content model is =
empty.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>I&#8217;m getting this:<o:p></o:p></p><p =
class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>1.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span><![endif]>After the closing bracket for the &lt;try&gt; =
element in the &lt;TryCatch&gt; task.<o:p></o:p></p><p =
class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>2.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span><![endif]>After the closing bracket for the =
&lt;finally&gt; element in the &lt;TryCatch&gt; task.<o:p></o:p></p><p =
class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>3.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span><![endif]>After the closing bracket of the comment syntax =
&#8220;&lt;!&#8212;comment --&gt;&#8221; .<o:p></o:p></p><p =
class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>4.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span><![endif]>After the closing bracket for the &lt;when&gt; =
element in the &lt;choose&gt; task.<o:p></o:p></p><p =
class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>5.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span><![endif]>After the closing bracket for the =
&lt;otherwise&gt; element in the &lt;choose&gt; task.<o:p></o:p></p><p =
class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 =
lfo1'><![if !supportLists]><span style=3D'mso-list:Ignore'>6.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span><![endif]><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;m =
also getting warnings like the following.&nbsp;&nbsp; Any idea what =
would cause this and/or how to fix them, if it&#8217;s on my =
end?<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal style=3D'text-autospace:none'>&#8220;The element =
&#8216;<span =
style=3D'font-size:9.5pt;font-family:Consolas;color:blue'>http://nant.sf.=
net/release/0.92/nant.xsd</span><span =
style=3D'font-size:9.5pt;font-family:Consolas'>:try&#8217; cannot =
contain child element </span>&#8216;<span =
style=3D'font-size:9.5pt;font-family:Consolas;color:blue'>http://nant.sf.=
net/release/0.92/nant.xsd</span><span =
style=3D'font-size:9.5pt;font-family:Consolas'>:call&#8217; because the =
parent element&#8217;s content model is =
empty.&#8221;<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal =
style=3D'text-autospace:none'>&#8220;The element &#8216;<span =
style=3D'font-size:9.5pt;font-family:Consolas;color:blue'>http://nant.sf.=
net/release/0.92/nant.xsd</span><span =
style=3D'font-size:9.5pt;font-family:Consolas'>:when&#8217; cannot =
contain child element </span>&#8216;<span =
style=3D'font-size:9.5pt;font-family:Consolas;color:blue'>http://nant.sf.=
net/release/0.92/nant.xsd</span><span =
style=3D'font-size:9.5pt;font-family:Consolas'>:property&#8217; because =
the parent element&#8217;s content model is =
empty.&#8221;<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal =
style=3D'text-autospace:none'>&#8220;The element &#8216;<span =
style=3D'font-size:9.5pt;font-family:Consolas;color:blue'>http://nant.sf.=
net/release/0.92/nant.xsd</span><span =
style=3D'font-size:9.5pt;font-family:Consolas'>:otherwise&#8217; cannot =
contain child element </span>&#8216;<span =
style=3D'font-size:9.5pt;font-family:Consolas;color:blue'>http://nant.sf.=
net/release/0.92/nant.xsd</span><span =
style=3D'font-size:9.5pt;font-family:Consolas'>:fail&#8217; because the =
parent element&#8217;s content model is =
empty.&#8221;<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>&#8220;The =
element 'target' in namespace 'http://nant.sf.net/release/0.92/nant.xsd' =
has invalid child element 'UpdateAssemblyVersion' in namespace =
'http://nant.sf.net/release/0.92/nant.xsd'. List of possible elements =
expected: 'gunzip, tar, untar, unzip, zip, testtask, elementTest1, test, =
asminfo, al, csc, delay-sign, ilasm, jsc, license, ndoc, regsvcs, =
resgen, script, vbc, vjc, nunit, nunit2, cvs-changelog, cvs-checkout, =
cvs-pass, cvs, cvs-export, cvs-rtag, cvs-tag, cvs-update, cl, lib, link, =
mc, midl, rc, solution, aximp, locatesdk, monoregistry, readregistry, =
regasm, tlbexp, tlbimp, attrib, available, call, choose, copy, delete, =
description, echo, exec, fail, get, if, ifnot, include, loadfile, =
loadtasks, foreach, mail, mkdir, move, nantschema, nant, property, =
regex, setenv, sleep, style, sysinfo, touch, trycatch, tstamp, uptodate, =
xmlpeek, xmlpoke, ildasm, servicecontroller, tarfileset, zipfileset, =
assemblyfileset, moduleset, namespaceimports, resourcefileset, =
warnaserror, categories, cvsfileset, filterchain, credential, fileset, =
dirset, path, patternset, proxy' in namespace =
'http://nant.sf.net/release/0.92/nant.xsd' as well as any element in =
namespace '##other'.&#8221;<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The element =
'filterchain' in namespace 'http://nant.sf.net/release/0.92/nant.xsd' =
has invalid child element 'replacetokens' in namespace =
'http://nant.sf.net/release/0.92/nant.xsd'. List of possible elements =
expected: 'filter' in namespace =
'http://nant.sf.net/release/0.92/nant.xsd'.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; =
C:\Workspaces\AHLTA\3.8.0\Build\Packages\TFS\SourceControl.Target.xml<o:p=
></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------_=_NextPart_001_01CE6E82.B923B6D1--


--===============7946070222796750076==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
--===============7946070222796750076==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

--===============7946070222796750076==--