[Mono-bugs] [Bug 660508] New: xbuild 2.6.7 fails to create a correct project file from a solution if project names contain dots
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Dec 20 06:46:15 EST 2010
https://bugzilla.novell.com/show_bug.cgi?id=660508
https://bugzilla.novell.com/show_bug.cgi?id=660508#c0
Summary: xbuild 2.6.7 fails to create a correct project file
from a solution if project names contain dots
Classification: Mono
Product: Mono: Tools
Version: 2.6.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: xbuild
AssignedTo: jankit at novell.com
ReportedBy: david at dasz.at
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Hi,
I've got a solution file with multiple projects, with dependencies. When trying
to clean the solution, xbuild fails with this error:
Error building target Kistl_Objects:Clean:
Microsoft.Build.BuildEngine.InvalidProjectFileException: Target
'Kistl.API:Clean', a dependency of target 'Kistl_Objects:Clean', not found.
The projects are called "Kistl.API" and "Kistl.Objects". Looking into the
generated project file, it seems to me that the project names are not always
mangled:
<Target Name="Kistl_API:Clean"
Condition="'$(CurrentSolutionConfigurationContents)' != ''">
<Target Name="Kistl_Objects:Clean"
Condition="'$(CurrentSolutionConfigurationContents)' != ''"
DependsOnTargets="Kistl.API:Clean">
Reproducible: Always
Steps to Reproduce:
1. Create solution with two projects called "Kistl.API" and "Kistl.Objects"
where the latter depends on the former
2. run "xbuild /t:Clean"
Actual Results:
Error building target Kistl_Objects:Clean:
Microsoft.Build.BuildEngine.InvalidProjectFileException: Target
'Kistl.API:Clean', a dependency of target 'Kistl_Objects:Clean', not found.
Expected Results:
the solution is cleaned without an error
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list