Changeset 11

Show
Ignore:
Timestamp:
11/16/07 13:41:53 (1 year ago)
Author:
brennan
Message:

added msbuild task as well as icons for installer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ClassLibrary/ClassLibrary.csproj

    r5 r11  
    2929  </PropertyGroup> 
    3030  <ItemGroup> 
     31    <Reference Include="Microsoft.Build.Engine" /> 
     32    <Reference Include="Microsoft.Build.Framework" /> 
     33    <Reference Include="Microsoft.Build.Tasks" /> 
     34    <Reference Include="Microsoft.Build.Utilities" /> 
    3135    <Reference Include="System" /> 
    3236    <Reference Include="System.Data" /> 
     
    3943  <ItemGroup> 
    4044    <Compile Include="MarkupCleaner.cs" /> 
     45    <Compile Include="MSBuild\Tidy.cs" /> 
    4146    <Compile Include="Properties\AssemblyInfo.cs" /> 
    4247  </ItemGroup> 
  • trunk/ClassLibrary/MarkupCleaner.cs

    r6 r11  
    155155                case 0: 
    156156                    return "Success"; 
    157                     break; 
    158157                case 1: 
    159158                    return "Warnings, No Errors"; 
    160                     break; 
    161159                case 2: 
    162160                    return "Errors and Warnings"; 
    163                     break; 
    164161                default: 
    165162                    return "Severe error"; 
    166                     break; 
    167163            } 
    168164        } 
  • trunk/Setup/Setup.vdproj

    r5 r11  
    1616        "Entry" 
    1717        { 
    18         "MsmKey" = "8:_0982EC5530684F75BF56FE38DCF18103" 
     18        "MsmKey" = "8:_0916A40DE2FE4F039254A1BCB01A4193" 
    1919        "OwnerKey" = "8:_UNDEFINED" 
    2020        "MsmSig" = "8:_UNDEFINED" 
     
    2222        "Entry" 
    2323        { 
     24        "MsmKey" = "8:_1C5D30F1A2D5410FB9015039715F27B5" 
     25        "OwnerKey" = "8:_UNDEFINED" 
     26        "MsmSig" = "8:_UNDEFINED" 
     27        } 
     28        "Entry" 
     29        { 
     30        "MsmKey" = "8:_2E46449987054452AD3DD103696949FC" 
     31        "OwnerKey" = "8:_UNDEFINED" 
     32        "MsmSig" = "8:_UNDEFINED" 
     33        } 
     34        "Entry" 
     35        { 
     36        "MsmKey" = "8:_523E9872CAEE4AA09D40B6173E9FD387" 
     37        "OwnerKey" = "8:_UNDEFINED" 
     38        "MsmSig" = "8:_UNDEFINED" 
     39        } 
     40        "Entry" 
     41        { 
    2442        "MsmKey" = "8:_56FBE67968053C0DEACA6DBFDC66716A" 
    25         "OwnerKey" = "8:_74D44CCBC8114BC0A2337127EE6847D0" 
    26         "MsmSig" = "8:_UNDEFINED" 
    27         } 
    28         "Entry" 
    29         { 
    30         "MsmKey" = "8:_74D44CCBC8114BC0A2337127EE6847D0" 
    31         "OwnerKey" = "8:_UNDEFINED" 
     43        "OwnerKey" = "8:_7CB688040D656A164E0140A1B7C4A6B8" 
     44        "MsmSig" = "8:_UNDEFINED" 
     45        } 
     46        "Entry" 
     47        { 
     48        "MsmKey" = "8:_5E5057E8DBEAA9B4BA8A7DF465F1BFC3" 
     49        "OwnerKey" = "8:_2E46449987054452AD3DD103696949FC" 
     50        "MsmSig" = "8:_UNDEFINED" 
     51        } 
     52        "Entry" 
     53        { 
     54        "MsmKey" = "8:_5E5057E8DBEAA9B4BA8A7DF465F1BFC3" 
     55        "OwnerKey" = "8:_B9BA829ACC874F56BFAEE339086C0FC4" 
    3256        "MsmSig" = "8:_UNDEFINED" 
    3357        } 
     
    4670        "Entry" 
    4771        { 
     72        "MsmKey" = "8:_B9BA829ACC874F56BFAEE339086C0FC4" 
     73        "OwnerKey" = "8:_UNDEFINED" 
     74        "MsmSig" = "8:_UNDEFINED" 
     75        } 
     76        "Entry" 
     77        { 
     78        "MsmKey" = "8:_F62DD303A4B0330C8B7CD826AA000446" 
     79        "OwnerKey" = "8:_5E5057E8DBEAA9B4BA8A7DF465F1BFC3" 
     80        "MsmSig" = "8:_UNDEFINED" 
     81        } 
     82        "Entry" 
     83        { 
    4884        "MsmKey" = "8:_UNDEFINED" 
    49         "OwnerKey" = "8:_74D44CCBC8114BC0A2337127EE6847D0" 
     85        "OwnerKey" = "8:_2E46449987054452AD3DD103696949FC" 
     86        "MsmSig" = "8:_UNDEFINED" 
     87        } 
     88        "Entry" 
     89        { 
     90        "MsmKey" = "8:_UNDEFINED" 
     91        "OwnerKey" = "8:_B9BA829ACC874F56BFAEE339086C0FC4" 
     92        "MsmSig" = "8:_UNDEFINED" 
     93        } 
     94        "Entry" 
     95        { 
     96        "MsmKey" = "8:_UNDEFINED" 
     97        "OwnerKey" = "8:_5E5057E8DBEAA9B4BA8A7DF465F1BFC3" 
     98        "MsmSig" = "8:_UNDEFINED" 
     99        } 
     100        "Entry" 
     101        { 
     102        "MsmKey" = "8:_UNDEFINED" 
     103        "OwnerKey" = "8:_7CB688040D656A164E0140A1B7C4A6B8" 
    50104        "MsmSig" = "8:_UNDEFINED" 
    51105        } 
     
    68122        "TimeStampServer" = "8:" 
    69123        "InstallerBootstrapper" = "3:2" 
     124            "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" 
     125            { 
     126            "Enabled" = "11:TRUE" 
     127            "PromptEnabled" = "11:TRUE" 
     128            "PrerequisitesLocation" = "2:1" 
     129            "Url" = "8:" 
     130            "ComponentsUrl" = "8:" 
     131                "Items" 
     132                { 
     133                    "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Net.Framework.2.0" 
     134                    { 
     135                    "Name" = "8:Microsoft .NET Framework 2.0" 
     136                    "ProductCode" = "8:Microsoft.Net.Framework.2.0" 
     137                    } 
     138                } 
     139            } 
    70140        } 
    71141        "Release" 
     
    84154        "TimeStampServer" = "8:" 
    85155        "InstallerBootstrapper" = "3:2" 
     156            "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" 
     157            { 
     158            "Enabled" = "11:TRUE" 
     159            "PromptEnabled" = "11:TRUE" 
     160            "PrerequisitesLocation" = "2:1" 
     161            "Url" = "8:" 
     162            "ComponentsUrl" = "8:" 
     163                "Items" 
     164                { 
     165                } 
     166            } 
    86167        } 
    87168    } 
     
    113194        "File" 
    114195        { 
    115             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0982EC5530684F75BF56FE38DCF18103" 
    116             { 
    117             "SourcePath" = "8:..\\ThirdParty\\Tidy\\TidyATL\\TidyATL.dll
    118             "TargetName" = "8:TidyATL.dll
     196            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_0916A40DE2FE4F039254A1BCB01A4193" 
     197            { 
     198            "SourcePath" = "8:..\\sample.proj
     199            "TargetName" = "8:sample.proj
    119200            "Tag" = "8:" 
    120             "Folder" = "8:_507163DD792842A89AD169B37541F761" 
    121             "Condition" = "8:" 
    122             "Transitive" = "11:FALSE" 
    123             "Vital" = "11:TRUE" 
    124             "ReadOnly" = "11:FALSE" 
    125             "Hidden" = "11:FALSE" 
    126             "System" = "11:FALSE" 
    127             "Permanent" = "11:FALSE" 
    128             "SharedLegacy" = "11:FALSE" 
    129             "PackageAs" = "3:1" 
    130             "Register" = "3:2" 
    131             "Exclude" = "11:FALSE" 
    132             "IsDependency" = "11:FALSE" 
    133             "IsolateTo" = "8:" 
    134             } 
    135             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_56FBE67968053C0DEACA6DBFDC66716A" 
    136             { 
    137             "SourcePath" = "8:TidyATL.dll" 
    138             "TargetName" = "8:TidyATL.dll" 
    139             "Tag" = "8:" 
    140             "Folder" = "8:_507163DD792842A89AD169B37541F761" 
    141             "Condition" = "8:" 
    142             "Transitive" = "11:FALSE" 
    143             "Vital" = "11:TRUE" 
    144             "ReadOnly" = "11:FALSE" 
    145             "Hidden" = "11:FALSE" 
    146             "System" = "11:FALSE" 
    147             "Permanent" = "11:FALSE" 
    148             "SharedLegacy" = "11:FALSE" 
    149             "PackageAs" = "3:1" 
    150             "Register" = "3:4" 
    151             "Exclude" = "11:FALSE" 
    152             "IsDependency" = "11:TRUE" 
    153             "IsolateTo" = "8:" 
    154             } 
    155             "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_74D44CCBC8114BC0A2337127EE6847D0" 
    156             { 
    157             "AssemblyRegister" = "3:1" 
    158             "AssemblyIsInGAC" = "11:FALSE" 
    159             "AssemblyAsmDisplayName" = "8:Tidy, Version=1.0.0.0, Culture=neutral" 
    160                 "ScatterAssemblies" 
    161                 { 
    162                     "_74D44CCBC8114BC0A2337127EE6847D0" 
    163                     { 
    164                     "Name" = "8:Tidy.dll" 
    165                     "Attributes" = "3:512" 
    166                     } 
    167                 } 
    168             "SourcePath" = "8:..\\ThirdParty\\Tidy\\Tidy.NET\\Tidy.dll" 
    169             "TargetName" = "8:" 
    170             "Tag" = "8:" 
    171             "Folder" = "8:_507163DD792842A89AD169B37541F761" 
     201            "Folder" = "8:_D71DA7C2BE014571A8A5C9A8F0E04E75" 
    172202            "Condition" = "8:" 
    173203            "Transitive" = "11:FALSE" 
     
    184214            "IsolateTo" = "8:" 
    185215            } 
    186             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8FDA16F19C46439FAC02FC1EABBB62A1
    187             { 
    188             "SourcePath" = "8:..\\README.txt
    189             "TargetName" = "8:README.txt
     216            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1C5D30F1A2D5410FB9015039715F27B5
     217            { 
     218            "SourcePath" = "8:..\\MSBuild.Tidy.targets
     219            "TargetName" = "8:MSBuild.Tidy.targets
    190220            "Tag" = "8:" 
    191             "Folder" = "8:_507163DD792842A89AD169B37541F761
     221            "Folder" = "8:_D71DA7C2BE014571A8A5C9A8F0E04E75
    192222            "Condition" = "8:" 
    193223            "Transitive" = "11:FALSE" 
     
    204234            "IsolateTo" = "8:" 
    205235            } 
    206             "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B41AB946FFB84369B6B19B2B892610D8
    207             { 
    208             "SourcePath" = "8:..\\sample.tidy
    209             "TargetName" = "8:sample.tidy
     236            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_523E9872CAEE4AA09D40B6173E9FD387
     237            { 
     238            "SourcePath" = "8:..\\Icons\\App.ico
     239            "TargetName" = "8:App.ico
    210240            "Tag" = "8:" 
    211241            "Folder" = "8:_507163DD792842A89AD169B37541F761" 
     
    224254            "IsolateTo" = "8:" 
    225255            } 
     256            "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_5E5057E8DBEAA9B4BA8A7DF465F1BFC3" 
     257            { 
     258            "AssemblyRegister" = "3:1" 
     259            "AssemblyIsInGAC" = "11:FALSE" 
     260            "AssemblyAsmDisplayName" = "8:Tidy, Version=1.0.0.0, Culture=neutral" 
     261                "ScatterAssemblies" 
     262                { 
     263                    "_5E5057E8DBEAA9B4BA8A7DF465F1BFC3" 
     264                    { 
     265                    "Name" = "8:Tidy.dll" 
     266                    "Attributes" = "3:512" 
     267                    } 
     268                } 
     269            "SourcePath" = "8:Tidy.dll" 
     270            "TargetName" = "8:" 
     271            "Tag" = "8:" 
     272            "Folder" = "8:_D71DA7C2BE014571A8A5C9A8F0E04E75" 
     273            "Condition" = "8:" 
     274            "Transitive" = "11:FALSE" 
     275            "Vital" = "11:TRUE" 
     276            "ReadOnly" = "11:FALSE" 
     277            "Hidden" = "11:FALSE" 
     278            "System" = "11:FALSE" 
     279            "Permanent" = "11:FALSE" 
     280            "SharedLegacy" = "11:FALSE" 
     281            "PackageAs" = "3:1" 
     282            "Register" = "3:1" 
     283            "Exclude" = "11:FALSE" 
     284            "IsDependency" = "11:TRUE" 
     285            "IsolateTo" = "8:" 
     286            } 
     287            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8FDA16F19C46439FAC02FC1EABBB62A1" 
     288            { 
     289            "SourcePath" = "8:..\\README.txt" 
     290            "TargetName" = "8:README.txt" 
     291            "Tag" = "8:" 
     292            "Folder" = "8:_507163DD792842A89AD169B37541F761" 
     293            "Condition" = "8:" 
     294            "Transitive" = "11:FALSE" 
     295            "Vital" = "11:TRUE" 
     296            "ReadOnly" = "11:FALSE" 
     297            "Hidden" = "11:FALSE" 
     298            "System" = "11:FALSE" 
     299            "Permanent" = "11:FALSE" 
     300            "SharedLegacy" = "11:FALSE" 
     301            "PackageAs" = "3:1" 
     302            "Register" = "3:1" 
     303            "Exclude" = "11:FALSE" 
     304            "IsDependency" = "11:FALSE" 
     305            "IsolateTo" = "8:" 
     306            } 
     307            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B41AB946FFB84369B6B19B2B892610D8" 
     308            { 
     309            "SourcePath" = "8:..\\sample.tidy" 
     310            "TargetName" = "8:sample.tidy" 
     311            "Tag" = "8:" 
     312            "Folder" = "8:_507163DD792842A89AD169B37541F761" 
     313            "Condition" = "8:" 
     314            "Transitive" = "11:FALSE" 
     315            "Vital" = "11:TRUE" 
     316            "ReadOnly" = "11:FALSE" 
     317            "Hidden" = "11:FALSE" 
     318            "System" = "11:FALSE" 
     319            "Permanent" = "11:FALSE" 
     320            "SharedLegacy" = "11:FALSE" 
     321            "PackageAs" = "3:1" 
     322            "Register" = "3:1" 
     323            "Exclude" = "11:FALSE" 
     324            "IsDependency" = "11:FALSE" 
     325            "IsolateTo" = "8:" 
     326            } 
     327            "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F62DD303A4B0330C8B7CD826AA000446" 
     328            { 
     329            "SourcePath" = "8:TidyATL.dll" 
     330            "TargetName" = "8:TidyATL.dll" 
     331            "Tag" = "8:" 
     332            "Folder" = "8:_D71DA7C2BE014571A8A5C9A8F0E04E75" 
     333            "Condition" = "8:" 
     334            "Transitive" = "11:FALSE" 
     335            "Vital" = "11:TRUE" 
     336            "ReadOnly" = "11:FALSE" 
     337            "Hidden" = "11:FALSE" 
     338            "System" = "11:FALSE" 
     339            "Permanent" = "11:FALSE" 
     340            "SharedLegacy" = "11:FALSE" 
     341            "PackageAs" = "3:1" 
     342            "Register" = "3:2" 
     343            "Exclude" = "11:FALSE" 
     344            "IsDependency" = "11:TRUE" 
     345            "IsolateTo" = "8:" 
     346            } 
    226347        } 
    227348        "FileType" 
     
    264385                } 
    265386            } 
     387            "{1525181F-901A-416C-8A58-119130FE478E}:_B191E79B436047B78ADB067C42D326FF" 
     388            { 
     389            "Name" = "8:#1912" 
     390            "AlwaysCreate" = "11:FALSE" 
     391            "Condition" = "8:" 
     392            "Transitive" = "11:FALSE" 
     393            "Property" = "8:ProgramFilesFolder" 
     394                "Folders" 
     395                { 
     396                    "{9EF0B969-E518-4E46-987F-47570745A589}:_D75EE79DBAB842C88420CDB318CA0976" 
     397                    { 
     398                    "Name" = "8:MSBuild" 
     399                    "AlwaysCreate" = "11:FALSE" 
     400                    "Condition" = "8:" 
     401                    "Transitive" = "11:FALSE" 
     402                    "Property" = "8:_1BEA3510D78248D6A00DD573C4C6149C" 
     403                        "Folders" 
     404                        { 
     405                            "{9EF0B969-E518-4E46-987F-47570745A589}:_D71DA7C2BE014571A8A5C9A8F0E04E75" 
     406                            { 
     407                            "Name" = "8:SmallSharpTools.Tidy" 
     408                            "AlwaysCreate" = "11:FALSE" 
     409                            "Condition" = "8:" 
     410                            "Transitive" = "11:FALSE" 
     411                            "Property" = "8:_66613DC6775D4D1F90A15B7C94AF2000" 
     412                                "Folders" 
     413                                { 
     414                                } 
     415                            } 
     416                        } 
     417                    } 
     418                } 
     419            } 
    266420        } 
    267421        "LaunchCondition" 
     
    278432        { 
    279433        "Name" = "8:Microsoft Visual Studio" 
    280         "ProductName" = "8:SmallSharpTools.Tidy
     434        "ProductName" = "8:Tidy for .NET
    281435        "ProductCode" = "8:{2C723A4E-7911-47A3-B673-E12CBF4F89CE}" 
    282         "PackageCode" = "8:{BF90FCD7-DE23-4F31-853A-09A925F9CEF9}" 
     436        "PackageCode" = "8:{9C3843A5-5C3F-45AE-9BE0-347F316B812B}" 
    283437        "UpgradeCode" = "8:{9958E8DB-CB12-450A-97C7-8E34C9976E50}" 
    284438        "RestartWWWService" = "11:FALSE" 
     
    289443        "Manufacturer" = "8:SmallSharpTools" 
    290444        "ARPHELPTELEPHONE" = "8:" 
    291         "ARPHELPLINK" = "8:
    292         "Title" = "8:SmallSharpTools.Tidy
     445        "ARPHELPLINK" = "8:http://www.smallsharptools.com/
     446        "Title" = "8:Tidy for .NET
    293447        "Subject" = "8:" 
    294448        "ARPCONTACT" = "8:Brennan Stehling" 
    295         "Keywords" = "8:
    296         "ARPCOMMENTS" = "8:
     449        "Keywords" = "8:web, html
     450        "ARPCOMMENTS" = "8:Markup cleaner
    297451        "ARPURLINFOABOUT" = "8:http://www.smallsharptools.com/" 
    298         "ARPPRODUCTICON" = "8:
     452        "ARPPRODUCTICON" = "8:_523E9872CAEE4AA09D40B6173E9FD387
    299453        "ARPIconIndex" = "3:0" 
    300454        "SearchPath" = "8:" 
     
    798952        "ProjectOutput" 
    799953        { 
     954            "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_2E46449987054452AD3DD103696949FC" 
     955            { 
     956            "SourcePath" = "8:..\\ClassLibrary\\obj\\Debug\\SmallSharpTools.Tidy.dll" 
     957            "TargetName" = "8:" 
     958            "Tag" = "8:" 
     959            "Folder" = "8:_D71DA7C2BE014571A8A5C9A8F0E04E75" 
     960            "Condition" = "8:" 
     961            "Transitive" = "11:FALSE" 
     962            "Vital" = "11:TRUE" 
     963            "ReadOnly" = "11:FALSE" 
     964            "Hidden" = "11:FALSE" 
     965            "System" = "11:FALSE" 
     966            "Permanent" = "11:FALSE" 
     967            "SharedLegacy" = "11:FALSE" 
     968            "PackageAs" = "3:1" 
     969            "Register" = "3:1" 
     970            "Exclude" = "11:FALSE" 
     971            "IsDependency" = "11:FALSE" 
     972            "IsolateTo" = "8:" 
     973            "ProjectOutputGroupRegister" = "3:1" 
     974            "OutputConfiguration" = "8:" 
     975            "OutputGroupCanonicalName" = "8:Built" 
     976            "OutputProjectGuid" = "8:{6AB92913-594A-41C7-B163-C3333E7D0C0F}" 
     977            "ShowKeyOutput" = "11:TRUE" 
     978                "ExcludeFilters" 
     979                { 
     980                } 
     981            } 
     982            "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_B9BA829ACC874F56BFAEE339086C0FC4" 
     983            { 
     984            "SourcePath" = "8:..\\ClassLibrary\\obj\\Debug\\SmallSharpTools.Tidy.dll" 
     985            "TargetName" = "8:" 
     986            "Tag" = "8:" 
     987            "Folder" = "8:_507163DD792842A89AD169B37541F761" 
     988            "Condition" = "8:" 
     989            "Transitive" = "11:FALSE" 
     990            "Vital" = "11:TRUE" 
     991            "ReadOnly" = "11:FALSE" 
     992            "Hidden" = "11:FALSE" 
     993            "System" = "11:FALSE" 
     994            "Permanent" = "11:FALSE" 
     995            "SharedLegacy" = "11:FALSE" 
     996            "PackageAs" = "3:1" 
     997            "Register" = "3:1" 
     998            "Exclude" = "11:FALSE" 
     999            "IsDependency" = "11:FALSE" 
     1000            "IsolateTo" = "8:" 
     1001            "ProjectOutputGroupRegister" = "3:1" 
     1002            "OutputConfiguration" = "8:" 
     1003            "OutputGroupCanonicalName" = "8:Built" 
     1004            "OutputProjectGuid" = "8:{6AB92913-594A-41C7-B163-C3333E7D0C0F}" 
     1005            "ShowKeyOutput" = "11:TRUE" 
     1006                "ExcludeFilters" 
     1007                { 
     1008                } 
     1009            } 
    8001010        } 
    8011011        "VJSharpPlugin" 
  • trunk/SmallSharpTools.Tidy.sln

    r5 r11  
    2121        ProjectSection(SolutionItems) = preProject 
    2222                build.proj = build.proj 
     23                MSBuild.Tidy.targets = MSBuild.Tidy.targets 
    2324                README.txt = README.txt 
     25                sample.proj = sample.proj 
    2426        EndProjectSection 
    2527EndProject 
     
    3638        EndProjectSection 
    3739EndProject 
    38 Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\Website\", "Website", "{5EC5F0EF-7648-45C0-81D2-A8994CF5450A}" 
     40Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\Website\", "Website\", "{5EC5F0EF-7648-45C0-81D2-A8994CF5450A}" 
    3941        ProjectSection(WebsiteProperties) = preProject 
    4042                ProjectReferences = "{6AB92913-594A-41C7-B163-C3333E7D0C0F}|SmallSharpTools.Tidy.dll;" 
  • trunk/Website/Web.config

    r6 r11  
    2929                        <assemblies> 
    3030                                <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> 
    31                         </assemblies> 
     31                                <add assembly="Microsoft.Build.Engine, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
     32                                <add assembly="Microsoft.Build.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
     33                                <add assembly="Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> 
     34                                <add assembly="Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies> 
    3235                </compilation> 
    3336                <httpHandlers> 
  • trunk/build.proj

    r9 r11  
    33 
    44        <Import Project="$(MSBuildExtensionsPath)\SmallSharpTools.Packer\MSBuild.Packer.Targets" /> 
     5        <Import Project="$(MSBuildExtensionsPath)\SmallSharpTools.Tidy\MSBuild.Tidy.Targets" /> 
    56 
    67        <PropertyGroup> 
    7   </PropertyGroup> 
    8   <ItemGroup> 
    9   </ItemGroup> 
    10   <Target Name="Build" DependsOnTargets="PackJavaScript"> 
    11   </Target> 
    12   <Target Name="PackJavaScript"> 
    13     <Packer OutputFileName="Website\tiny_mce\tiny_mce.js" 
    14             InputFiles="Website\tiny_mce\tiny_mce_src.js" 
    15             Mode="Packer" Verbose="false" /> 
    16     <Packer OutputFileName="Website\tiny_mce\themes\custom\editor_template.js" 
    17             InputFiles="Website\tiny_mce\themes\custom\editor_template_src.js" 
    18             Mode="Packer" Verbose="false" /> 
    19     <Packer OutputFileName="Website\tiny_mce\themes\intermediate\editor_template.js" 
    20             InputFiles="Website\tiny_mce\themes\intermediate\editor_template_src.js" 
    21             Mode="Packer" Verbose="false" /> 
     8                <SolutionDir Condition="'$(SolutionDir)' == ''">.</SolutionDir> 
    229 
    23     <!-- 
    24     <Packer OutputFileName="Website\tiny_mce\tiny_mce.jsmin.js" 
    25             InputFiles="Website\tiny_mce\tiny_mce_src.js" 
    26             Mode="JSMin" Verbose="false" /> 
    27     <Packer OutputFileName="Website\tiny_mce\themes\custom\editor_template.jsmin.js" 
    28             InputFiles="Website\tiny_mce\themes\custom\editor_template_src.js" 
    29             Mode="JSMin" Verbose="false" /> 
    30     <Packer OutputFileName="Website\tiny_mce\themes\intermediate\editor_template.jsmin.js" 
    31             InputFiles="Website\tiny_mce\themes\intermediate\editor_template_src.js" 
    32             Mode="JSMin" Verbose="false" /> 
    33     --> 
    34   </Target> 
     10                <InputDir>$(SolutionDir)\Samples\Input</InputDir> 
     11                <OutputDir>$(SolutionDir)\Samples\Output</OutputDir> 
     12        </PropertyGroup> 
     13        <ItemGroup> 
     14                <InputFiles Include="$(InputDir)\*.html" /> 
     15        </ItemGroup> 
     16        <Target Name="Build" DependsOnTargets="PackJavaScript;RunTidy"> 
     17        </Target> 
     18        <Target Name="PackJavaScript"> 
     19                <Packer OutputFileName="Website\tiny_mce\tiny_mce.js" 
     20                                InputFiles="Website\tiny_mce\tiny_mce_src.js" 
     21                                Mode="Packer" Verbose="false" /> 
     22                <Packer OutputFileName="Website\tiny_mce\themes\custom\editor_template.js" 
     23                                InputFiles="Website\tiny_mce\themes\custom\editor_template_src.js" 
     24                                Mode="Packer" Verbose="false" /> 
     25                <Packer OutputFileName="Website\tiny_mce\themes\intermediate\editor_template.js" 
     26                                InputFiles="Website\tiny_mce\themes\intermediate\editor_template_src.js" 
     27                                Mode="Packer" Verbose="false" /> 
     28 
     29                <!-- 
     30                <Packer OutputFileName="Website\tiny_mce\tiny_mce.jsmin.js" 
     31                                InputFiles="Website\tiny_mce\tiny_mce_src.js" 
     32                                Mode="JSMin" Verbose="false" /> 
     33                <Packer OutputFileName="Website\tiny_mce\themes\custom\editor_template.jsmin.js" 
     34                                InputFiles="Website\tiny_mce\themes\custom\editor_template_src.js" 
     35                                Mode="JSMin" Verbose="false" /> 
     36                <Packer OutputFileName="Website\tiny_mce\themes\intermediate\editor_template.jsmin.js" 
     37                                InputFiles="Website\tiny_mce\themes\intermediate\editor_template_src.js" 
     38                                Mode="JSMin" Verbose="false" /> 
     39                --> 
     40        </Target> 
     41        <Target Name="RunTidy"> 
     42                <MakeDir Directories="$(OutputDir)" Condition="!Exists('$(OutputDir)')"></MakeDir> 
     43                <Tidy OptionFile="$(SolutionDir)\Samples\default.tidy"  
     44                          ErrorFile="$(SolutionDir)\Samples\errors.txt"  
     45                          InputFiles="@(InputFiles)" 
     46                          OutputFiles="@(InputFiles->'$(OutputDir)\%(RecursiveDir)%(Filename)%(Extension)')" /> 
     47        </Target> 
    3548</Project>