[237] MSBuild problems

Hello, i'v some bug reports for MSBuild support in R# :)

1) When i type "$(" and press Ctrl+Space, auto popup shows list of
available defined properties + MSBuild reserved properties. Is this R#
feature, is'n it ? Problem is that there is property
"MSBuildExtentionsPath" instead of (right) "MSBuildExtensionsPath"

2)
ContinueOnError attribute is underlined as unknown attribute even it is defined and valid for RemoveDir task.... 3) In this code snippet: Build ]]>
usage of property DefaultTarget is undelined - property is not defined.
Technically, it is correct but what is the point of that error message
when there is property definition right in the next line ? :)

4)
When i type "$(" and press Ctrl+Space outside of any element, exception
occurs (submited to tracker)
for example:
$( ]]>


Thanks
Michal Levy

3 comments
Comment actions Permalink

5) R# don't recognize task defined using ]]> in the imported
projects

Thanx
Michal


Michal Levy wrote:

Hello, i'v some bug reports for MSBuild support in R# :)

1) When i type "$(" and press Ctrl+Space, auto popup shows list of
available defined properties + MSBuild reserved properties. Is this R#
feature, is'n it ? Problem is that there is property
"MSBuildExtentionsPath" instead of (right) "MSBuildExtensionsPath"

2)
<Project DefaultTargets="Test"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="CleanReports">
<RemoveDir Directories="$(ReportsDirectory)"
ContinueOnError="true" />
</Target>
</Project>

ContinueOnError attribute is underlined as unknown attribute even it is
defined and valid for RemoveDir task....

3) In this code snippet:
<PropertyGroup Condition="'$(DefaultTarget)' == ''">
<DefaultTarget>Build</DefaultTarget>
</PropertyGroup>
usage of property DefaultTarget is undelined - property is not defined.
Technically, it is correct but what is the point of that error message
when there is property definition right in the next line ? :)

4)
When i type "$(" and press Ctrl+Space outside of any element, exception
occurs (submited to tracker)
for example:
<ItemGroup>
<Project Include=""/>
$(
</ItemGroup>


Thanks
Michal Levy

0
Comment actions Permalink

Hello Michal,

Thank you very much for reporting! We will fix these problems as soon as
possible. Could you please send me (Andrew.Serebryansky@jetbrains.com) a
sample file with ]]> directive and the assembly where the task is
defined?

Thanks,
Andrew Serebryansky

5) R# don't recognize task defined using <UsingTask> in the imported
projects

Thanx
Michal
Michal Levy wrote:

>> Hello, i'v some bug reports for MSBuild support in R# :)
>>
>> 1) When i type "$(" and press Ctrl+Space, auto popup shows list of
>> available defined properties + MSBuild reserved properties. Is this
>> R# feature, is'n it ? Problem is that there is property
>> "MSBuildExtentionsPath" instead of (right) "MSBuildExtensionsPath"
>>
>> 2)
>> > xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> >> >> > ContinueOnError="true" /> >> >> >> ContinueOnError attribute is underlined as unknown attribute even it >> is defined and valid for RemoveDir task.... >> >> 3) In this code snippet: >> >> Build >> >> usage of property DefaultTarget is undelined - property is not >> defined. >> Technically, it is correct but what is the point of that error >> message >>]]> when there is property definition right in the next line ? :)
>> 4)
>> When i type "$(" and press Ctrl+Space outside of any element,
>> exception
>> occurs (submited to tracker)
>> for example:
>> >> >> $( >> >> Thanks >>]]> Michal Levy


0
Comment actions Permalink

Hi Andrew,

a very good place to start is the following:

http://msbuildtasks.tigris.org/files/documents/3383/28296/MSBuild.Community.Tasks.msi

These are open source tasks. Including any of these does not get support from R# currently (build 464). If you would like some msbuild files with using these tasks, there are plenty in their repository: http://msbuildtasks.tigris.org/svn/msbuildtasks/trunk

As I am planning to develop some custom tasks myself, I am continuing this thread, if you don't mind. I plan to focus on database tasks first.

Is there anything I should pay attention to to get the best of R# support, as soon as this works ?

Thx.

0

Please sign in to leave a comment.