更新项目default namespace

This commit is contained in:
LittleBoy 2024-02-03 20:39:19 +08:00
parent 8020ba1910
commit 07b119f3e9
31 changed files with 40 additions and 44 deletions

View File

@ -24,7 +24,7 @@
<ProjectGuid>{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}</ProjectGuid> <ProjectGuid>{6CE536CB-6154-4FDF-9FFE-23A73B4E84AB}</ProjectGuid>
<OutputType>Library</OutputType> <OutputType>Library</OutputType>
<NoStandardLibraries>false</NoStandardLibraries> <NoStandardLibraries>false</NoStandardLibraries>
<RootNamespace>WordAddInTest2024</RootNamespace> <RootNamespace>AIProofread</RootNamespace>
<AssemblyName>AIProofread</AssemblyName> <AssemblyName>AIProofread</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<DefineConstants>VSTO40</DefineConstants> <DefineConstants>VSTO40</DefineConstants>
@ -40,10 +40,10 @@
<UpdateEnabled>true</UpdateEnabled> <UpdateEnabled>true</UpdateEnabled>
<UpdateInterval>7</UpdateInterval> <UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>days</UpdateIntervalUnits> <UpdateIntervalUnits>days</UpdateIntervalUnits>
<ProductName>WordAddInTest2024</ProductName> <ProductName>AIProofread</ProductName>
<PublisherName /> <PublisherName />
<SupportUrl /> <SupportUrl />
<FriendlyName>WordAddInTest2024</FriendlyName> <FriendlyName>AIProofread</FriendlyName>
<OfficeApplicationDescription /> <OfficeApplicationDescription />
<LoadBehavior>3</LoadBehavior> <LoadBehavior>3</LoadBehavior>
</PropertyGroup> </PropertyGroup>
@ -258,7 +258,7 @@
<DependentUpon>ThisAddIn.Designer.xml</DependentUpon> <DependentUpon>ThisAddIn.Designer.xml</DependentUpon>
</Compile> </Compile>
<AppDesigner Include="Properties\" /> <AppDesigner Include="Properties\" />
<None Include="WordAddInTest2024_TemporaryKey.pfx" /> <None Include="AIProofread_TemporaryKey.pfx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Resources\search-proofread.png" /> <None Include="Resources\search-proofread.png" />
@ -287,7 +287,7 @@
<SignManifests>true</SignManifests> <SignManifests>true</SignManifests>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<ManifestKeyFile>WordAddInTest2024_TemporaryKey.pfx</ManifestKeyFile> <ManifestKeyFile>AIProofread_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<ManifestCertificateThumbprint>62DF6B414BD2608A130540A801F32D12E0199A99</ManifestCertificateThumbprint> <ManifestCertificateThumbprint>62DF6B414BD2608A130540A801F32D12E0199A99</ManifestCertificateThumbprint>
@ -301,7 +301,7 @@
<VisualStudio> <VisualStudio>
<FlavorProperties GUID="{BAA0C2D2-18E2-41B9-852F-F413020CAA33}"> <FlavorProperties GUID="{BAA0C2D2-18E2-41B9-852F-F413020CAA33}">
<ProjectProperties HostName="Word" HostPackage="{29A7B9D7-A7F1-4328-8EF0-6B2D1A56B2C1}" OfficeVersion="15.0" VstxVersion="4.0" ApplicationType="Word" Language="cs" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\16.0\Word\InstallRoot\Path#WINWORD.EXE" DebugInfoCommandLine="/x" AddItemTemplatesGuid="{51063C3A-E220-4D12-8922-BDA915ACD783}" /> <ProjectProperties HostName="Word" HostPackage="{29A7B9D7-A7F1-4328-8EF0-6B2D1A56B2C1}" OfficeVersion="15.0" VstxVersion="4.0" ApplicationType="Word" Language="cs" TemplatesPath="" DebugInfoExeName="#Software\Microsoft\Office\16.0\Word\InstallRoot\Path#WINWORD.EXE" DebugInfoCommandLine="/x" AddItemTemplatesGuid="{51063C3A-E220-4D12-8922-BDA915ACD783}" />
<Host Name="Word" GeneratedCodeNamespace="WordAddInTest2024" IconIndex="0"> <Host Name="Word" GeneratedCodeNamespace="AIProofread" IconIndex="0">
<HostItem Name="ThisAddIn" Code="ThisAddIn.cs" CanonicalName="AddIn" CanActivate="false" IconIndex="1" Blueprint="ThisAddIn.Designer.xml" GeneratedCode="ThisAddIn.Designer.cs" /> <HostItem Name="ThisAddIn" Code="ThisAddIn.cs" CanonicalName="AddIn" CanActivate="false" IconIndex="1" Blueprint="ThisAddIn.Designer.xml" GeneratedCode="ThisAddIn.Designer.cs" />
</Host> </Host>
</FlavorProperties> </FlavorProperties>

View File

@ -3,7 +3,7 @@ using Microsoft.Web.WebView2.WinForms;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace WordAddInTest2024 namespace AIProofread
{ {
[ClassInterface(ClassInterfaceType.AutoDual)] [ClassInterface(ClassInterfaceType.AutoDual)]
[ComVisible(true)] [ComVisible(true)]

View File

@ -1,10 +1,6 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WordAddInTest2024 namespace AIProofread
{ {
public class Config public class Config
{ {

View File

@ -1,4 +1,4 @@
namespace WordAddInTest2024.Controls namespace AIProofread.Controls
{ {
partial class FormLogin partial class FormLogin
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Windows.Forms; using System.Windows.Forms;
namespace WordAddInTest2024.Controls namespace AIProofread.Controls
{ {
public partial class FormLogin : Form public partial class FormLogin : Form
{ {

View File

@ -1,4 +1,4 @@
namespace WordAddInTest2024.Controls namespace AIProofread.Controls
{ {
partial class ProofreadMainControl partial class ProofreadMainControl
{ {

View File

@ -9,7 +9,7 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
namespace WordAddInTest2024.Controls namespace AIProofread.Controls
{ {
public partial class ProofreadMainControl : UserControl public partial class ProofreadMainControl : UserControl
{ {

View File

@ -6,7 +6,7 @@ using System.Security;
// 有关程序集的一般信息由以下 // 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改 // 控制。更改这些特性值可修改
// 与程序集关联的信息。 // 与程序集关联的信息。
[assembly: AssemblyTitle("AI校对王")] [assembly: AssemblyTitle("AIProofread")]
[assembly: AssemblyDescription("AI校对王")] [assembly: AssemblyDescription("AI校对王")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("果麦文化")] [assembly: AssemblyCompany("果麦文化")]

View File

@ -8,7 +8,7 @@
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WordAddInTest2024.Properties { namespace AIProofread.Properties {
using System; using System;

View File

@ -8,7 +8,7 @@
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace WordAddInTest2024.Properties { namespace AIProofread.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]

View File

@ -1,4 +1,4 @@
namespace WordAddInTest2024 namespace AIProofread
{ {
partial class Ribbon1 : Microsoft.Office.Tools.Ribbon.RibbonBase partial class Ribbon1 : Microsoft.Office.Tools.Ribbon.RibbonBase
{ {
@ -79,7 +79,7 @@
// btnProofreadAll // btnProofreadAll
// //
this.btnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnProofreadAll.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnProofreadAll.Image = global::WordAddInTest2024.Properties.Resources.search_proofread; this.btnProofreadAll.Image = global::AIProofread.Properties.Resources.search_proofread;
this.btnProofreadAll.Label = "全文校对"; this.btnProofreadAll.Label = "全文校对";
this.btnProofreadAll.Name = "btnProofreadAll"; this.btnProofreadAll.Name = "btnProofreadAll";
this.btnProofreadAll.ShowImage = true; this.btnProofreadAll.ShowImage = true;
@ -87,7 +87,7 @@
// btnProofreadSelect // btnProofreadSelect
// //
this.btnProofreadSelect.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnProofreadSelect.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnProofreadSelect.Image = global::WordAddInTest2024.Properties.Resources.selection; this.btnProofreadSelect.Image = global::AIProofread.Properties.Resources.selection;
this.btnProofreadSelect.Label = "全文校对"; this.btnProofreadSelect.Label = "全文校对";
this.btnProofreadSelect.Name = "btnProofreadSelect"; this.btnProofreadSelect.Name = "btnProofreadSelect";
this.btnProofreadSelect.ShowImage = true; this.btnProofreadSelect.ShowImage = true;
@ -95,7 +95,7 @@
// btnClear // btnClear
// //
this.btnClear.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnClear.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnClear.Image = global::WordAddInTest2024.Properties.Resources.clear; this.btnClear.Image = global::AIProofread.Properties.Resources.clear;
this.btnClear.Label = "清除标注"; this.btnClear.Label = "清除标注";
this.btnClear.Name = "btnClear"; this.btnClear.Name = "btnClear";
this.btnClear.ShowImage = true; this.btnClear.ShowImage = true;
@ -109,7 +109,7 @@
// btnOpenLexicon // btnOpenLexicon
// //
this.btnOpenLexicon.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnOpenLexicon.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnOpenLexicon.Image = global::WordAddInTest2024.Properties.Resources.lexicon; this.btnOpenLexicon.Image = global::AIProofread.Properties.Resources.lexicon;
this.btnOpenLexicon.Label = "词库管理"; this.btnOpenLexicon.Label = "词库管理";
this.btnOpenLexicon.Name = "btnOpenLexicon"; this.btnOpenLexicon.Name = "btnOpenLexicon";
this.btnOpenLexicon.ShowImage = true; this.btnOpenLexicon.ShowImage = true;
@ -124,7 +124,7 @@
// btnSetting // btnSetting
// //
this.btnSetting.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnSetting.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnSetting.Image = global::WordAddInTest2024.Properties.Resources.setting; this.btnSetting.Image = global::AIProofread.Properties.Resources.setting;
this.btnSetting.Label = "插件设置"; this.btnSetting.Label = "插件设置";
this.btnSetting.Name = "btnSetting"; this.btnSetting.Name = "btnSetting";
this.btnSetting.ShowImage = true; this.btnSetting.ShowImage = true;
@ -137,7 +137,7 @@
// btnLogin // btnLogin
// //
this.btnLogin.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnLogin.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnLogin.Image = global::WordAddInTest2024.Properties.Resources.user; this.btnLogin.Image = global::AIProofread.Properties.Resources.user;
this.btnLogin.Label = "用户登录"; this.btnLogin.Label = "用户登录";
this.btnLogin.Name = "btnLogin"; this.btnLogin.Name = "btnLogin";
this.btnLogin.ShowImage = true; this.btnLogin.ShowImage = true;
@ -155,7 +155,7 @@
// btnLogout // btnLogout
// //
this.btnLogout.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge; this.btnLogout.ControlSize = Microsoft.Office.Core.RibbonControlSize.RibbonControlSizeLarge;
this.btnLogout.Image = global::WordAddInTest2024.Properties.Resources.logout; this.btnLogout.Image = global::AIProofread.Properties.Resources.logout;
this.btnLogout.Label = "退出登录"; this.btnLogout.Label = "退出登录";
this.btnLogout.Name = "btnLogout"; this.btnLogout.Name = "btnLogout";
this.btnLogout.ShowImage = true; this.btnLogout.ShowImage = true;

View File

@ -4,9 +4,9 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using WordAddInTest2024.Controls; using AIProofread.Controls;
namespace WordAddInTest2024 namespace AIProofread
{ {
public partial class Ribbon1 public partial class Ribbon1
{ {

View File

@ -9,7 +9,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
#pragma warning disable 414 #pragma warning disable 414
namespace WordAddInTest2024 { namespace AIProofread{
/// ///

View File

@ -1,4 +1,4 @@
<hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.AddInBase" hostitem:namespace="WordAddInTest2024" hostitem:className="ThisAddIn" hostitem:identifier="ThisAddIn" hostitem:primaryCookie="AddIn" hostitem:master="true" hostitem:factoryType="Microsoft.Office.Tools.Word.ApplicationFactory" hostitem:startupIndex="0" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd"> <hostitem:hostItem hostitem:baseType="Microsoft.Office.Tools.AddInBase" hostitem:namespace="AIProofread" hostitem:className="ThisAddIn" hostitem:identifier="ThisAddIn" hostitem:primaryCookie="AddIn" hostitem:master="true" hostitem:factoryType="Microsoft.Office.Tools.Word.ApplicationFactory" hostitem:startupIndex="0" xmlns:hostitem="http://schemas.microsoft.com/2004/VisualStudio/Tools/Applications/HostItem.xsd">
<hostitem:hostObject hostitem:name="Application" hostitem:identifier="Application" hostitem:type="Microsoft.Office.Interop.Word.Application" hostitem:cookie="Application" hostitem:modifier="Internal" /> <hostitem:hostObject hostitem:name="Application" hostitem:identifier="Application" hostitem:type="Microsoft.Office.Interop.Word.Application" hostitem:cookie="Application" hostitem:modifier="Internal" />
<hostitem:hostControl hostitem:name="CustomTaskPanes" hostitem:identifier="CustomTaskPanes" hostitem:type="Microsoft.Office.Tools.CustomTaskPaneCollection" hostitem:primaryCookie="CustomTaskPanes" hostitem:modifier="Internal" /> <hostitem:hostControl hostitem:name="CustomTaskPanes" hostitem:identifier="CustomTaskPanes" hostitem:type="Microsoft.Office.Tools.CustomTaskPaneCollection" hostitem:primaryCookie="CustomTaskPanes" hostitem:modifier="Internal" />
<hostitem:hostControl hostitem:name="VstoSmartTags" hostitem:identifier="VstoSmartTags" hostitem:type="Microsoft.Office.Tools.SmartTagCollection" hostitem:primaryCookie="VstoSmartTags" hostitem:modifier="Internal" /> <hostitem:hostControl hostitem:name="VstoSmartTags" hostitem:identifier="VstoSmartTags" hostitem:type="Microsoft.Office.Tools.SmartTagCollection" hostitem:primaryCookie="VstoSmartTags" hostitem:modifier="Internal" />

View File

@ -7,7 +7,7 @@ using Word = Microsoft.Office.Interop.Word;
using Office = Microsoft.Office.Core; using Office = Microsoft.Office.Core;
using Microsoft.Office.Tools.Word; using Microsoft.Office.Tools.Word;
namespace WordAddInTest2024 namespace AIProofread
{ {
public partial class ThisAddIn public partial class ThisAddIn

View File

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace WordAddInTest2024 namespace AIProofread
{ {
public class DocumentText public class DocumentText
{ {

View File

@ -1,9 +1,9 @@
using System; using System;
using System.Windows.Forms; using System.Windows.Forms;
using WordAddInTest2024.Controls; using AIProofread.Controls;
using Office = Microsoft.Office.Core; using Office = Microsoft.Office.Core;
namespace WordAddInTest2024 namespace AIProofread
{ {
public static class Module1 public static class Module1
{ {

View File

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace WordAddInTest2024 namespace AIProofread
{ {
public class StringUtil public class StringUtil
{ {

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Security.Cryptography; using System.Security.Cryptography;
using System.Text; using System.Text;
namespace WordAddInTest2024 namespace AIProofread
{ {
public class Tools public class Tools
{ {

View File

@ -22,6 +22,13 @@ C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\bin\Debug\Mic
C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\obj\Debug\AIProofread.csproj.CopyComplete C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\obj\Debug\AIProofread.csproj.CopyComplete
C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\obj\Debug\AIProofread.dll C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\obj\Debug\AIProofread.dll
C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\obj\Debug\AIProofread.pdb C:\Users\home-dev\source\repos\WordAddInTest2024\WordAddInTest2024\obj\Debug\AIProofread.pdb
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.AssemblyReference.cache
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.Controls.FormLogin.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.Controls.ProofreadMainControl.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.Properties.Resources.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.Ribbon1.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.GenerateResource.cache
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.CoreCompileInputs.cache
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\runtimes\win-x86\native\WebView2Loader.dll C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\runtimes\win-x86\native\WebView2Loader.dll
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\runtimes\win-x64\native\WebView2Loader.dll C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\runtimes\win-x64\native\WebView2Loader.dll
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\runtimes\win-arm64\native\WebView2Loader.dll C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\runtimes\win-arm64\native\WebView2Loader.dll
@ -37,13 +44,6 @@ C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Newtonsoft.J
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Microsoft.Web.WebView2.Core.xml C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Microsoft.Web.WebView2.Core.xml
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Microsoft.Web.WebView2.WinForms.xml C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Microsoft.Web.WebView2.WinForms.xml
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Microsoft.Web.WebView2.Wpf.xml C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\bin\Debug\Microsoft.Web.WebView2.Wpf.xml
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.AssemblyReference.cache
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\WordAddInTest2024.Controls.FormLogin.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\WordAddInTest2024.Controls.ProofreadMainControl.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\WordAddInTest2024.Properties.Resources.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\WordAddInTest2024.Ribbon1.resources
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.GenerateResource.cache
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.CoreCompileInputs.cache
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.CopyComplete C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.csproj.CopyComplete
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.dll C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.dll
C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.pdb C:\Users\yaclt\source\repos\repos\AIProofread\AIProofread\obj\Debug\AIProofread.pdb