IntelliSense Lives!!! Thanks for the replies. I had typed in the xmlns as I’d seen
many times but the problem ended up being that the namespace in the xsd did not
match the one I was typing in. Because of this the intellisense never worked.
I used the <nantschema> task and created my own xsd with the target
namespace that I had been trying to use (http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd.) This works great. I can
even see my custom and contrib. tasks in IntelliSense. Awesome! Thanks to Edwin and Bill for your help. Long live the NAnt Community!!! Matt Hulse From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Hi Matt, At a guess, the bit you
are probably missing is the schema reference in your .build file. You need to change
your <project> declaration to something like: <project
xmlns="http://nant.sf.net/schemas/nant-0.85.win32.net-1.0.xsd"
name="MyApp"
default="all"
basedir="."> Without this, Visual
Studio does not know which schema it needs to use to provide intellisense.
With it, you should get prompted with the valid xml elements for where you are
in your build script. HTH, Bill -----Original Message----- I read a lot about
“IntelliSense” and have followed the instructions posted in this
forum to attempt to use VS.Net 2003 with IntelliSense for editing .build
files. I am confused though about how it should work. When the word
IntelliSense is used, I am expecting more than syntax highlighting. Can
some degree of code completion / parameter listing / member listing be achieved
with .Net and NAnt build files? or am I misunderstanding the use of the term
IntelliSense. I ask this because by following the instructions in all of
the posts regarding Intellisense and build files I am no further ahead then if
I just use a text editor that supports syntax highlighting for XML. Could someone please
straighten me out? Thanks, Matt Hulse From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Boland, Craig All, Check
out this post for enabling IntelliSense in Visual Studio 2003 for NAnt build
files: http://dallas.sark.com/SarkBlog/cboland/archive/2004/09/13/381.aspx
|
- RE: [Nant-users] IntelliSense... Bassham, Charles
- RE: [Nant-users] Intelli... Matt Hulse
- RE: [Nant-users] Intelli... Curtis Zarger
- RE: [Nant-users] Intelli... Bassham, Charles
- RE: [Nant-users] Intelli... Castro, Edwin Gabriel (Firing Systems Engr.)