From 9aa39a941a09089b654bc57c17858047ca1cfdf0 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Thu, 30 Jul 2020 21:37:04 +0800 Subject: [PATCH] modify for vsct --- ILSpy.AddIn/ILSpy.AddIn.csproj | 23 +++-- ILSpy.AddIn/ILSpyAddIn.en-US.vsct | 32 +------ ILSpy.AddIn/ILSpyAddIn.vsct | 50 +++++++++- ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct | 33 +------ ILSpy.AddIn/Properties/AssemblyInfo.cs | 3 +- ILSpy.AddIn/VSPackage.en-US.resx | 126 +++++++++++++++++++++++++ ILSpy.AddIn/VSPackage.zh-Hans.resx | 6 ++ 7 files changed, 199 insertions(+), 74 deletions(-) create mode 100644 ILSpy.AddIn/VSPackage.en-US.resx diff --git a/ILSpy.AddIn/ILSpy.AddIn.csproj b/ILSpy.AddIn/ILSpy.AddIn.csproj index adf54d6f9..b4f78a163 100644 --- a/ILSpy.AddIn/ILSpy.AddIn.csproj +++ b/ILSpy.AddIn/ILSpy.AddIn.csproj @@ -12,7 +12,6 @@ IC#Code ILSpy - en-US 1.7.1.0 1.7.1.0 @@ -90,11 +89,20 @@ Resources.Designer.cs Designer + + true + VSPackage.en-US.resources + VSPackage.resx + true VSPackage - + + true + VSPackage.zh-Hans.resources + VSPackage.resx + - - - - - - - - - - - - - - - - - - - @@ -109,15 +87,7 @@ - - - - - + diff --git a/ILSpy.AddIn/ILSpyAddIn.vsct b/ILSpy.AddIn/ILSpyAddIn.vsct index 156263ee9..3d992eae7 100644 --- a/ILSpy.AddIn/ILSpyAddIn.vsct +++ b/ILSpy.AddIn/ILSpyAddIn.vsct @@ -19,11 +19,55 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -36,7 +80,7 @@ - + diff --git a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct index 544ddc299..f84717c94 100644 --- a/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct +++ b/ILSpy.AddIn/ILSpyAddIn.zh-Hans.vsct @@ -35,28 +35,6 @@ with command ids defined by other packages. --> - - - - - - - - - - - - - - - - - - - @@ -108,16 +86,7 @@ - - - - - - + diff --git a/ILSpy.AddIn/Properties/AssemblyInfo.cs b/ILSpy.AddIn/Properties/AssemblyInfo.cs index db36e8d59..64f95fad1 100644 --- a/ILSpy.AddIn/Properties/AssemblyInfo.cs +++ b/ILSpy.AddIn/Properties/AssemblyInfo.cs @@ -1,5 +1,6 @@ using System; using System.Reflection; +using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -11,6 +12,6 @@ using System.Runtime.InteropServices; [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] - +[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] [assembly: InternalsVisibleTo("ILSpy.AddIn_IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] [assembly: InternalsVisibleTo("ILSpy.AddIn_UnitTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100653c4a319be4f524972c3c5bba5fd243330f8e900287d9022d7821a63fd0086fd3801e3683dbe9897f2ecc44727023e9b40adcf180730af70c81c54476b3e5ba8b0f07f5132b2c3cc54347a2c1a9d64ebaaaf3cbffc1a18c427981e2a51d53d5ab02536b7550e732f795121c38a0abfdb38596353525d034baf9e6f1fd8ac4ac")] diff --git a/ILSpy.AddIn/VSPackage.en-US.resx b/ILSpy.AddIn/VSPackage.en-US.resx new file mode 100644 index 000000000..73c158134 --- /dev/null +++ b/ILSpy.AddIn/VSPackage.en-US.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ILSpy.AddIn + + + Integration of the ILSpy Decompiler into Visual Studio. + + \ No newline at end of file diff --git a/ILSpy.AddIn/VSPackage.zh-Hans.resx b/ILSpy.AddIn/VSPackage.zh-Hans.resx index 1af7de150..73c158134 100644 --- a/ILSpy.AddIn/VSPackage.zh-Hans.resx +++ b/ILSpy.AddIn/VSPackage.zh-Hans.resx @@ -117,4 +117,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ILSpy.AddIn + + + Integration of the ILSpy Decompiler into Visual Studio. + \ No newline at end of file