From d4ff4063e4409658a76f2d3c2c86274b69ee90e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E6=99=BA=E7=BA=AF?= <于智纯@LODESTAR> Date: Sat, 30 Aug 2025 17:26:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=A9=BA=E7=99=BD=E7=9A=84Ra?= =?UTF-8?q?zorEngineTest=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ExampleSolution.sln | 7 +++++++ RazorEngineTest/App.xaml | 9 +++++++++ RazorEngineTest/App.xaml.cs | 14 ++++++++++++++ RazorEngineTest/AssemblyInfo.cs | 10 ++++++++++ RazorEngineTest/MainWindow.xaml | 12 ++++++++++++ RazorEngineTest/MainWindow.xaml.cs | 24 ++++++++++++++++++++++++ RazorEngineTest/RazorEngineTest.csproj | 11 +++++++++++ 7 files changed, 87 insertions(+) create mode 100644 RazorEngineTest/App.xaml create mode 100644 RazorEngineTest/App.xaml.cs create mode 100644 RazorEngineTest/AssemblyInfo.cs create mode 100644 RazorEngineTest/MainWindow.xaml create mode 100644 RazorEngineTest/MainWindow.xaml.cs create mode 100644 RazorEngineTest/RazorEngineTest.csproj diff --git a/ExampleSolution.sln b/ExampleSolution.sln index 8229ace..9c61ae8 100644 --- a/ExampleSolution.sln +++ b/ExampleSolution.sln @@ -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} diff --git a/RazorEngineTest/App.xaml b/RazorEngineTest/App.xaml new file mode 100644 index 0000000..03ed5f0 --- /dev/null +++ b/RazorEngineTest/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/RazorEngineTest/App.xaml.cs b/RazorEngineTest/App.xaml.cs new file mode 100644 index 0000000..7809367 --- /dev/null +++ b/RazorEngineTest/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace RazorEngineTest +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/RazorEngineTest/AssemblyInfo.cs b/RazorEngineTest/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/RazorEngineTest/AssemblyInfo.cs @@ -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) +)] diff --git a/RazorEngineTest/MainWindow.xaml b/RazorEngineTest/MainWindow.xaml new file mode 100644 index 0000000..9bb139d --- /dev/null +++ b/RazorEngineTest/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + + diff --git a/RazorEngineTest/MainWindow.xaml.cs b/RazorEngineTest/MainWindow.xaml.cs new file mode 100644 index 0000000..b0ac98a --- /dev/null +++ b/RazorEngineTest/MainWindow.xaml.cs @@ -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 +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/RazorEngineTest/RazorEngineTest.csproj b/RazorEngineTest/RazorEngineTest.csproj new file mode 100644 index 0000000..e3e33e3 --- /dev/null +++ b/RazorEngineTest/RazorEngineTest.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + enable + true + + +