protected VCProject getParsedProject( String targetName, BuildPlatform platform, BuildConfiguration configuration )
            throws MojoExecutionException
    {
        List<VCProject> projects = getParsedProjects( platform, configuration );
        for ( VCProject project : projects )
        {
            if ( targetName.equals( project.getTargetName() ) )
            {
                return project;
            }
        }
        throw new MojoExecutionException( "Target '" + targetName + "' not found in project files" );
    }
protected VCProject getParsedProject ( String targetName , BuildPlatform platform , BuildConfiguration configuration ) throws MojoExecutionException { List < VCProject > projects = getParsedProjects ( platform , configuration ) ; for ( VCProject project : projects ) { if ( targetName . equals ( project . getTargetName ( ) ) ) { return project ; } } throw new MojoExecutionException ( "Target '" + targetName + "' not found in project files" ) ; }
Return the project configuration for the specified target, platform and configuration
Note: This is only valid for solutions as target names don't apply for a standalone project file
@param targetName the target to look for
@param platform the platform to parse for
@param configuration the configuration to parse for
@return the VCProject for the specified target
@throws MojoExecutionException if the requested project cannot be identified