From e79d91c5d63a94de51872ed473b7fbba4b66d422 Mon Sep 17 00:00:00 2001 From: bicijinlian Date: Sat, 5 Apr 2025 13:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Python=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E5=86=85=E6=A0=B8=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../多语言笔记.3.1.交互式 Razor.ipynb | 38 +---- ...多语言笔记.3.2.交互式 Blazor.ipynb | 106 +++++++++++-- Docs/多语言笔记.9.2.使用python.ipynb | 140 ++++++++++++++++++ NotebookStudy.Test/GlobalUsings.cs | 1 + NotebookStudy.Test/NotebookStudy.Test.csproj | 25 ++++ NotebookStudy.Test/UseXunit.cs | 24 +++ NotebookStudy.sln | 12 +- 7 files changed, 295 insertions(+), 51 deletions(-) create mode 100644 Docs/多语言笔记.9.2.使用python.ipynb create mode 100644 NotebookStudy.Test/GlobalUsings.cs create mode 100644 NotebookStudy.Test/NotebookStudy.Test.csproj create mode 100644 NotebookStudy.Test/UseXunit.cs diff --git a/Docs/多语言笔记.3.1.交互式 Razor.ipynb b/Docs/多语言笔记.3.1.交互式 Razor.ipynb index 4f68851..f0bea01 100644 --- a/Docs/多语言笔记.3.1.交互式 Razor.ipynb +++ b/Docs/多语言笔记.3.1.交互式 Razor.ipynb @@ -68,7 +68,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": { "dotnet_interactive": { "language": "razor" @@ -77,41 +77,7 @@ "kernelName": "razor" } }, - "outputs": [ - { - "ename": "Error", - "evalue": "Required command was not provided.\r\nValue '{' not found in kernel .NET\r\nValue 'foreach(var' not found in kernel .NET\r\nUnrecognized command or argument '#!razor'.\r\nUnrecognized command or argument 'var'.\r\nUnrecognized command or argument 'colors'.\r\nUnrecognized command or argument '='.\r\nUnrecognized command or argument 'new'.\r\nUnrecognized command or argument '[]'.\r\nUnrecognized command or argument '{'.\r\nUnrecognized command or argument 'red'.\r\nUnrecognized command or argument ','.\r\nUnrecognized command or argument 'green'.\r\nUnrecognized command or argument ','.\r\nUnrecognized command or argument 'blue'.\r\nUnrecognized command or argument '};'.\r\nUnrecognized command or argument '}'.\r\nUnrecognized command or argument '
    '.\r\nUnrecognized command or argument 'color'.\r\nUnrecognized command or argument 'in'.\r\nUnrecognized command or argument 'colors)'.\r\nUnrecognized command or argument '{'.\r\nUnrecognized command or argument '@color'.\r\nUnrecognized command or argument '}'.\r\nUnrecognized command or argument '
'.", - "output_type": "error", - "traceback": [ - "Required command was not provided.\r\n", - "Value '{' not found in kernel .NET\r\n", - "Value 'foreach(var' not found in kernel .NET\r\n", - "Unrecognized command or argument '#!razor'.\r\n", - "Unrecognized command or argument 'var'.\r\n", - "Unrecognized command or argument 'colors'.\r\n", - "Unrecognized command or argument '='.\r\n", - "Unrecognized command or argument 'new'.\r\n", - "Unrecognized command or argument '[]'.\r\n", - "Unrecognized command or argument '{'.\r\n", - "Unrecognized command or argument 'red'.\r\n", - "Unrecognized command or argument ','.\r\n", - "Unrecognized command or argument 'green'.\r\n", - "Unrecognized command or argument ','.\r\n", - "Unrecognized command or argument 'blue'.\r\n", - "Unrecognized command or argument '};'.\r\n", - "Unrecognized command or argument '}'.\r\n", - "Unrecognized command or argument '
    '.\r\n", - "Unrecognized command or argument 'color'.\r\n", - "Unrecognized command or argument 'in'.\r\n", - "Unrecognized command or argument 'colors)'.\r\n", - "Unrecognized command or argument '{'.\r\n", - "Unrecognized command or argument '@color'.\r\n", - "Unrecognized command or argument '}'.\r\n", - "Unrecognized command or argument '
'." - ] - } - ], + "outputs": [], "source": [ "#!razor\n", "\n", diff --git a/Docs/多语言笔记.3.2.交互式 Blazor.ipynb b/Docs/多语言笔记.3.2.交互式 Blazor.ipynb index 499a424..7e2231d 100644 --- a/Docs/多语言笔记.3.2.交互式 Blazor.ipynb +++ b/Docs/多语言笔记.3.2.交互式 Blazor.ipynb @@ -12,7 +12,11 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "在笔记本中使用Blazor:原生的没找到介绍和使用方法。但找到一大侠开发的扩展库-[BlazorInteractive](https://github.com/plbonneville/BlazorInteractive),使用前只要引入此nuget包即可。" + "在笔记本中使用Blazor:原生的没找到介绍和使用方法。但找到一大侠开发的扩展库-[BlazorInteractive](https://github.com/plbonneville/BlazorInteractive),使用前只要引入此nuget包即可。\n", + "\n", + "特别注意:此方法在.net 8中使用,**.net 9+中异常**(.NET 9 移除了执行JS相关的 Microsoft.JSInterop.IJSUnmarshalledRuntime);\n", + "\n", + "> 目前,没有找到解决方案。已经向BlazorInteractive库提交了问题,但该库已年久失修(停止在.net 8),不知道能不能解决及发布适用.net 9的新版。" ] }, { @@ -34,11 +38,64 @@ "kernelName": "csharp" } }, - "outputs": [], + "outputs": [ + { + "data": { + "text/html": [ + "
Restore sources
  • https://api.nuget.org/v3/index.json
Installed Packages
  • BlazorInteractive, 1.2.0
" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/plain": [ + "Loading extensions from `C:\\Users\\ruyu\\.nuget\\packages\\blazorinteractive\\1.2.0\\lib\\net8.0\\BlazorInteractive.dll`" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n", + " Compile and render Razor components (.razor) in .NET Interactive Notebooks.\n", + "

This extension adds a new kernel that can render Blazor markdown.

\n", + "\n", + "
\n",
+       "        \n",
+       "#!blazor\n",
+       "

Counter

\n", + "\n", + "

\n", + " Current count: @currentCount\n", + "

\n", + "\n", + "@code {\n", + " int currentCount = 0;\n", + "}
\n", + "
\n", + "\n", + "

This extension also adds the compiled component as a type to the interactive workspace.

\n", + "\n", + "

Options:

\n", + " \n", + "
" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ - "// 可以先添加包源\n", + "// [可选的]添加包源(默认也是 https://api.nuget.org/v3/index.json)\n", "#i \"nuget:https://api.nuget.org/v3/index.json\"\n", "\n", + "//添加 Nuget包\n", "#r \"nuget: BlazorInteractive\"" ] }, @@ -52,7 +109,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": { "dotnet_interactive": { "language": "csharp" @@ -76,7 +133,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "metadata": { "dotnet_interactive": { "language": "razor" @@ -87,13 +144,38 @@ }, "outputs": [ { - "data": { - "text/html": [ - "

Hello Blazor

" - ] - }, - "metadata": {}, - "output_type": "display_data" + "ename": "Error", + "evalue": "System.AggregateException: One or more errors occurred. (Could not load type 'Microsoft.JSInterop.IJSUnmarshalledRuntime' from assembly 'Microsoft.JSInterop, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)\r\n ---> System.TypeLoadException: Could not load type 'Microsoft.JSInterop.IJSUnmarshalledRuntime' from assembly 'Microsoft.JSInterop, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.\r\n at Bunit.BunitJSInterop..ctor()\r\n at Bunit.TestContext..ctor() in /_/src/bunit.web/TestContext.cs:line 14\r\n at BlazorInteractive.BlazorExtensions.GenerateHtml(Byte[] assemblyBytes, String componentName)\r\n at BlazorInteractive.BlazorExtensions.<>c__DisplayClass0_1`1.<b__1>d.MoveNext()\r\n --- End of inner exception stack trace ---\r\n at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n at System.Threading.Tasks.Task.Wait()\r\n at BlazorInteractive.BlazorExtensions.<>c__DisplayClass0_0`1.b__0(BlazorMarkdown markdown, TextWriter writer)\r\n at Microsoft.DotNet.Interactive.Formatting.Formatter.<>c__DisplayClass46_0`1.b__0(Object value, FormatContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter.cs:line 426\r\n at Microsoft.DotNet.Interactive.Formatting.AnonymousTypeFormatter`1.Format(T instance, FormatContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\AnonymousTypeFormatter{T}.cs:line 30\r\n at Microsoft.DotNet.Interactive.Formatting.TypeFormatter`1.Microsoft.DotNet.Interactive.Formatting.ITypeFormatter.Format(Object instance, FormatContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\TypeFormatter{T}.cs:line 23\r\n at Microsoft.DotNet.Interactive.Formatting.Formatter`1.FormatTo(T obj, FormatContext context, String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter{T}.cs:line 79\r\n at Microsoft.DotNet.Interactive.Formatting.Formatter.FormatTo[T](T obj, FormatContext context, String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter.cs:line 319\r\n at Microsoft.DotNet.Interactive.Formatting.Formatter.ToDisplayString(Object obj, String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter.cs:line 276\r\n at Microsoft.DotNet.Interactive.FormattedValue.<>c__DisplayClass12_0.b__0(String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\FormattedValue.cs:line 49\r\n at System.Linq.Enumerable.ArraySelectIterator`2.ToArray()\r\n at Microsoft.DotNet.Interactive.FormattedValue.CreateManyFromObject(Object value, String[] mimeTypes) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\FormattedValue.cs:line 47\r\n at Microsoft.DotNet.Interactive.KernelInvocationContextExtensions.Display(KernelInvocationContext context, Object value, String[] mimeTypes) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\KernelInvocationContextExtensions.cs:line 22\r\n at BlazorInteractive.BlazorKernel.HandleAsync(SubmitCode command, KernelInvocationContext context)\r\n at Microsoft.DotNet.Interactive.Kernel.<>c__DisplayClass87_0`1.b__0(KernelCommand _, KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\Kernel.cs:line 998\r\n at Microsoft.DotNet.Interactive.Commands.KernelCommand.InvokeAsync(KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\Commands\\KernelCommand.cs:line 191\r\n at Microsoft.DotNet.Interactive.Kernel.HandleAsync(KernelCommand command, KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\Kernel.cs:line 365\r\n at Microsoft.DotNet.Interactive.KernelCommandPipeline.b__6_0(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\KernelCommandPipeline.cs:line 60\r\n at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(KernelCommand command, KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\KernelCommandPipeline.cs:line 41", + "output_type": "error", + "traceback": [ + "System.AggregateException: One or more errors occurred. (Could not load type 'Microsoft.JSInterop.IJSUnmarshalledRuntime' from assembly 'Microsoft.JSInterop, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.)\r\n", + " ---> System.TypeLoadException: Could not load type 'Microsoft.JSInterop.IJSUnmarshalledRuntime' from assembly 'Microsoft.JSInterop, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.\r\n", + " at Bunit.BunitJSInterop..ctor()\r\n", + " at Bunit.TestContext..ctor() in /_/src/bunit.web/TestContext.cs:line 14\r\n", + " at BlazorInteractive.BlazorExtensions.GenerateHtml(Byte[] assemblyBytes, String componentName)\r\n", + " at BlazorInteractive.BlazorExtensions.<>c__DisplayClass0_1`1.<b__1>d.MoveNext()\r\n", + " --- End of inner exception stack trace ---\r\n", + " at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n", + " at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n", + " at System.Threading.Tasks.Task.Wait()\r\n", + " at BlazorInteractive.BlazorExtensions.<>c__DisplayClass0_0`1.b__0(BlazorMarkdown markdown, TextWriter writer)\r\n", + " at Microsoft.DotNet.Interactive.Formatting.Formatter.<>c__DisplayClass46_0`1.b__0(Object value, FormatContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter.cs:line 426\r\n", + " at Microsoft.DotNet.Interactive.Formatting.AnonymousTypeFormatter`1.Format(T instance, FormatContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\AnonymousTypeFormatter{T}.cs:line 30\r\n", + " at Microsoft.DotNet.Interactive.Formatting.TypeFormatter`1.Microsoft.DotNet.Interactive.Formatting.ITypeFormatter.Format(Object instance, FormatContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\TypeFormatter{T}.cs:line 23\r\n", + " at Microsoft.DotNet.Interactive.Formatting.Formatter`1.FormatTo(T obj, FormatContext context, String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter{T}.cs:line 79\r\n", + " at Microsoft.DotNet.Interactive.Formatting.Formatter.FormatTo[T](T obj, FormatContext context, String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter.cs:line 319\r\n", + " at Microsoft.DotNet.Interactive.Formatting.Formatter.ToDisplayString(Object obj, String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive.Formatting\\Formatter.cs:line 276\r\n", + " at Microsoft.DotNet.Interactive.FormattedValue.<>c__DisplayClass12_0.b__0(String mimeType) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\FormattedValue.cs:line 49\r\n", + " at System.Linq.Enumerable.ArraySelectIterator`2.ToArray()\r\n", + " at Microsoft.DotNet.Interactive.FormattedValue.CreateManyFromObject(Object value, String[] mimeTypes) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\FormattedValue.cs:line 47\r\n", + " at Microsoft.DotNet.Interactive.KernelInvocationContextExtensions.Display(KernelInvocationContext context, Object value, String[] mimeTypes) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\KernelInvocationContextExtensions.cs:line 22\r\n", + " at BlazorInteractive.BlazorKernel.HandleAsync(SubmitCode command, KernelInvocationContext context)\r\n", + " at Microsoft.DotNet.Interactive.Kernel.<>c__DisplayClass87_0`1.b__0(KernelCommand _, KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\Kernel.cs:line 998\r\n", + " at Microsoft.DotNet.Interactive.Commands.KernelCommand.InvokeAsync(KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\Commands\\KernelCommand.cs:line 191\r\n", + " at Microsoft.DotNet.Interactive.Kernel.HandleAsync(KernelCommand command, KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\Kernel.cs:line 365\r\n", + " at Microsoft.DotNet.Interactive.KernelCommandPipeline.b__6_0(KernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\KernelCommandPipeline.cs:line 60\r\n", + " at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(KernelCommand command, KernelInvocationContext context) in D:\\a\\_work\\1\\s\\src\\Microsoft.DotNet.Interactive\\KernelCommandPipeline.cs:line 41" + ] } ], "source": [ diff --git a/Docs/多语言笔记.9.2.使用python.ipynb b/Docs/多语言笔记.9.2.使用python.ipynb new file mode 100644 index 0000000..83c589a --- /dev/null +++ b/Docs/多语言笔记.9.2.使用python.ipynb @@ -0,0 +1,140 @@ +{ + "cells": [ + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "在 Ployglog Notebook 中, 使用Python语言内核\n", + "=========================================\n", + "使用多语言笔记,直接支持 Python语言\n", + "优势:在一个笔记文档中,可以同时混合多种语言:Python、C#、F#、PowerShell、JS、SQL、HTML等" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## 方式一:导入Python语言内核\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "这种导入方式,使用简单;但只能执行一次,多次执行会报错" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "//命名空间\n", + "using Microsoft.DotNet.Interactive;\n", + "using Microsoft.DotNet.Interactive.Commands;\n", + "\n", + "//引入Python内核\n", + "#!connect jupyter --kernel-name pythonkernel --kernel-spec python3" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## 方式二:导入Python语言内核\n", + "这种导入方式,是方式一的优化、变型版,原理一样;但可多次执行,不报错" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "using Microsoft.DotNet.Interactive;\n", + "using Microsoft.DotNet.Interactive.Commands;\n", + "\n", + "//引入Python内核:使用C# 执行引入语句\n", + "if(Kernel.Root.FindKernelByName(\"pythonkernel\") == null)\n", + "{\n", + " //Console.WriteLine(\"正在导入Python内核....\");\n", + " var importPythonkernel = \"#!connect jupyter --kernel-name pythonkernel --kernel-spec python3\";\n", + " await Kernel.Root.SendAsync(new SubmitCode( importPythonkernel, \"csharp\"));\n", + " //Console.WriteLine(\"Python内核导入完成\");\n", + "}\n", + "else \n", + "{\n", + " //Console.WriteLine(\"Python内核已经导入\");\n", + "}" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## 使用Python语言内核\n", + "#!pythonkernel 命令,切换到Python语言内核" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "polyglot_notebook": { + "kernelName": "csharp" + } + }, + "outputs": [], + "source": [ + "#!pythonkernel\n", + "\n", + "# 必须先执行导入Python内核语句\n", + "\n", + "print(\"你好,我是 Ployglot Notebooks 使用 Python语言内核,打印的内容!\")" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": ".NET (C#)", + "language": "C#", + "name": ".net-csharp" + }, + "language_info": { + "name": "polyglot-notebook" + }, + "orig_nbformat": 4, + "polyglot_notebook": { + "kernelInfo": { + "defaultKernelName": "csharp", + "items": [ + { + "aliases": [], + "name": "csharp" + }, + { + "aliases": [], + "languageName": "python", + "name": "pythonkernel" + }, + { + "aliases": [], + "name": "razor" + } + ] + } + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/NotebookStudy.Test/GlobalUsings.cs b/NotebookStudy.Test/GlobalUsings.cs new file mode 100644 index 0000000..8c927eb --- /dev/null +++ b/NotebookStudy.Test/GlobalUsings.cs @@ -0,0 +1 @@ +global using Xunit; \ No newline at end of file diff --git a/NotebookStudy.Test/NotebookStudy.Test.csproj b/NotebookStudy.Test/NotebookStudy.Test.csproj new file mode 100644 index 0000000..d7ced07 --- /dev/null +++ b/NotebookStudy.Test/NotebookStudy.Test.csproj @@ -0,0 +1,25 @@ + + + + net7.0 + enable + enable + + false + true + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + diff --git a/NotebookStudy.Test/UseXunit.cs b/NotebookStudy.Test/UseXunit.cs new file mode 100644 index 0000000..071332f --- /dev/null +++ b/NotebookStudy.Test/UseXunit.cs @@ -0,0 +1,24 @@ +using Xunit.Abstractions; + +namespace NotebookStudy.Test +{ + public class UseXunit + { + private ITestOutputHelper _testOutput; + public UseXunit(ITestOutputHelper testOutputHelper) + { + _testOutput = testOutputHelper; + } + + [Fact] + public void Xunit_Test() + { + string message = "ʹ xUnit ԪԿܣеԪ"; + + _testOutput.WriteLine(message); + + Assert.True(true, message); + + } + } +} \ No newline at end of file diff --git a/NotebookStudy.sln b/NotebookStudy.sln index 8a8a66e..6484de3 100644 --- a/NotebookStudy.sln +++ b/NotebookStudy.sln @@ -5,18 +5,24 @@ VisualStudioVersion = 17.0.31903.59 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotebookStudy.ConsoleApp", "NotebookStudy.ConsoleApp\NotebookStudy.ConsoleApp.csproj", "{A366DBB0-E4B3-4211-B762-2A6AFE85AB03}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotebookStudy.Test", "NotebookStudy.Test\NotebookStudy.Test.csproj", "{F3F0CB92-A689-4272-A546-2A70560019B8}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {A366DBB0-E4B3-4211-B762-2A6AFE85AB03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A366DBB0-E4B3-4211-B762-2A6AFE85AB03}.Debug|Any CPU.Build.0 = Debug|Any CPU {A366DBB0-E4B3-4211-B762-2A6AFE85AB03}.Release|Any CPU.ActiveCfg = Release|Any CPU {A366DBB0-E4B3-4211-B762-2A6AFE85AB03}.Release|Any CPU.Build.0 = Release|Any CPU + {F3F0CB92-A689-4272-A546-2A70560019B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F3F0CB92-A689-4272-A546-2A70560019B8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F3F0CB92-A689-4272-A546-2A70560019B8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F3F0CB92-A689-4272-A546-2A70560019B8}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE EndGlobalSection EndGlobal