Browse Source

cleanup; fixed the build

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1954 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Markus Palme 19 years ago
parent
commit
e5bddcf157
  1. 59
      data/ConversionStyleSheets/ConvertPrjx10to11.xsl
  2. 5
      src/Tools/Tools.build

59
data/ConversionStyleSheets/ConvertPrjx10to11.xsl

@ -1,59 +0,0 @@ @@ -1,59 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- A simple conversion XSL which converts SharpDevelop 1.0 project files to 1.1 project files.
2002 by Mike Krueger -->
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Project">
<Project version="1.1"
name ="{@name}"
projecttype="{@projecttype}"
description="{@description}"
enableviewstate="{@enableviewstate}">
<!-- Convert Contents -->
<Contents>
<!-- copy the file nodes, they're equal -->
<xsl:apply-templates select="Contents/File"/>
<!-- Directory nodes must be converted to file nodes -->
<xsl:for-each select="Contents/Directory">
<File name = "{@relativepath}"
subtype = "Directory"
buildaction = "Nothing" />
</xsl:for-each>
</Contents>
<!-- Convert References -->
<References>
<xsl:for-each select="References/Reference[@assembly]">
<Reference type = "Assembly"
refto = "{@assembly}"/>
</xsl:for-each>
<xsl:for-each select="References/Reference[@project]">
<Reference type = "Project"
refto = "{@project}"/>
</xsl:for-each>
<xsl:for-each select="References/Reference[@gac]">
<Reference type = "Gac"
refto = "{@gac}"/>
</xsl:for-each>
</References>
<!-- Convert Configurations -->
<xsl:apply-templates select="Configurations"/>
<!-- Convert Deployment information by just copying them (nothing changed)-->
<xsl:apply-templates select="DeploymentInformation"/>
</Project>
</xsl:template>
<!-- A recursive copy template -->
<xsl:template match="*|@*">
<xsl:copy>
<xsl:apply-templates select="*|@*"/>
</xsl:copy>
</xsl:template>
</xsl:transform>

5
src/Tools/Tools.build

@ -8,9 +8,6 @@ @@ -8,9 +8,6 @@
<WixIncFiles Include="wix\inc\*"/>
<NUnitFiles Include="NUnit\*"/>
<HelpToolFiles Include="Help\*"/>
<!-- <ToolProject Include="GacUtil2\GacUtil2.csproj" /> -->
<ToolFiles Include="GacUtil2\GacUtil2.exe"/>
<ToolFiles Include="GacUtil2\GacUtil2.exe.config"/>
</ItemGroup>
<Target Name="Build">
@ -58,8 +55,6 @@ @@ -58,8 +55,6 @@
<CleanupDirectories Include="..\..\bin\Tools"/>
<CleanupDirectories Include="..\..\bin\setup\help"/>
<CleanupDirectories Include="..\..\AddIns\Addins"/>
<!--<SpecialObjCleanupDirectories Include="..\**\obj\*.FileList.txt"/>-->
</ItemGroup>
<Target Name="Clean">

Loading…
Cancel
Save