创建空白的RazorEngineTest项目

This commit is contained in:
于智纯
2025-08-30 17:26:22 +08:00
parent dcdd46f4a7
commit d4ff4063e4
7 changed files with 87 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RazorEngine", "RazorEngine"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorEngine", "RazorEngine\RazorEngine\RazorEngine.csproj", "{E8F7C275-2911-4C71-A573-6DD30C83ABDB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorEngineTest", "RazorEngineTest\RazorEngineTest.csproj", "{FC6F39E4-3114-41F0-A18F-F358B190E6A3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -17,12 +19,17 @@ Global
{E8F7C275-2911-4C71-A573-6DD30C83ABDB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E8F7C275-2911-4C71-A573-6DD30C83ABDB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E8F7C275-2911-4C71-A573-6DD30C83ABDB}.Release|Any CPU.Build.0 = Release|Any CPU
{FC6F39E4-3114-41F0-A18F-F358B190E6A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FC6F39E4-3114-41F0-A18F-F358B190E6A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC6F39E4-3114-41F0-A18F-F358B190E6A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC6F39E4-3114-41F0-A18F-F358B190E6A3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{E8F7C275-2911-4C71-A573-6DD30C83ABDB} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{FC6F39E4-3114-41F0-A18F-F358B190E6A3} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {96BE48AA-64AB-4929-BD86-EEF0295166B4}

9
RazorEngineTest/App.xaml Normal file
View File

@@ -0,0 +1,9 @@
<Application x:Class="RazorEngineTest.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:RazorEngineTest"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

View File

@@ -0,0 +1,14 @@
using System.Configuration;
using System.Data;
using System.Windows;
namespace RazorEngineTest
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

View File

@@ -0,0 +1,10 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

View File

@@ -0,0 +1,12 @@
<Window x:Class="RazorEngineTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:RazorEngineTest"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
</Grid>
</Window>

View File

@@ -0,0 +1,24 @@
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace RazorEngineTest
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>