mirror of
https://github.com/miyconst/Mi899.git
synced 2026-09-12 09:58:17 +02:00
Mi899 Online into docs for gh-pages
This commit is contained in:
@@ -16,7 +16,28 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mi899.Data.Tests", "tests\Mi899.Data.Tests\Mi899.Data.Tests.csproj", "{D6EA25CB-907D-4509-A5D3-459A67D6E489}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mi899.Online", "src\Mi899.Online\Mi899.Online.csproj", "{BF8740F5-6A72-4E97-B971-D8535863FFEB}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mi899.Online", "src\Mi899.Online\Mi899.Online.csproj", "{BF8740F5-6A72-4E97-B971-D8535863FFEB}"
|
||||
EndProject
|
||||
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "docs", "docs\", "{51DB9834-2C93-4B24-9740-4731F4A9CB10}"
|
||||
ProjectSection(WebsiteProperties) = preProject
|
||||
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5"
|
||||
Debug.AspNetCompiler.VirtualPath = "/localhost_56580"
|
||||
Debug.AspNetCompiler.PhysicalPath = "docs\"
|
||||
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_56580\"
|
||||
Debug.AspNetCompiler.Updateable = "true"
|
||||
Debug.AspNetCompiler.ForceOverwrite = "true"
|
||||
Debug.AspNetCompiler.FixedNames = "false"
|
||||
Debug.AspNetCompiler.Debug = "True"
|
||||
Release.AspNetCompiler.VirtualPath = "/localhost_56580"
|
||||
Release.AspNetCompiler.PhysicalPath = "docs\"
|
||||
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_56580\"
|
||||
Release.AspNetCompiler.Updateable = "true"
|
||||
Release.AspNetCompiler.ForceOverwrite = "true"
|
||||
Release.AspNetCompiler.FixedNames = "false"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
VWDPort = "56580"
|
||||
SlnRelativePath = "docs\"
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@@ -40,6 +61,10 @@ Global
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{51DB9834-2C93-4B24-9740-4731F4A9CB10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{51DB9834-2C93-4B24-9740-4731F4A9CB10}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{51DB9834-2C93-4B24-9740-4731F4A9CB10}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{51DB9834-2C93-4B24-9740-4731F4A9CB10}.Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.1.32228.430
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mi899", "src\Mi899\Mi899.csproj", "{EB03C864-42D6-4000-B7C5-12BCBE965DDC}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mi899.Data", "src\Mi899.Data\Mi899.Data.csproj", "{E2C5424D-F2BE-47D2-A754-7BC463C09DDE}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{648091EB-6B01-4DEF-BD07-7362B61986B2}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
.gitignore = .gitignore
|
||||
LICENSE = LICENSE
|
||||
README.md = README.md
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mi899.Data.Tests", "tests\Mi899.Data.Tests\Mi899.Data.Tests.csproj", "{D6EA25CB-907D-4509-A5D3-459A67D6E489}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mi899.Online", "Mi899.Online\Mi899.Online.csproj", "{BF8740F5-6A72-4E97-B971-D8535863FFEB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{EB03C864-42D6-4000-B7C5-12BCBE965DDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EB03C864-42D6-4000-B7C5-12BCBE965DDC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EB03C864-42D6-4000-B7C5-12BCBE965DDC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{EB03C864-42D6-4000-B7C5-12BCBE965DDC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E2C5424D-F2BE-47D2-A754-7BC463C09DDE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E2C5424D-F2BE-47D2-A754-7BC463C09DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E2C5424D-F2BE-47D2-A754-7BC463C09DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E2C5424D-F2BE-47D2-A754-7BC463C09DDE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D6EA25CB-907D-4509-A5D3-459A67D6E489}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D6EA25CB-907D-4509-A5D3-459A67D6E489}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D6EA25CB-907D-4509-A5D3-459A67D6E489}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D6EA25CB-907D-4509-A5D3-459A67D6E489}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BF8740F5-6A72-4E97-B971-D8535863FFEB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {4890D716-2C19-449B-BF6A-38D2A778C925}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<!--
|
||||
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
|
||||
|
||||
The following attributes can be set on the <httpRuntime> tag.
|
||||
<system.Web>
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
</system.Web>
|
||||
-->
|
||||
<system.web>
|
||||
<compilation targetFramework="4.5"/>
|
||||
<pages controlRenderingCompatibilityVersion="4.0"/>
|
||||
</system.web>
|
||||
</configuration>
|
||||
|
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
@@ -7,15 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Remove="wwwroot\favicon.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="wwwroot\favicon.ico" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\libs\" />
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseStaticFiles();
|
||||
StaticFileOptions options = new()
|
||||
{
|
||||
FileProvider = new PhysicalFileProvider(Path.Combine(builder.Environment.ContentRootPath, "../../docs"))
|
||||
};
|
||||
app.UseStaticFiles(options);
|
||||
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user