Bladeren bron

添加模板生成项目

dev/1.0.1
stevelee 2 jaren geleden
bovenliggende
commit
a20df22e8f
6 gewijzigde bestanden met toevoegingen van 303 en 0 verwijderingen
  1. +10
    -0
      src/BPA.Component.Template.Console/BPA.Component.Template.Console.csproj
  2. +3
    -0
      src/BPA.Component.Template.Console/Program.cs
  3. +266
    -0
      src/BPA.Component.Template.Files/.gitignore
  4. +6
    -0
      src/BPA.Component.Template.Files/NuGet.Config
  5. +1
    -0
      src/BPA.Component.Template.Files/README.md
  6. +17
    -0
      src/BPA.Component.sln

+ 10
- 0
src/BPA.Component.Template.Console/BPA.Component.Template.Console.csproj Bestand weergeven

@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>

+ 3
- 0
src/BPA.Component.Template.Console/Program.cs Bestand weergeven

@@ -0,0 +1,3 @@
// See https://aka.ms/new-console-template for more information

Console.WriteLine("Hello, World!");

+ 266
- 0
src/BPA.Component.Template.Files/.gitignore Bestand weergeven

@@ -0,0 +1,266 @@
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

# DNX
project.lock.json
project.fragment.lock.json
artifacts/

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb

# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding add-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
#*.pubxml
*.publishproj

# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets

# Microsoft Azure Build Output
csx/
*.build.csdef

# Microsoft Azure Emulator
ecf/
rcf/

# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt

# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/

# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# GhostDoc plugin setting file
*.GhostDoc.xml

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions

# Paket dependency manager
.paket/paket.exe
paket-files/

# FAKE - F# Make
.fake/

# JetBrains Rider
.idea/
*.sln.iml

# CodeRush
.cr/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc


+ 6
- 0
src/BPA.Component.Template.Files/NuGet.Config Bestand weergeven

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>

+ 1
- 0
src/BPA.Component.Template.Files/README.md Bestand weergeven

@@ -0,0 +1 @@
# BPA.Component

+ 17
- 0
src/BPA.Component.sln Bestand weergeven

@@ -64,6 +64,17 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BPA.Component.RabbitMQClien
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tester", "Tester", "{C09304A6-255C-4693-B704-8C1FBD57CF85}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Template", "Template", "{114E6F3D-9A66-47DF-AB8E-1BE6EC85213E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BPA.Component.Template.Console", "BPA.Component.Template.Console\BPA.Component.Template.Console.csproj", "{F8581079-3BE5-47BB-93CA-AC20753157B6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Files", "Files", "{2B2DAA5B-0BD9-4DAD-A53E-1C52B7F14E0D}"
ProjectSection(SolutionItems) = preProject
BPA.Component.Template.Files\.gitignore = BPA.Component.Template.Files\.gitignore
BPA.Component.Template.Files\NuGet.Config = BPA.Component.Template.Files\NuGet.Config
BPA.Component.Template.Files\README.md = BPA.Component.Template.Files\README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -166,6 +177,10 @@ Global
{0545F9FD-8302-440D-AF94-AD671F130479}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0545F9FD-8302-440D-AF94-AD671F130479}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0545F9FD-8302-440D-AF94-AD671F130479}.Release|Any CPU.Build.0 = Release|Any CPU
{F8581079-3BE5-47BB-93CA-AC20753157B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F8581079-3BE5-47BB-93CA-AC20753157B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F8581079-3BE5-47BB-93CA-AC20753157B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F8581079-3BE5-47BB-93CA-AC20753157B6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -195,6 +210,8 @@ Global
{BCCC8684-C155-4FC2-A648-1DD5E550B568} = {C09304A6-255C-4693-B704-8C1FBD57CF85}
{0545F9FD-8302-440D-AF94-AD671F130479} = {C09304A6-255C-4693-B704-8C1FBD57CF85}
{78463667-1A86-48ED-B459-0AE2C1CBC668} = {C09304A6-255C-4693-B704-8C1FBD57CF85}
{F8581079-3BE5-47BB-93CA-AC20753157B6} = {114E6F3D-9A66-47DF-AB8E-1BE6EC85213E}
{2B2DAA5B-0BD9-4DAD-A53E-1C52B7F14E0D} = {114E6F3D-9A66-47DF-AB8E-1BE6EC85213E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BFAED85B-04C4-4FB1-BD83-83C3E08D7323}


Laden…
Annuleren
Opslaan