[Pkg-cli-apps-commits] [fsharp] 35/60: Fix for #118 - add back the "Visual F# Items" root node for new project items. (changeset 1311330)

Christopher Halse Rogers raof-guest at moszumanska.debian.org
Sun Sep 14 08:13:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

raof-guest pushed a commit to branch master
in repository fsharp.

commit df66e131c97b78f7f5eaddddee39f12dbac2891a
Author: latkin <latkin at microsoft.com>
Date:   Mon Aug 4 17:14:13 2014 -0700

    Fix for #118 - add back the "Visual F# Items" root node for new project items. (changeset 1311330)
---
 .../Templates/ItemTemplates/ItemTemplates.csproj   | 26 +++++++++++++---------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/vsintegration/src/Templates/ItemTemplates/ItemTemplates.csproj b/vsintegration/src/Templates/ItemTemplates/ItemTemplates.csproj
index 05fb870..96efc2b 100644
--- a/vsintegration/src/Templates/ItemTemplates/ItemTemplates.csproj
+++ b/vsintegration/src/Templates/ItemTemplates/ItemTemplates.csproj
@@ -68,45 +68,51 @@
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <!-- work around inconsistencies with escaping the # character -->
+  <Target Name="FixHashEscaping" AfterTargets="ZipItems" >
+    <Copy SourceFiles="@(IntermediateZipItem)"
+          DestinationFiles="@(IntermediateZipItem->'%(FullPath)'->Replace("%2523","#"))"
+          SkipUnchangedFiles="true" />
+   </Target>
   <ItemGroup>
     <VSTemplate Include="ItemTemplates\CodeFile\CodeFile.vstemplate">
-      <OutputSubPath>Code</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Code</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\ScriptFile\ScriptFile.vstemplate">
-      <OutputSubPath>Code</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Code</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\ODataServiceConnection\ODataServiceConnection.vstemplate">
-      <OutputSubPath>Data</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Data</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\SignatureFile\SignatureFile.vstemplate">
-      <OutputSubPath>Code</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Code</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\SqlDataConnection\SqlDataConnection.vstemplate">
-      <OutputSubPath>Data</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Data</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\SqlEntityConnection\SqlEntityConnection.vstemplate">
-      <OutputSubPath>Data</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Data</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\WsdlServiceConnection\WsdlServiceConnection.vstemplate">
-      <OutputSubPath>Data</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\Data</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\AppConfig\AppConfig.vstemplate">
-      <OutputSubPath>General</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\General</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\TextFile\TextFile.vstemplate">
-      <OutputSubPath>General</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\General</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
     <VSTemplate Include="ItemTemplates\XMLFile\XMLFile.vstemplate">
-      <OutputSubPath>General</OutputSubPath>
+      <OutputSubPath>Visual F%252523 Items\General</OutputSubPath>
       <SubType>Designer</SubType>
     </VSTemplate>
   </ItemGroup>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/fsharp.git



More information about the Pkg-cli-apps-commits mailing list