Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
2.5.1
State
Fixed
Assignee
Andrew Serebryansky
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Brennan Stehling
    5 years ago (02 Dec 2006 01:34)
  • Updated by   Brennan Stehling
    5 years ago (14 Dec 2006 18:48)
  • Jira: RSRP-32885
    (history, comments)
 
RSRP-32885 MSBuild Imports not working
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
In my build script I have the following line.


Issue was closed
Comments (2)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Brennan Stehling
  Brennan Stehling
02 Dec 2006 01:35
5 years ago
<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
  Andrew Serebryansky
03 Dec 2006 15:16
5 years ago
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.