Skip to content

Commit

Permalink
release: v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jevonsflash committed Aug 24, 2024
1 parent 65a1110 commit bf4a987
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 116 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ KirillOsenkov的RoslynOuter项目,链接: https://github.com/KirillOsenkov/Ros
## 更新内容:


Date | Version | Content
:----------: | :-----------: | :-----------
V1.0 | 2021-3-16 | 初始版本
V2.0 | 2022-5-16 | 1. 升级项目框架至.Net 6.0 2. 增加ConvertToCSharp页面 3. 更新README
| Date | Version | Content |
| :---: | :-------: | :------------------------------------------------------------------ |
| V1.0 | 2021-3-16 | 初始版本 |
| V2.0 | 2022-5-16 | 1. 升级项目框架至.Net 6.0 2. 增加ConvertToCSharp页面 3. 更新README |
| V2.1 | 2024-8-24 | 修复语法树代码生成器代码生成错误的问题 |



Expand Down
Binary file modified RST/rst.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion RoslynSyntaxTool/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
mc:Ignorable="d"
WindowState="Maximized"
Title="Roslyn Syntax Tool 版本2.0" Height="720" Width="1080">
Title="Roslyn Syntax Tool 版本2.1" Height="720" Width="1080">
<mah:MetroWindow.RightWindowCommands>
<mah:WindowCommands>
<Button Content="关于" Click="ButtonBase_OnClick"></Button>
Expand Down
226 changes: 116 additions & 110 deletions RoslynSyntaxTool/RoslynSyntaxTool.csproj
Original file line number Diff line number Diff line change
@@ -1,121 +1,127 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<RootNamespace>Workshop</RootNamespace>
<AssemblyName>RoslynSyntaxTool</AssemblyName>
</PropertyGroup>
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<RootNamespace>Workshop</RootNamespace>
<AssemblyName>RoslynSyntaxTool</AssemblyName>
<Authors>LinXiao</Authors>
<Company>MatoApp</Company>
<Copyright>Copyright © LinXiao 2024</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/jevonsflash/RoslynSyntaxTool</RepositoryUrl>
<Description>Create ECharts Graphic in native .Net environment</Description>
</PropertyGroup>

<ItemGroup>
<None Remove="Assets\1.png" />
<None Remove="Assets\2.png" />
</ItemGroup>
<ItemGroup>
<None Remove="Assets\1.png" />
<None Remove="Assets\2.png" />
</ItemGroup>

<ItemGroup>
<Resource Include="Assets\1.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
<Resource Include="Assets\2.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
</ItemGroup>
<ItemGroup>
<Resource Include="Assets\1.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
<Resource Include="Assets\2.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Resource>
</ItemGroup>

<ItemGroup>
<PackageReference Include="AvalonEdit" Version="6.1.3.50" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="7.1.2" />
<PackageReference Include="Extended.Wpf.Toolkit" Version="4.3.0" />
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.1.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AvalonEdit" Version="6.1.3.50" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="7.1.2" />
<PackageReference Include="Extended.Wpf.Toolkit" Version="4.3.0" />
<PackageReference Include="MahApps.Metro" Version="2.4.9" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.1.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

<ItemGroup>
<ApplicationDefinition Update="App.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Update="App.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</ApplicationDefinition>
</ItemGroup>

<ItemGroup>
<Compile Update="App.xaml.cs">
<SubType>Code</SubType>
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Update="Control\ProgressWindow.xaml.cs">
<DependentUpon>ProgressWindow.xaml</DependentUpon>
</Compile>
<Compile Update="Control\SimpleKeyValueControl.xaml.cs">
<DependentUpon>SimpleKeyValueControl.xaml</DependentUpon>
</Compile>
<Compile Update="Control\SyntaxDetailViewer.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="MainWindow.xaml.cs">
<SubType>Code</SubType>
<DependentUpon>MainWindow.xaml</DependentUpon>
</Compile>
<Compile Update="View\AboutWindow.xaml.cs">
<DependentUpon>AboutWindow.xaml</DependentUpon>
</Compile>
<Compile Update="View\ErrorPage.xaml.cs">
<DependentUpon>ErrorPage.xaml</DependentUpon>
</Compile>
<Compile Update="View\IndexPage - 复制.xaml.cs">
<DependentUpon>IndexPage.xaml</DependentUpon>
</Compile>
<Compile Update="View\IndexPage.xaml.cs">
<DependentUpon>IndexPage.xaml</DependentUpon>
</Compile>
<Compile Update="View\SettingPage.xaml.cs">
<DependentUpon>SettingPage.xaml</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Update="App.xaml.cs">
<SubType>Code</SubType>
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Update="Control\ProgressWindow.xaml.cs">
<DependentUpon>ProgressWindow.xaml</DependentUpon>
</Compile>
<Compile Update="Control\SimpleKeyValueControl.xaml.cs">
<DependentUpon>SimpleKeyValueControl.xaml</DependentUpon>
</Compile>
<Compile Update="Control\SyntaxDetailViewer.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="MainWindow.xaml.cs">
<SubType>Code</SubType>
<DependentUpon>MainWindow.xaml</DependentUpon>
</Compile>
<Compile Update="View\AboutWindow.xaml.cs">
<DependentUpon>AboutWindow.xaml</DependentUpon>
</Compile>
<Compile Update="View\ErrorPage.xaml.cs">
<DependentUpon>ErrorPage.xaml</DependentUpon>
</Compile>
<Compile Update="View\IndexPage - 复制.xaml.cs">
<DependentUpon>IndexPage.xaml</DependentUpon>
</Compile>
<Compile Update="View\IndexPage.xaml.cs">
<DependentUpon>IndexPage.xaml</DependentUpon>
</Compile>
<Compile Update="View\SettingPage.xaml.cs">
<DependentUpon>SettingPage.xaml</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<None Update="default.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="default.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<Page Update="Control\ProgressWindow.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Control\SimpleKeyValueControl.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Control\SyntaxDetailViewer.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="Style\ConvertersDictionary.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Style\DefaultDictionary.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\AboutWindow.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\ErrorPage.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\ConvertToCSharpPage.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="View\IndexPage.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\SettingPage.xaml">
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<Page Update="Control\ProgressWindow.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Control\SimpleKeyValueControl.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Control\SyntaxDetailViewer.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="Style\ConvertersDictionary.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Style\DefaultDictionary.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\AboutWindow.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\ErrorPage.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\ConvertToCSharpPage.xaml">
<XamlRuntime>$(DefaultXamlRuntime)</XamlRuntime>
<SubType>Designer</SubType>
</Page>
<Page Update="View\IndexPage.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="View\SettingPage.xaml">
<SubType>Designer</SubType>
</Page>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion RoslynSyntaxTool/View/AboutWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
HorizontalAlignment="Center"
Margin="12,0">
<TextBlock HorizontalAlignment="Center" Text="Roslyn Syntax Tool" FontSize="{StaticResource LargeFontSize}"></TextBlock>
<TextBlock HorizontalAlignment="Center" Text="2.0" Margin="0,5"></TextBlock>
<TextBlock HorizontalAlignment="Center" Text="2.1" Margin="0,5"></TextBlock>
</StackPanel>
<StackPanel Grid.Row="1"
Margin="12,0">
Expand Down
3 changes: 3 additions & 0 deletions RoslynSyntaxTool/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ namespace HelloWorld
{
class Program
{
///<summary>
///The program entry point
///</summary>
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Expand Down

0 comments on commit bf4a987

Please sign in to comment.