1 package VC10WorkspaceCreator
;
3 # ************************************************************
4 # Description : A VC10 Workspace Creator
5 # Author : Johnny Willemsen
6 # Create Date : 11/10/2008
7 # ************************************************************
9 # ************************************************************
11 # ************************************************************
15 use VC10ProjectCreator
;
16 use VC9WorkspaceCreator
;
19 @ISA = qw(VC9WorkspaceCreator);
21 # ************************************************************
23 # ************************************************************
27 my $crlf = $self->crlf();
30 'Microsoft Visual Studio Solution File, Format Version 11.00', $crlf;
31 $self->print_workspace_comment($fh,
32 '# Visual Studio 2010', $crlf,
34 '# This file was generated by MPC. Any changes made directly to', $crlf,
35 '# this file will be lost the next time it is generated.', $crlf,
37 '# MPC Command:', $crlf,
38 '# ', $self->create_command_line_string($0, @ARGV), $crlf);
41 sub website_extra_props
{
44 'TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"' .
49 my($self, $spc, $refguid, $attr, $relative) = @_;
50 my $crlf = $self->crlf();
51 return $spc . '<ProjectReference Include="' . $relative . '">' . $crlf .
52 $spc . "\t<Project>\{$refguid\}</Project>$crlf" .
53 (defined $$attr{'copylocal'}
54 ?
$spc . "\t<Private>" . $$attr{'copylocal'} . "</Private>$crlf"
57 $spc . '</ProjectReference>' . $crlf;