NAnt Script Detection

My NAnt scripts are not being recognized by Resharper. In other words, I get no intellisense or anything related to the build script. The documentation says that the detection is automatic, but it doesn't describe how it determines if it's a build script. What is it looking for?

5 comments
Comment actions Permalink

Hello SuperJason,

what extension do your NAnt scripts have? And are they included into your
projects and solutions?


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

My NAnt scripts are not being recognized by Resharper. In other
words, I get no intellisense or anything related to the build script.
The documentation says that the detection is automatic, but it doesn't
describe how it determines if it's a build script. What is it looking
for?



0
Comment actions Permalink

They are .build files. They are not included in any project or solution.

I did try adding them to a solution, and it looks like it works now. I recommend adding support for opening them individually, or at least put a note in the documentation. I had no idea what was going on.

0
Comment actions Permalink

Could you please clarify how did you open them when it didn't work (i.e.
what you mean by 'opening them individually')?

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

They are .build files. They are not included in any project or
solution.

I did try adding them to a solution, and it looks like it works now.
I recommend adding support for opening them individually, or at least
put a note in the documentation. I had no idea what was going on.



0
Comment actions Permalink

Maybe by drag and drop to already opened VS.NET ?
I know that this works fine for msbuild files....

Michal Levy

Dmitry Shaporenkov (JetBrains) wrote:

Could you please clarify how did you open them when it didn't work (i.e.
what you mean by 'opening them individually')?

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> They are .build files. They are not included in any project or
>> solution.
>>
>> I did try adding them to a solution, and it looks like it works now.
>> I recommend adding support for opening them individually, or at least
>> put a note in the documentation. I had no idea what was going on.
>>


0
Comment actions Permalink

I have .Build files associated with Visual Studio, and I just double click on one. I used to just have the xmlns attribute set, and that would give me some intellisense.

0

Please sign in to leave a comment.