![]() |
|
#1
|
||||
|
||||
|
Hi all,
I work in the VS2005 and IS11.5. In my solution I have the project with name that contain the dot, for example: 'CompanyName.ModuleName'. The IS project reference to the project output of the 'CompanyName.ModuleName'. When I build this solution in the VS2005 IDE all works fine, but when I try to build this solution with MSBuild in command line the build fail with error: "...\Macrovision.InstallShield.targets: error: No outputs for project "ComapanyName" were provided, but the installation project references "CompanyName.ModuleName.Primary output".
__________________
Jack Mod. |
|
#2
|
||||
|
||||
|
Hi Jack Mod,
Are you using the default .isproj file, with the installed Macrovision.InstallShield.targets file? If not, please give them a try. If so, it's possible that the period in the project name is being misinterpreted somewhere along the line. If it's in our task, I should be able to whip up a test version that might fix the issue. So if you're willing, let's try to isolate this problem. In the Macrovision.InstallShield.targets files ([ProgramFilesFolder]MSBuild\Macrovision\IS11.5) near the bottom there is a commented out Message task that reads like: Code:
<Message Text="Project Output Files:@(TaggedOutputs->' %(ProjectName).%(OutputGroup):%(FileName)%(Extension)')"/> Code:
<Message Text="Project Output Files:@(TaggedOutputs->' %(ProjectName):%(OutputGroup):%(FileName)%(Extension)')"/> Code:
CompanyName.ModuleName:Primary output:<filename>
__________________
Michael Urman - Senior Software Engineer - Flexera Software: InstallShield Team |
|
#3
|
||||
|
||||
|
Hi MichaelU,
I found the problem. The MSBuild itself in the Microsoft.Common.targets uses instead the project name with period the converted name like "CompanyName_ModuleName". The fix is to convert the name of the reference project in the .isproj file, and in the .ism file correspondly change the <FileName> of the component in the "File" table. This work well, but after each editing in IDE I must manualy refix those lines .Some additional points: Quote:
But when I try to build the solution a build is fail with MSBuild error: the "OutputPath" not defined. The problem is missed "Platform" property, which not defined for project of type .isproj. Quote:
But output (even for "normal" projects) little beet strange - the metadata %(ProjectName) is always empty. In fact the output is: Code:
...: .Primary Output: A.dll ....
__________________
Jack Mod. |
|
#4
|
||||
|
||||
|
Hmm, yeah looks like the commented out debug code rotted a bit when some other changes cleaned things up. Instead of %(ProjectName) it now needs to be %(Name) now.
As for the dot vs underscore in the project name, I'll try to get this fixed for the next release. We'll track this under IOC-000045403. At least for the moment it sounds like you've got an effective workaround with replacing it manually. Let me know if you run into any problems with the workaround. Erk, I misread. I thought this was a one time change, but on rereading it sounds like you have to reapply after any project edit. I'll see if I can push this up a bit (our schedule is a bit tight though).
__________________
Michael Urman - Senior Software Engineer - Flexera Software: InstallShield Team Last edited by MichaelU : 01-23-2006 at 09:58 AM. |
|
#5
|
|||
|
|||
|
This is also a serious problem for us - all of our projects include dots in the name.
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|