提交 d0f9f04a 编写于 作者: T tanghai

去掉原来go写得fileserver,用asp.net core实现一个跨平台的简易fileserver

感谢初见提供FileServer代码
上级 c8c66bc3

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2036
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Client", "Client", "{914C77C9-212A-4DD0-8D9A-074620E77FAA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Server", "Server", "{46008B91-6EC0-448B-8D1A-D8C6D2EEBEF4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ThirdParty", "ThirdParty", "{78640FA0-9F11-412D-A639-61F03D02407A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server.App", "Server\App\Server.App.csproj", "{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server.Model", "Server\Model\Server.Model.csproj", "{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Server.Hotfix", "Server\Hotfix\Server.Hotfix.csproj", "{C305ED5B-8425-47A1-BEE1-85830CADC27A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MongodbDriver", "MongodbDriver", "{4940CE10-6652-4AC6-9D30-CF200A217643}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDB.Bson", "Server\ThirdParty\MongodbDriver\DotNetCoreDriver\MongoDB.Bson\MongoDB.Bson.csproj", "{BC611535-3BDA-45C5-8765-9E242E312B8F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDB.Driver", "Server\ThirdParty\MongodbDriver\DotNetCoreDriver\MongoDB.Driver\MongoDB.Driver.csproj", "{6D19C1F8-085C-422E-8DAF-2E49024DB08C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDB.Driver.Core", "Server\ThirdParty\MongodbDriver\DotNetCoreDriver\MongoDB.Driver.Core\MongoDB.Driver.Core.csproj", "{831276B2-B7EB-4FD0-93E5-4D2109C78950}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Unity\Assembly-CSharp.csproj", "{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor-firstpass", "Unity\Assembly-CSharp-Editor-firstpass.csproj", "{F534D6C4-3368-032B-289C-A943CC171719}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Unity\Assembly-CSharp-Editor.csproj", "{6311E6C6-0A20-383B-320B-694068DE37A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-firstpass", "Unity\Assembly-CSharp-firstpass.csproj", "{2662B409-6332-1E56-D797-C9025C53BDD6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Hotfix", "Unity\Hotfix\Assembly-CSharp-Hotfix.csproj", "{40533600-4E69-4F7D-A924-E1A3B4127255}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Debug|x64.ActiveCfg = Debug|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Debug|x64.Build.0 = Debug|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Debug|x86.ActiveCfg = Debug|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Debug|x86.Build.0 = Debug|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Release|Any CPU.Build.0 = Release|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Release|x64.ActiveCfg = Release|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Release|x64.Build.0 = Release|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Release|x86.ActiveCfg = Release|Any CPU
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8}.Release|x86.Build.0 = Release|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Debug|x64.ActiveCfg = Debug|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Debug|x64.Build.0 = Debug|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Debug|x86.ActiveCfg = Debug|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Debug|x86.Build.0 = Debug|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Release|Any CPU.Build.0 = Release|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Release|x64.ActiveCfg = Release|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Release|x64.Build.0 = Release|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Release|x86.ActiveCfg = Release|Any CPU
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D}.Release|x86.Build.0 = Release|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Debug|x64.ActiveCfg = Debug|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Debug|x64.Build.0 = Debug|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Debug|x86.ActiveCfg = Debug|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Debug|x86.Build.0 = Debug|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Release|Any CPU.Build.0 = Release|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Release|x64.ActiveCfg = Release|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Release|x64.Build.0 = Release|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Release|x86.ActiveCfg = Release|Any CPU
{C305ED5B-8425-47A1-BEE1-85830CADC27A}.Release|x86.Build.0 = Release|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Debug|x64.ActiveCfg = Debug|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Debug|x64.Build.0 = Debug|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Debug|x86.ActiveCfg = Debug|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Debug|x86.Build.0 = Debug|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Release|Any CPU.Build.0 = Release|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Release|x64.ActiveCfg = Release|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Release|x64.Build.0 = Release|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Release|x86.ActiveCfg = Release|Any CPU
{BC611535-3BDA-45C5-8765-9E242E312B8F}.Release|x86.Build.0 = Release|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Debug|x64.ActiveCfg = Debug|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Debug|x64.Build.0 = Debug|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Debug|x86.ActiveCfg = Debug|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Debug|x86.Build.0 = Debug|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Release|Any CPU.Build.0 = Release|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Release|x64.ActiveCfg = Release|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Release|x64.Build.0 = Release|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Release|x86.ActiveCfg = Release|Any CPU
{6D19C1F8-085C-422E-8DAF-2E49024DB08C}.Release|x86.Build.0 = Release|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Debug|Any CPU.Build.0 = Debug|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Debug|x64.ActiveCfg = Debug|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Debug|x64.Build.0 = Debug|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Debug|x86.ActiveCfg = Debug|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Debug|x86.Build.0 = Debug|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Release|Any CPU.ActiveCfg = Release|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Release|Any CPU.Build.0 = Release|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Release|x64.ActiveCfg = Release|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Release|x64.Build.0 = Release|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Release|x86.ActiveCfg = Release|Any CPU
{831276B2-B7EB-4FD0-93E5-4D2109C78950}.Release|x86.Build.0 = Release|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Debug|x64.ActiveCfg = Debug|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Debug|x64.Build.0 = Debug|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Debug|x86.ActiveCfg = Debug|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Debug|x86.Build.0 = Debug|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Release|Any CPU.Build.0 = Release|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Release|x64.ActiveCfg = Release|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Release|x64.Build.0 = Release|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Release|x86.ActiveCfg = Release|Any CPU
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A}.Release|x86.Build.0 = Release|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Debug|x64.ActiveCfg = Debug|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Debug|x64.Build.0 = Debug|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Debug|x86.ActiveCfg = Debug|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Debug|x86.Build.0 = Debug|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Release|Any CPU.Build.0 = Release|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Release|x64.ActiveCfg = Release|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Release|x64.Build.0 = Release|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Release|x86.ActiveCfg = Release|Any CPU
{F534D6C4-3368-032B-289C-A943CC171719}.Release|x86.Build.0 = Release|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Debug|x64.ActiveCfg = Debug|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Debug|x64.Build.0 = Debug|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Debug|x86.ActiveCfg = Debug|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Debug|x86.Build.0 = Debug|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Release|Any CPU.Build.0 = Release|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Release|x64.ActiveCfg = Release|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Release|x64.Build.0 = Release|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Release|x86.ActiveCfg = Release|Any CPU
{6311E6C6-0A20-383B-320B-694068DE37A5}.Release|x86.Build.0 = Release|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Debug|x64.ActiveCfg = Debug|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Debug|x64.Build.0 = Debug|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Debug|x86.ActiveCfg = Debug|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Debug|x86.Build.0 = Debug|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Release|Any CPU.Build.0 = Release|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Release|x64.ActiveCfg = Release|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Release|x64.Build.0 = Release|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Release|x86.ActiveCfg = Release|Any CPU
{2662B409-6332-1E56-D797-C9025C53BDD6}.Release|x86.Build.0 = Release|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Debug|x64.ActiveCfg = Debug|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Debug|x64.Build.0 = Debug|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Debug|x86.ActiveCfg = Debug|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Debug|x86.Build.0 = Debug|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Release|Any CPU.Build.0 = Release|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Release|x64.ActiveCfg = Release|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Release|x64.Build.0 = Release|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Release|x86.ActiveCfg = Release|Any CPU
{40533600-4E69-4F7D-A924-E1A3B4127255}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{78640FA0-9F11-412D-A639-61F03D02407A} = {46008B91-6EC0-448B-8D1A-D8C6D2EEBEF4}
{69F1AA11-D05A-4843-B0DD-56B5E2E212A8} = {46008B91-6EC0-448B-8D1A-D8C6D2EEBEF4}
{EE38E3D2-3D2A-4061-BD50-AE8568126C7D} = {46008B91-6EC0-448B-8D1A-D8C6D2EEBEF4}
{C305ED5B-8425-47A1-BEE1-85830CADC27A} = {46008B91-6EC0-448B-8D1A-D8C6D2EEBEF4}
{4940CE10-6652-4AC6-9D30-CF200A217643} = {78640FA0-9F11-412D-A639-61F03D02407A}
{BC611535-3BDA-45C5-8765-9E242E312B8F} = {4940CE10-6652-4AC6-9D30-CF200A217643}
{6D19C1F8-085C-422E-8DAF-2E49024DB08C} = {4940CE10-6652-4AC6-9D30-CF200A217643}
{831276B2-B7EB-4FD0-93E5-4D2109C78950} = {4940CE10-6652-4AC6-9D30-CF200A217643}
{CD8C9303-404B-FB8D-6B9B-21988D5CAC0A} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
{F534D6C4-3368-032B-289C-A943CC171719} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
{6311E6C6-0A20-383B-320B-694068DE37A5} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
{2662B409-6332-1E56-D797-C9025C53BDD6} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
{40533600-4E69-4F7D-A924-E1A3B4127255} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EABC01E3-3EB5-47EF-B46E-AAD8BB3585F1}
EndGlobalSection
EndGlobal
此差异已折叠。
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntelliSenseCompletingCharacters/CSharpCompletingCharacters/NonCompletingCharacters/@EntryValue"></s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AC2G_005FEnterMapHandler_002Ecs_002Fl_003AServer_003FHotfix_003FHandler_003FC2G_005FEnterMapHandler_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AInnerOpcode_002Ecs_002Fl_003AServer_003FModel_003FEntity_003FMessage_003FInnerOpcode_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003APlayer_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FEntity_003FPlayer_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003APlayerComponent_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FComponent_003FPlayerComponent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003APlayerFactory_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FFactory_003FPlayerFactory_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AUnitComponent_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FComponent_003FUnitComponent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/AnalysisEnabled/@EntryValue">VISIBLE_FILES</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceForeachStatementBraces/@EntryIndexedValue">HINT</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceIfStatementBraces/@EntryIndexedValue">HINT</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=EnforceWhileStatementBraces/@EntryIndexedValue">HINT</s:String>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=Unity/@EntryIndexedValue">&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;Profile name="Unity"&gt;&lt;CSArrangeThisQualifier&gt;True&lt;/CSArrangeThisQualifier&gt;&lt;CSRemoveCodeRedundancies&gt;True&lt;/CSRemoveCodeRedundancies&gt;&lt;CSMakeFieldReadonly&gt;True&lt;/CSMakeFieldReadonly&gt;&lt;CSUseVar&gt;&lt;BehavourStyle&gt;DISABLED&lt;/BehavourStyle&gt;&lt;LocalVariableStyle&gt;IMPLICIT_WHEN_INITIALIZER_HAS_TYPE&lt;/LocalVariableStyle&gt;&lt;ForeachVariableStyle&gt;IMPLICIT_EXCEPT_SIMPLE_TYPES&lt;/ForeachVariableStyle&gt;&lt;/CSUseVar&gt;&lt;CSOptimizeUsings&gt;&lt;OptimizeUsings&gt;True&lt;/OptimizeUsings&gt;&lt;EmbraceInRegion&gt;False&lt;/EmbraceInRegion&gt;&lt;RegionName&gt;&lt;/RegionName&gt;&lt;/CSOptimizeUsings&gt;&lt;CSShortenReferences&gt;True&lt;/CSShortenReferences&gt;&lt;CSReformatCode&gt;True&lt;/CSReformatCode&gt;&lt;CSMakeAutoPropertyGetOnly&gt;True&lt;/CSMakeAutoPropertyGetOnly&gt;&lt;CSUseAutoProperty&gt;True&lt;/CSUseAutoProperty&gt;&lt;RemoveCodeRedundancies&gt;True&lt;/RemoveCodeRedundancies&gt;&lt;CSCodeStyleAttributes ArrangeTypeAccessModifier="True" ArrangeTypeMemberAccessModifier="True" SortModifiers="True" RemoveRedundantParentheses="True" AddMissingParentheses="True" ArrangeBraces="True" ArrangeAttributes="True" ArrangeArgumentsStyle="True" ArrangeCodeBodyStyle="True" /&gt;&lt;/Profile&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/CodeCleanup/RecentlyUsedProfile/@EntryValue">Unity</s:String>
<s:String x:Key="/Default/Housekeeping/Layout/DialogWindows/RefactoringWizardWindow/Location/@EntryValue">122,-178</s:String>
<s:Int64 x:Key="/Default/Environment/SearchAndNavigation/DefaultOccurrencesGroupingIndex/@EntryValue">0</s:Int64>
<s:String x:Key="/Default/Profiling/Configurations/=1/@EntryIndexedValue">&lt;data&gt;&lt;HostParameters type="LocalHostParameters" /&gt;&lt;Argument type="StandaloneArgument"&gt;&lt;Arguments IsNull="False"&gt;&lt;/Arguments&gt;&lt;FileName IsNull="False"&gt;&lt;/FileName&gt;&lt;WorkingDirectory IsNull="False"&gt;&lt;/WorkingDirectory&gt;&lt;Scope&gt;&lt;ProcessFilters /&gt;&lt;/Scope&gt;&lt;/Argument&gt;&lt;Info type="TimelineInfo" /&gt;&lt;HostOptions type="HostOptions"&gt;&lt;HostTempPath IsNull="False"&gt;&lt;/HostTempPath&gt;&lt;/HostOptions&gt;&lt;/data&gt;</s:String>
</wpf:ResourceDictionary>
\ No newline at end of file
......@@ -39,6 +39,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{4BC66C3C
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Proto2CS", "Tools\Proto2CS\Proto2CS.csproj", "{CC55624F-D5CB-4705-A879-9FCAEC1FED71}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FileServer", "Tools\FileServer\FileServer.csproj", "{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
......@@ -205,6 +207,18 @@ Global
{CC55624F-D5CB-4705-A879-9FCAEC1FED71}.Release|x64.Build.0 = Release|Any CPU
{CC55624F-D5CB-4705-A879-9FCAEC1FED71}.Release|x86.ActiveCfg = Release|Any CPU
{CC55624F-D5CB-4705-A879-9FCAEC1FED71}.Release|x86.Build.0 = Release|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Debug|x64.ActiveCfg = Debug|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Debug|x64.Build.0 = Debug|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Debug|x86.ActiveCfg = Debug|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Debug|x86.Build.0 = Debug|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Release|Any CPU.Build.0 = Release|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Release|x64.ActiveCfg = Release|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Release|x64.Build.0 = Release|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Release|x86.ActiveCfg = Release|Any CPU
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......@@ -225,6 +239,7 @@ Global
{CFBC0A95-3456-3439-6B2E-60FDE0FE5EE1} = {914C77C9-212A-4DD0-8D9A-074620E77FAA}
{CD9683D9-0B4B-42D1-A1E0-1689BEEFD725} = {78640FA0-9F11-412D-A639-61F03D02407A}
{CC55624F-D5CB-4705-A879-9FCAEC1FED71} = {4BC66C3C-D55F-4FAA-A2F5-29E8EB1797AE}
{1C2827BF-AA19-402A-BFD1-1C92E6B8FD84} = {4BC66C3C-D55F-4FAA-A2F5-29E8EB1797AE}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EABC01E3-3EB5-47EF-B46E-AAD8BB3585F1}
......
此差异已折叠。
package main
import (
"log"
"net/http"
)
func main() {
// Simple static webserver:
log.Fatal(http.ListenAndServe(":8080", http.FileServer(http.Dir("../Release/"))))
}
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\USER-PC\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\USER-PC\\.nuget\\packages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}
\ No newline at end of file
{
"runtimeOptions": {
"tfm": "netcoreapp2.1",
"framework": {
"name": "Microsoft.AspNetCore.App",
"version": "2.1.1"
},
"configProperties": {
"System.GC.Server": true
}
}
}
\ No newline at end of file
{
"urls": "http://*:8088;http://*:8080",
"DirectoryPath": "../Release/"
}
\ No newline at end of file
namespace ETFileServer
{
public class Appsettings
{
public string DirectoryPath;
public int Port;
}
}
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>../../FileServer/</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>../../FileServer/</OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0-preview3-35497" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.2.0-preview3-35497" />
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="Properties\launchSettings.json" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace ETFileServer
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
public static IWebHostBuilder CreateWebHostBuilder(string[] args)
{
var config = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("appsettings.json", true)
.Build();
return WebHost.CreateDefaultBuilder(args).UseUrls(config["urls"])
.UseStartup<Startup>();
}
}
}
\ No newline at end of file
using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
namespace ETFileServer
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddDirectoryBrowser(); //开启目录浏览
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
if (env.IsDevelopment()) app.UseDeveloperExceptionPage();
var config = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("appsettings.json", true)
.Build();
string configDir = config["DirectoryPath"];
configDir = new DirectoryInfo(configDir).FullName;
Console.WriteLine(configDir);
UseStaticFiles(app, configDir);
app.Run(async (context) => { await context.Response.WriteAsync("Welcome to the ET file server!"); });
}
private void UseStaticFiles(IApplicationBuilder app, string filePath)
{
var staticfile = new StaticFileOptions
{
ServeUnknownFileTypes = true,
FileProvider = new PhysicalFileProvider(filePath),
DefaultContentType = "application/x-msdownload"
};
// 设置MIME类型类型
staticfile.ContentTypeProvider = new FileExtensionContentTypeProvider
{
Mappings =
{
["*"] = "application/x-msdownload"
}
};
app.UseDirectoryBrowser(new DirectoryBrowserOptions(){ FileProvider = staticfile.FileProvider });
app.UseStaticFiles(staticfile);
}
}
}
\ No newline at end of file
{
"urls": "http://*:8088;http://*:8080",
"DirectoryPath": "../../Release/"
}
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2046
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Proto2CS", "Proto2CS\Proto2CS.csproj", "{6903B08C-40ED-4324-9F33-E65E9341EC95}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6903B08C-40ED-4324-9F33-E65E9341EC95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6903B08C-40ED-4324-9F33-E65E9341EC95}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6903B08C-40ED-4324-9F33-E65E9341EC95}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6903B08C-40ED-4324-9F33-E65E9341EC95}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {26215A9A-992A-4D3E-9EE3-DE8128C832E2}
EndGlobalSection
EndGlobal
......@@ -35,18 +35,13 @@ namespace ETEditor
[MenuItem("Tools/web资源服务器")]
public static void OpenFileServer()
{
#if !UNITY_EDITOR_OSX
string currentDir = System.Environment.CurrentDirectory;
string path = Path.Combine(currentDir, @"..\FileServer\");
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "FileServer.exe";
process.StartInfo.WorkingDirectory = path;
process.StartInfo.FileName = "dotnet";
process.StartInfo.Arguments = "FileServer.dll";
process.StartInfo.WorkingDirectory = "../FileServer/";
process.StartInfo.CreateNoWindow = true;
process.Start();
#else
string path = System.Environment.CurrentDirectory + "/../FileServer/";
("cd " + path + " && go run FileServer.go").Bash(path, true);
#endif
}
public static void Build(PlatformType type, BuildAssetBundleOptions buildAssetBundleOptions, BuildOptions buildOptions, bool isBuildExe, bool isContainAB)
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册