Viewing .targets and .proj MSBuild files with ReSharper

I'm sure I posted about this before and got some sort of answer, but
searching, I can't find it, and so I'm going to bring it up again to see if
anyone has any advice, or if this is something future versions of ReSharper
(5.x) can support better.

I'm new to MSBuild, so I'm struggling to wrap my head around it all.  Add to
that our rather complicated build system (we have a full CI Build cascade of
Commit Builds, Component Builds, Deployment Builds, and Release Builds), and
I'd really like ReSharper to help me navigate around the files and such.

The problem is, I can't figure out a way to get ReSharper to recognize
anything.  I can put a bunch of files together in a solution as solution
items, along with our project that implements our custom build steps, and
ReSharper just seems to throw up its hands and mark everything in the
.targets files as undefined.

There are numerous errors of pre-defined things being undefined (like
"$(BinariesRoot)"), but even when we declare an identifier in an ItemGroup,
say, it is flagged as an error... "The element "ItemGroup" has an invalid
child element..."

How do I get ReSharper to recognize the TFSBuild.proj file and the related
blahblah.targets files are related, and get it to resolve the references
properly?  How do I get it to recognize our custom build steps so I can
easily navigate to their implementation from their references?

Any advice?  Any plans for better MSBuild support in future versions?


4 comments

Anyone have any thoughts, ideas, or input on this issue?

"Paul Bradshaw" <pbradshaw@advsol.com> wrote in message
news:he41bq$eqp$1@nntp-server.labs.intellij.net...

I'm sure I posted about this before and got some sort of answer, but
searching, I can't find it, and so I'm going to bring it up again to see
if anyone has any advice, or if this is something future versions of
ReSharper (5.x) can support better.

>

I'm new to MSBuild, so I'm struggling to wrap my head around it all.  Add
to that our rather complicated build system (we have a full CI Build
cascade of Commit Builds, Component Builds, Deployment Builds, and Release
Builds), and I'd really like ReSharper to help me navigate around the
files and such.

>

The problem is, I can't figure out a way to get ReSharper to recognize
anything.  I can put a bunch of files together in a solution as solution
items, along with our project that implements our custom build steps, and
ReSharper just seems to throw up its hands and mark everything in the
.targets files as undefined.

>

There are numerous errors of pre-defined things being undefined (like
"$(BinariesRoot)"), but even when we declare an identifier in an
ItemGroup, say, it is flagged as an error... "The element "ItemGroup" has
an invalid child element..."

>

How do I get ReSharper to recognize the TFSBuild.proj file and the related
blahblah.targets files are related, and get it to resolve the references
properly?  How do I get it to recognize our custom build steps so I can
easily navigate to their implementation from their references?

>

Any advice?  Any plans for better MSBuild support in future versions?

>


0

Hello Paul
     Which build of ReSharper are you using? Could you please attach a sample solution with your build files (or send it to andrew dot serebryansky at jetbrains dot com), so that we could investigate this problem? Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

I'm currently not at liberty to send our (rather complex) MS build files.

I guess my question is more of the sort... what does ReSharper need in order
to be able to resolve custom build steps references in MSBuild files?  I've
tried loading up our solution that has all our custom build steps in it, and
then just adding the MSBuild files as solution items, but that didn't help
at all.  I'm not sure how to get ReSharper to understand these files are
related.  Any advice?

"Andrey Serebryansky" <no_reply@jetbrains.com> wrote in message
news:12809323.57771259937606983.JavaMail.clearspace@app8.labs.intellij.net...

Hello Paul
Which build of ReSharper are you using? Could you please attach a sample
solution with your build files (or send it to andrew dot serebryansky at
jetbrains dot com), so that we could investigate this problem? Thank you!

>

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5251799#5251799


0

Oh yeah, I'm using Resharper 4.5 on VS2008.

"Andrey Serebryansky" <no_reply@jetbrains.com> wrote in message
news:12809323.57771259937606983.JavaMail.clearspace@app8.labs.intellij.net...

Hello Paul
Which build of ReSharper are you using? Could you please attach a sample
solution with your build files (or send it to andrew dot serebryansky at
jetbrains dot com), so that we could investigate this problem? Thank you!

>

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>

---
Original message URL:
http://www.jetbrains.net/devnet/message/5251799#5251799


0

Please sign in to leave a comment.