History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-32885
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Andrew Serebryansky
Reporter: Brennan Stehling
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

MSBuild Imports not working

Created: 02 Dec 06 00:34   Updated: 14 Dec 06 17:48
Component/s: None
Fix Version/s: 2.5.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 312
Fixed in build: 327


 Description  « Hide
In my build script I have the following line.

 All   Comments   Work Log   Change History      Sort Order:
Brennan Stehling - 02 Dec 06 00:35
<Import Project="$(MSBuildExtensionsPath)\MSBuildCommunityTasks\MSBuild.Community.Tasks.Targets" />

<Zip Files="@(ZipFiles)" ZipFileName="$(ZipFilename)" WorkingDirectory="$(WorkingDirectory)" />

ReSharper thinks the Zip task is not defined. But it is and works with the MSBuild utility.


Andrew Serebryansky - 03 Dec 06 14:16
Hello Brennan
There are two reasons why such 'Import' directive does not work: first of all ReSharper doesn't evaluate path's which include properties like $(MSBuildExtensionsPath) and secondly, the imported file as well as your file both should be included in your solution.