Skip to content

Commit 7688d8d

Browse files
brettfobaronfel
authored andcommitted
restore templates removed in #7379 (#8205)
1 parent 3efa7d1 commit 7688d8d

File tree

89 files changed

+25478
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+25478
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bin/
2+
obj/
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. -->
3+
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
4+
5+
<PropertyGroup>
6+
<AssemblyName>ConsoleProject</AssemblyName>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<VSTemplate Include="Template\ConsoleApplication.vstemplate">
11+
<TranslatableResources>
12+
Template\AssemblyInfo.fs;
13+
Template\Program.fs;
14+
</TranslatableResources>
15+
</VSTemplate>
16+
</ItemGroup>
17+
18+
</Project>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
$if$ ($targetframeworkversion$ >= 4.0)<supportedRuntime version="v4.0" sku=".NETFramework,Version=v$targetframeworkversion$" />$endif$$if$ ($targetframeworkversion$ < 4.0)<supportedRuntime version="v2.0.50727" />$endif$
5+
</startup>
6+
</configuration>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
namespace $safeprojectname$.AssemblyInfo
2+
3+
open System.Reflection
4+
open System.Runtime.CompilerServices
5+
open System.Runtime.InteropServices
6+
7+
// @@@GeneralInfo-Line1|General Information about an assembly is controlled through the following@@@
8+
// @@@GeneralInfo-Line2|set of attributes. Change these attribute values to modify the information@@@
9+
// @@@GeneralInfo-Line3|associated with an assembly.@@@
10+
[<assembly: AssemblyTitle("$projectname$")>]
11+
[<assembly: AssemblyDescription("")>]
12+
[<assembly: AssemblyConfiguration("")>]
13+
[<assembly: AssemblyCompany("$registeredorganization$")>]
14+
[<assembly: AssemblyProduct("$projectname$")>]
15+
[<assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")>]
16+
[<assembly: AssemblyTrademark("")>]
17+
[<assembly: AssemblyCulture("")>]
18+
19+
// @@@ComVisible-Line1|Setting ComVisible to false makes the types in this assembly not visible@@@
20+
// @@@ComVisible-Line2|to COM components. If you need to access a type in this assembly from@@@
21+
// @@@ComVisible-Line3|COM, set the ComVisible attribute to true on that type.@@@
22+
[<assembly: ComVisible(false)>]
23+
24+
// @@@Guid-Line1|The following GUID is for the ID of the typelib if this project is exposed to COM@@@
25+
[<assembly: Guid("$guid1$")>]
26+
27+
// @@@VersionInfo-Line1|Version information for an assembly consists of the following four values:@@@
28+
//
29+
// @@@MajorVersion|Major Version@@@
30+
// @@@MinorVersion|Minor Version@@@
31+
// @@@BuildNumber|Build Number@@@
32+
// @@@Revision|Revision@@@
33+
//
34+
// @@@VersionInfo-Line2|You can specify all the values or you can default the Build and Revision Numbers@@@
35+
// @@@VersionInfo-Line3|by using the '*' as shown below:@@@
36+
// [<assembly: AssemblyVersion("1.0.*")>]
37+
[<assembly: AssemblyVersion("1.0.0.0")>]
38+
[<assembly: AssemblyFileVersion("1.0.0.0")>]
39+
40+
do
41+
()
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>$guid1$</ProjectGuid>
9+
<OutputType>Exe</OutputType>
10+
<RootNamespace>$safeprojectname$</RootNamespace>
11+
<AssemblyName>$safeprojectname$</AssemblyName>
12+
<TargetFrameworkVersion>v$targetframeworkversion$</TargetFrameworkVersion>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<UseStandardResourceNames>true</UseStandardResourceNames>
15+
<WarningsAsErrors>3239;$(WarningsAsErrors)</WarningsAsErrors>
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<Tailcalls>false</Tailcalls>
22+
<OutputPath>bin\$(Configuration)\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<WarningLevel>3</WarningLevel>
25+
<PlatformTarget>AnyCPU</PlatformTarget>
26+
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).XML</DocumentationFile>
27+
<Prefer32Bit>true</Prefer32Bit>
28+
</PropertyGroup>
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
30+
<DebugType>pdbonly</DebugType>
31+
<Optimize>true</Optimize>
32+
<Tailcalls>true</Tailcalls>
33+
<OutputPath>bin\$(Configuration)\</OutputPath>
34+
<DefineConstants>TRACE</DefineConstants>
35+
<WarningLevel>3</WarningLevel>
36+
<PlatformTarget>AnyCPU</PlatformTarget>
37+
<DocumentationFile>bin\$(Configuration)\$(AssemblyName).XML</DocumentationFile>
38+
<Prefer32Bit>true</Prefer32Bit>
39+
</PropertyGroup>
40+
<ItemGroup>
41+
<Reference Include="mscorlib"/>
42+
<Reference Include="System"/>
43+
<Reference Include="System.Core"/>
44+
<Reference Include="System.Numerics"/>
45+
</ItemGroup>
46+
<ItemGroup>
47+
<Compile Include="AssemblyInfo.fs" />
48+
<Compile Include="Program.fs" />
49+
<None Include="App.config" />
50+
</ItemGroup>
51+
<PropertyGroup>
52+
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
53+
</PropertyGroup>
54+
<PropertyGroup Condition=" '$(FSharpTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets') ">
55+
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>
56+
</PropertyGroup>
57+
<Import Project="$(FSharpTargetsPath)" />
58+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
59+
Other similar extension points exist, see Microsoft.Common.targets.
60+
<Target Name="BeforeBuild">
61+
</Target>
62+
<Target Name="AfterBuild">
63+
</Target>
64+
-->
65+
</Project>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
3+
<TemplateData>
4+
<Name Package="{91A04A73-4F2C-4E7C-AD38-C1A68E7DA05C}" ID="5014"/>
5+
<Description Package="{91A04A73-4F2C-4E7C-AD38-C1A68E7DA05C}" ID="5015"/>
6+
<Icon Package="{91A04A73-4F2C-4E7C-AD38-C1A68E7DA05C}" ID="4001" />
7+
<TemplateID>Microsoft.FSharp.Application</TemplateID>
8+
<ProjectType>FSharp</ProjectType>
9+
<RequiredFrameworkVersion>4.5</RequiredFrameworkVersion>
10+
<NumberOfParentCategoriesToRollUp>1</NumberOfParentCategoriesToRollUp>
11+
<CreateNewFolder>true</CreateNewFolder>
12+
<DefaultName>ConsoleApplication</DefaultName>
13+
<ProvideDefaultName>true</ProvideDefaultName>
14+
<PromptForSaveOnCreation>true</PromptForSaveOnCreation>
15+
</TemplateData>
16+
<TemplateContent>
17+
<Project File="ConsoleApplication.fsproj" ReplaceParameters="true">
18+
<ProjectItem ReplaceParameters="true">AssemblyInfo.fs</ProjectItem>
19+
<ProjectItem ReplaceParameters="true" OpenInEditor="true">Program.fs</ProjectItem>
20+
<ProjectItem ReplaceParameters="true">App.config</ProjectItem>
21+
</Project>
22+
</TemplateContent>
23+
<WizardExtension>
24+
<Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
25+
<FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName>
26+
</WizardExtension>
27+
<WizardData>
28+
<packages repository="extension" repositoryId="VisualFSharpTemplates">
29+
<package id="System.ValueTuple" version="4.4.0" />
30+
<package id="FSharp.Core" version="4.7.0" />
31+
</packages>
32+
</WizardData>
33+
</VSTemplate>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// @@@LearnMore|Learn more about F# at https://fsharp.org@@@
2+
// @@@SeeTutorial|See the 'F# Tutorial' project for more help.@@@
3+
4+
[<EntryPoint>]
5+
let main argv =
6+
printfn "%A" argv
7+
0 // @@@Return|return an integer exit code@@@
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
3+
<file datatype="xml" source-language="en" target-language="cs" original="../AssemblyInfo.fs">
4+
<body>
5+
<trans-unit id="GeneralInfo-Line1">
6+
<source>General Information about an assembly is controlled through the following</source>
7+
<target state="translated">Obecné informace o sestavení se řídí přes následující</target>
8+
<note />
9+
</trans-unit>
10+
<trans-unit id="GeneralInfo-Line2">
11+
<source>set of attributes. Change these attribute values to modify the information</source>
12+
<target state="translated">sadu atributů. Změnou hodnot těchto atributů se upraví informace</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="GeneralInfo-Line3">
16+
<source>associated with an assembly.</source>
17+
<target state="translated">přidružené k sestavení.</target>
18+
<note />
19+
</trans-unit>
20+
<trans-unit id="ComVisible-Line1">
21+
<source>Setting ComVisible to false makes the types in this assembly not visible</source>
22+
<target state="translated">Nastavením atributu ComVisible na hodnotu False budou typy v tomto sestavení neviditelné</target>
23+
<note />
24+
</trans-unit>
25+
<trans-unit id="ComVisible-Line2">
26+
<source>to COM components. If you need to access a type in this assembly from</source>
27+
<target state="translated">pro komponenty modelu COM. Pokud potřebujete přistoupit k typu v tomto sestavení z</target>
28+
<note />
29+
</trans-unit>
30+
<trans-unit id="ComVisible-Line3">
31+
<source>COM, set the ComVisible attribute to true on that type.</source>
32+
<target state="translated">modelu COM, nastavte atribut ComVisible daného typu na hodnotu True.</target>
33+
<note />
34+
</trans-unit>
35+
<trans-unit id="Guid-Line1">
36+
<source>The following GUID is for the ID of the typelib if this project is exposed to COM</source>
37+
<target state="translated">Následující GUID se používá pro ID knihovny typů, pokud je tento projekt vystavený pro COM.</target>
38+
<note />
39+
</trans-unit>
40+
<trans-unit id="VersionInfo-Line1">
41+
<source>Version information for an assembly consists of the following four values:</source>
42+
<target state="translated">Informace o verzi sestavení se skládá z těchto čtyř hodnot:</target>
43+
<note />
44+
</trans-unit>
45+
<trans-unit id="MajorVersion">
46+
<source>Major Version</source>
47+
<target state="translated">Hlavní verze</target>
48+
<note />
49+
</trans-unit>
50+
<trans-unit id="MinorVersion">
51+
<source>Minor Version</source>
52+
<target state="translated">Podverze</target>
53+
<note />
54+
</trans-unit>
55+
<trans-unit id="BuildNumber">
56+
<source>Build Number</source>
57+
<target state="translated">Číslo sestavení</target>
58+
<note />
59+
</trans-unit>
60+
<trans-unit id="Revision">
61+
<source>Revision</source>
62+
<target state="translated">Revize</target>
63+
<note />
64+
</trans-unit>
65+
<trans-unit id="VersionInfo-Line2">
66+
<source>You can specify all the values or you can default the Build and Revision Numbers</source>
67+
<target state="translated">Můžete zadat všechny hodnoty nebo nechat nastavená výchozí čísla sestavení a revize</target>
68+
<note />
69+
</trans-unit>
70+
<trans-unit id="VersionInfo-Line3">
71+
<source>by using the '*' as shown below:</source>
72+
<target state="translated">pomocí zástupného znaku * takto:</target>
73+
<note />
74+
</trans-unit>
75+
</body>
76+
</file>
77+
</xliff>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
3+
<file datatype="xml" source-language="en" target-language="de" original="../AssemblyInfo.fs">
4+
<body>
5+
<trans-unit id="GeneralInfo-Line1">
6+
<source>General Information about an assembly is controlled through the following</source>
7+
<target state="translated">Allgemeine Informationen über eine Assembly werden über die folgende</target>
8+
<note />
9+
</trans-unit>
10+
<trans-unit id="GeneralInfo-Line2">
11+
<source>set of attributes. Change these attribute values to modify the information</source>
12+
<target state="translated">Attributgruppe gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unit id="GeneralInfo-Line3">
16+
<source>associated with an assembly.</source>
17+
<target state="translated">die einer Assembly zugeordnet sind.</target>
18+
<note />
19+
</trans-unit>
20+
<trans-unit id="ComVisible-Line1">
21+
<source>Setting ComVisible to false makes the types in this assembly not visible</source>
22+
<target state="translated">Durch Festlegen von ComVisible auf FALSE sind die Typen in dieser Assembly nicht</target>
23+
<note />
24+
</trans-unit>
25+
<trans-unit id="ComVisible-Line2">
26+
<source>to COM components. If you need to access a type in this assembly from</source>
27+
<target state="translated">für COM-Komponenten sichtbar. Wenn Sie auf einen Typ in dieser Assembly von</target>
28+
<note />
29+
</trans-unit>
30+
<trans-unit id="ComVisible-Line3">
31+
<source>COM, set the ComVisible attribute to true on that type.</source>
32+
<target state="translated">COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf TRUE festlegen.</target>
33+
<note />
34+
</trans-unit>
35+
<trans-unit id="Guid-Line1">
36+
<source>The following GUID is for the ID of the typelib if this project is exposed to COM</source>
37+
<target state="translated">Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird</target>
38+
<note />
39+
</trans-unit>
40+
<trans-unit id="VersionInfo-Line1">
41+
<source>Version information for an assembly consists of the following four values:</source>
42+
<target state="translated">Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:</target>
43+
<note />
44+
</trans-unit>
45+
<trans-unit id="MajorVersion">
46+
<source>Major Version</source>
47+
<target state="translated">Hauptversion</target>
48+
<note />
49+
</trans-unit>
50+
<trans-unit id="MinorVersion">
51+
<source>Minor Version</source>
52+
<target state="translated">Nebenversion</target>
53+
<note />
54+
</trans-unit>
55+
<trans-unit id="BuildNumber">
56+
<source>Build Number</source>
57+
<target state="translated">Buildnummer</target>
58+
<note />
59+
</trans-unit>
60+
<trans-unit id="Revision">
61+
<source>Revision</source>
62+
<target state="translated">Revision</target>
63+
<note />
64+
</trans-unit>
65+
<trans-unit id="VersionInfo-Line2">
66+
<source>You can specify all the values or you can default the Build and Revision Numbers</source>
67+
<target state="translated">Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern</target>
68+
<note />
69+
</trans-unit>
70+
<trans-unit id="VersionInfo-Line3">
71+
<source>by using the '*' as shown below:</source>
72+
<target state="translated">übernehmen, indem Sie "*" eingeben:</target>
73+
<note />
74+
</trans-unit>
75+
</body>
76+
</file>
77+
</xliff>

0 commit comments

Comments
 (0)