зеркало из https://github.com/dotnet/winforms.git
Adding Form subtype in templates (#3527)
This commit is contained in:
Родитель
82578bf4a3
Коммит
ad1cee6114
|
@ -69,6 +69,11 @@
|
|||
"path": "Form1.cs"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.lock.json" ]
|
||||
}
|
||||
],
|
||||
"defaultName": "WinFormsApp1",
|
||||
"postActions": [
|
||||
{
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Compile Update="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -69,6 +69,11 @@
|
|||
"path": "Form1.vb"
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"exclude": [ "**/[Bb]in/**", "**/[Oo]bj/**", ".template.config/**/*", "**/*.filelist", "**/*.lock.json" ]
|
||||
}
|
||||
],
|
||||
"defaultName": "WinFormsApp1",
|
||||
"postActions": [
|
||||
{
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Compile Update="Form1.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -4,7 +4,7 @@ We provide the following templates:
|
|||
* [Windows Forms app (C#)](./content/WinFormsApplication-CSharp)
|
||||
* [Windows Forms app (VB)](./content/WinFormsApplication-VisualBasic)
|
||||
* [Windows Forms class library (C#)](./content/WinFormsLibrary-CSharp)
|
||||
* [Windows Forms class library (C#)](./content/WinFormsLibrary-VisualBasic)
|
||||
* [Windows Forms class library (VB)](./content/WinFormsLibrary-VisualBasic)
|
||||
|
||||
## Testing Templates
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче