diff --git a/Assets/meow.wav b/Assets/meow.wav new file mode 100644 index 0000000..586a14e Binary files /dev/null and b/Assets/meow.wav differ diff --git a/BongoPawClicker.csproj b/BongoPawClicker.csproj index 74d7ae1..270a52b 100644 --- a/BongoPawClicker.csproj +++ b/BongoPawClicker.csproj @@ -1,5 +1,6 @@  + Debug @@ -46,12 +47,14 @@ x64 - none + pdbonly true bin\Release\ TRACE prompt 4 + true + false Assets\bongoClicker.ico @@ -59,10 +62,6 @@ BongoPawClicker.App - - bin\Pack\ - x64 - 625B9E036C6FCDB200269CC5918271732D94F003 @@ -76,28 +75,163 @@ true + + packages\Costura.Fody.5.7.0\lib\netstandard1.0\Costura.dll + packages\MaterialDesignColors.2.1.4\lib\net462\MaterialDesignColors.dll packages\MaterialDesignThemes.4.9.0\lib\net462\MaterialDesignThemes.Wpf.dll + + + + packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll + True + True + packages\Microsoft.Xaml.Behaviors.Wpf.1.1.39\lib\net45\Microsoft.Xaml.Behaviors.dll + + packages\System.AppContext.4.3.0\lib\net463\System.AppContext.dll + True + True + + + + packages\System.Console.4.3.0\lib\net46\System.Console.dll + True + True + + + packages\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll + + + packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll + True + True + + + packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll + True + True + + + packages\System.IO.4.3.0\lib\net462\System.IO.dll + True + True + + + packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll + True + True + + + + packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll + True + True + + + packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll + True + True + + + packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll + True + True + + + packages\System.Linq.4.3.0\lib\net463\System.Linq.dll + True + True + + + packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll + True + True + + + packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll + True + True + + + packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll + True + True + + + + packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll + True + True + + + packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll + True + True + + + packages\System.Runtime.Extensions.4.3.0\lib\net462\System.Runtime.Extensions.dll + True + True + + + packages\System.Runtime.InteropServices.4.3.0\lib\net463\System.Runtime.InteropServices.dll + True + True + + + packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll + True + True + + + packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll + True + True + + + packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll + True + True + + + packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll + True + True + + + packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll + True + True + + + packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll + True + True + - 4.0 + + packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll + True + True + @@ -174,11 +308,6 @@ - - - PreserveNewest - - False @@ -191,6 +320,12 @@ false + + + + + + @@ -198,5 +333,10 @@ 这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 + + + + + \ No newline at end of file diff --git a/BongoPawClicker.sln b/BongoPawClicker.sln index 46a5d73..7ba6a38 100644 --- a/BongoPawClicker.sln +++ b/BongoPawClicker.sln @@ -14,8 +14,7 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {219C839B-FA75-43CB-A424-1873BE8A95D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {219C839B-FA75-43CB-A424-1873BE8A95D1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {219C839B-FA75-43CB-A424-1873BE8A95D1}.Pack|Any CPU.ActiveCfg = Pack|Any CPU - {219C839B-FA75-43CB-A424-1873BE8A95D1}.Pack|Any CPU.Build.0 = Pack|Any CPU + {219C839B-FA75-43CB-A424-1873BE8A95D1}.Pack|Any CPU.ActiveCfg = Release|Any CPU {219C839B-FA75-43CB-A424-1873BE8A95D1}.Release|Any CPU.ActiveCfg = Release|Any CPU {219C839B-FA75-43CB-A424-1873BE8A95D1}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection diff --git a/Cat-meow-sound.mp3 b/Cat-meow-sound.mp3 deleted file mode 100644 index 3079a27..0000000 Binary files a/Cat-meow-sound.mp3 and /dev/null differ diff --git a/FodyWeavers.xml b/FodyWeavers.xml new file mode 100644 index 0000000..a5dcf04 --- /dev/null +++ b/FodyWeavers.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/MainWindow.xaml b/MainWindow.xaml index 852252c..65e979b 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -25,13 +25,6 @@ mc:Ignorable="d"> - // 此代码由工具生成。 -// 运行时版本: 4.0.30319.42000 +// 运行时版本:4.0.30319.42000 // -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace BongoPawClicker.Properties -{ - - +namespace BongoPawClicker.Properties { + using System; + + /// - /// 强类型资源类,用于查找本地化字符串等。 + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// - /// 返回此类使用的缓存 ResourceManager 实例。 + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BongoPawClicker.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// 重写当前线程的 CurrentUICulture 属性,对 /// 使用此强类型资源类的所有资源查找执行重写。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } + + /// + /// 查找类似于 System.IO.MemoryStream 的 System.IO.UnmanagedMemoryStream 类型的本地化资源。 + /// + internal static System.IO.UnmanagedMemoryStream meow { + get { + return ResourceManager.GetStream("meow", resourceCulture); + } + } } } diff --git a/Properties/Resources.resx b/Properties/Resources.resx index af7dbeb..152afef 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,13 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Assets\meow.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file diff --git a/packages.config b/packages.config index eaf1811..af70662 100644 --- a/packages.config +++ b/packages.config @@ -1,6 +1,54 @@  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file