Thread: [Mwinapi-commits] SF.net SVN: mwinapi:[87] trunk
Status: Beta
Brought to you by:
schierlm
From: <sch...@us...> - 2009-11-27 19:07:55
|
Revision: 87 http://mwinapi.svn.sourceforge.net/mwinapi/?rev=87&view=rev Author: schierlm Date: 2009-11-27 19:07:41 +0000 (Fri, 27 Nov 2009) Log Message: ----------- Upgrade project files to Visual C# Express 2008 Modified Paths: -------------- trunk/ManagedWinapi/ManagedWinapi.csproj trunk/ManagedWinapi.sln trunk/Tools/AOExplorer/AOExplorer.csproj trunk/Tools/AOExplorer.sln trunk/Tools/ClipHancer/ClipHancer.csproj trunk/Tools/ClipHancer/Properties/Resources.Designer.cs trunk/Tools/ClipHancer.sln trunk/Tools/ContentsSaver/ContentsSaver.csproj trunk/Tools/ContentsSaver.sln trunk/Tools/DeskIconRestore/DeskIconRestore.csproj trunk/Tools/DeskIconRestore.sln trunk/Tools/GuessEXE/GuessEXE.csproj trunk/Tools/GuessEXE.sln trunk/Tools/NeatKeys/NeatKeys.csproj trunk/Tools/NeatKeys.sln trunk/Tools/QuickMacro/QuickMacro.csproj trunk/Tools/QuickMacro.sln trunk/Tools/ShootNotes/ShootNotes.csproj trunk/Tools/ShootNotes.sln trunk/Tools/TreeSizeSharp/Properties/Resources.Designer.cs trunk/Tools/TreeSizeSharp/Properties/Settings.Designer.cs trunk/Tools/TreeSizeSharp/TreeSizeSharp.csproj trunk/Tools/TreeSizeSharp.sln trunk/Tools/VolumeFader/VolumeFader.csproj trunk/Tools/VolumeFader.sln trunk/Tools/WinternalExplorer/WinternalExplorer.csproj trunk/Tools/WinternalExplorer.sln Modified: trunk/ManagedWinapi/ManagedWinapi.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/ManagedWinapi/ManagedWinapi.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,8 +1,8 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProductVersion>8.0.50727</ProductVersion> + <ProductVersion>9.0.30729</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}</ProjectGuid> <OutputType>Library</OutputType> @@ -122,6 +122,9 @@ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: trunk/ManagedWinapi.sln =================================================================== --- trunk/ManagedWinapi.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/ManagedWinapi.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" EndProject Global Modified: trunk/Tools/AOExplorer/AOExplorer.csproj =================================================================== --- trunk/Tools/AOExplorer/AOExplorer.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/AOExplorer/AOExplorer.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/AOExplorer.sln =================================================================== --- trunk/Tools/AOExplorer.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/AOExplorer.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AOExplorer", "AOExplorer\AOExplorer.csproj", "{479E3D62-978E-4582-A28F-F32A44300B30}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/ClipHancer/ClipHancer.csproj =================================================================== --- trunk/Tools/ClipHancer/ClipHancer.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ClipHancer/ClipHancer.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/ClipHancer/Properties/Resources.Designer.cs =================================================================== --- trunk/Tools/ClipHancer/Properties/Resources.Designer.cs 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ClipHancer/Properties/Resources.Designer.cs 2009-11-27 19:07:41 UTC (rev 87) @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. -// Runtime Version:2.0.50727.42 +// Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. Modified: trunk/Tools/ClipHancer.sln =================================================================== --- trunk/Tools/ClipHancer.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ClipHancer.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClipHancer", "ClipHancer\ClipHancer.csproj", "{49C7BD25-E752-4C40-9C06-F24A4A47BC25}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/ContentsSaver/ContentsSaver.csproj =================================================================== --- trunk/Tools/ContentsSaver/ContentsSaver.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ContentsSaver/ContentsSaver.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/ContentsSaver.sln =================================================================== --- trunk/Tools/ContentsSaver.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ContentsSaver.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ContentsSaver", "ContentsSaver\ContentsSaver.csproj", "{BA8CDD27-6124-42E1-AF5A-C721D57EE883}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/DeskIconRestore/DeskIconRestore.csproj =================================================================== --- trunk/Tools/DeskIconRestore/DeskIconRestore.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/DeskIconRestore/DeskIconRestore.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/DeskIconRestore.sln =================================================================== --- trunk/Tools/DeskIconRestore.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/DeskIconRestore.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeskIconRestore", "DeskIconRestore\DeskIconRestore.csproj", "{119F4BA4-5E8C-4BF6-A2C4-DCE05EF16022}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/GuessEXE/GuessEXE.csproj =================================================================== --- trunk/Tools/GuessEXE/GuessEXE.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/GuessEXE/GuessEXE.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/GuessEXE.sln =================================================================== --- trunk/Tools/GuessEXE.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/GuessEXE.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GuessEXE", "GuessEXE\GuessEXE.csproj", "{6F1D8D0E-DE5E-4460-B723-4634F945D8B7}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinAPI\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/NeatKeys/NeatKeys.csproj =================================================================== --- trunk/Tools/NeatKeys/NeatKeys.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/NeatKeys/NeatKeys.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/NeatKeys.sln =================================================================== --- trunk/Tools/NeatKeys.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/NeatKeys.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NeatKeys", "NeatKeys\NeatKeys.csproj", "{F95967E8-FB9C-40E6-9B75-1124F38C5DA1}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/QuickMacro/QuickMacro.csproj =================================================================== --- trunk/Tools/QuickMacro/QuickMacro.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/QuickMacro/QuickMacro.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/QuickMacro.sln =================================================================== --- trunk/Tools/QuickMacro.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/QuickMacro.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QuickMacro", "QuickMacro\QuickMacro.csproj", "{50EFFF0A-2DE5-4CFF-8417-E52F0F85BF00}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/ShootNotes/ShootNotes.csproj =================================================================== --- trunk/Tools/ShootNotes/ShootNotes.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ShootNotes/ShootNotes.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/ShootNotes.sln =================================================================== --- trunk/Tools/ShootNotes.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/ShootNotes.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShootNotes", "ShootNotes\ShootNotes.csproj", "{1AEAC6DE-68E2-46FE-B500-FCF19783DB9C}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/TreeSizeSharp/Properties/Resources.Designer.cs =================================================================== --- trunk/Tools/TreeSizeSharp/Properties/Resources.Designer.cs 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/TreeSizeSharp/Properties/Resources.Designer.cs 2009-11-27 19:07:41 UTC (rev 87) @@ -1,17 +1,17 @@ //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. -// Runtime Version:2.0.50727.42 +// Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ -namespace TreeSizeSharp.Properties -{ - - +namespace TreeSizeSharp.Properties { + using System; + + /// <summary> /// A strongly-typed resource class, for looking up localized strings, etc. /// </summary> @@ -22,48 +22,40 @@ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.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() { } - + /// <summary> /// Returns the cached ResourceManager instance used by this class. /// </summary> [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("TreeSizeSharp.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// <summary> /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// </summary> [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; } } Modified: trunk/Tools/TreeSizeSharp/Properties/Settings.Designer.cs =================================================================== --- trunk/Tools/TreeSizeSharp/Properties/Settings.Designer.cs 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/TreeSizeSharp/Properties/Settings.Designer.cs 2009-11-27 19:07:41 UTC (rev 87) @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. -// Runtime Version:2.0.50727.42 +// Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ -namespace TreeSizeSharp.Properties -{ - - +namespace TreeSizeSharp.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } Modified: trunk/Tools/TreeSizeSharp/TreeSizeSharp.csproj =================================================================== --- trunk/Tools/TreeSizeSharp/TreeSizeSharp.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/TreeSizeSharp/TreeSizeSharp.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> @@ -62,6 +62,7 @@ <Compile Include="Properties\Resources.Designer.cs"> <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> + <DesignTime>True</DesignTime> </Compile> <None Include="Properties\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> Modified: trunk/Tools/TreeSizeSharp.sln =================================================================== --- trunk/Tools/TreeSizeSharp.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/TreeSizeSharp.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeSizeSharp", "TreeSizeSharp\TreeSizeSharp.csproj", "{01A22D01-8DF8-4941-90AC-21357AA06D52}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/VolumeFader/VolumeFader.csproj =================================================================== --- trunk/Tools/VolumeFader/VolumeFader.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/VolumeFader/VolumeFader.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/VolumeFader.sln =================================================================== --- trunk/Tools/VolumeFader.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/VolumeFader.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolumeFader", "VolumeFader\VolumeFader.csproj", "{E37ECC0A-FE14-4920-B59A-3E87841D07A8}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" Modified: trunk/Tools/WinternalExplorer/WinternalExplorer.csproj =================================================================== --- trunk/Tools/WinternalExplorer/WinternalExplorer.csproj 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/WinternalExplorer/WinternalExplorer.csproj 2009-11-27 19:07:41 UTC (rev 87) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> Modified: trunk/Tools/WinternalExplorer.sln =================================================================== --- trunk/Tools/WinternalExplorer.sln 2009-11-27 18:34:29 UTC (rev 86) +++ trunk/Tools/WinternalExplorer.sln 2009-11-27 19:07:41 UTC (rev 87) @@ -1,6 +1,6 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C# Express 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinternalExplorer", "WinternalExplorer\WinternalExplorer.csproj", "{A556FB10-2F86-4DD6-AA97-41BB55975E96}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "..\ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2010-01-02 19:04:27
|
Revision: 90 http://mwinapi.svn.sourceforge.net/mwinapi/?rev=90&view=rev Author: schierlm Date: 2010-01-02 19:04:16 +0000 (Sat, 02 Jan 2010) Log Message: ----------- - Update copyright (it's a new year again) - Using PerformanceCounters for determining the parent process does not work properly when there is more than one process with the same process name. Therefore add a new class ProcessTree that uses toolhelp snapshots to determine process parents. - WinternalExplorer: * Update copyright (it's a new year again) * Update WinternalExplorer to use the ProcessTree class. * Handle InvalidOperationExceptions when showing thread details Modified Paths: -------------- trunk/ManagedWinapi/ManagedWinapi.csproj trunk/ManagedWinapi/Properties/AssemblyInfo.cs trunk/Tools/WinternalExplorer/MainForm.cs trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs trunk/Tools/WinternalExplorer/ThreadControl.cs trunk/Tools/WinternalExplorer/WindowCache.cs Added Paths: ----------- trunk/ManagedWinapi/ProcessTree.cs Modified: trunk/ManagedWinapi/ManagedWinapi.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi.csproj 2009-11-27 21:36:27 UTC (rev 89) +++ trunk/ManagedWinapi/ManagedWinapi.csproj 2010-01-02 19:04:16 UTC (rev 90) @@ -61,6 +61,7 @@ </Compile> <Compile Include="MachineIdentifiers.cs" /> <Compile Include="ProcessMemoryChunk.cs" /> + <Compile Include="ProcessTree.cs" /> <Compile Include="ShortcutBox.cs"> <SubType>Component</SubType> </Compile> Added: trunk/ManagedWinapi/ProcessTree.cs =================================================================== --- trunk/ManagedWinapi/ProcessTree.cs (rev 0) +++ trunk/ManagedWinapi/ProcessTree.cs 2010-01-02 19:04:16 UTC (rev 90) @@ -0,0 +1,142 @@ +/* + * ManagedWinapi - A collection of .NET components that wrap PInvoke calls to + * access native API by managed code. http://mwinapi.sourceforge.net/ + * Copyright (C) 2006, 2007, 2008, 2009, 2010 Michael Schierl + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; see the file COPYING. if not, visit + * http://www.gnu.org/licenses/lgpl.html or write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Diagnostics; +using System.Runtime.InteropServices; + +namespace ManagedWinapi +{ + /// <summary> + /// Class for finding the parent and children of a <see cref="Process"/>. + /// </summary> + public class ProcessTree + { + + private IDictionary<int, int> parents = new Dictionary<int, int>(); + + /// <summary> + /// Create a new process tree. This process tree stores all parent/child + /// process relationships of the time when this process tree was created. + /// </summary> + public ProcessTree() + { + PROCESSENTRY32 procEntry = new PROCESSENTRY32(); + procEntry.dwSize = (UInt32)Marshal.SizeOf(typeof(PROCESSENTRY32)); + + IntPtr handleToSnapshot = CreateToolhelp32Snapshot((uint)SnapshotFlags.Process, 0); + if (!Process32First(handleToSnapshot, ref procEntry)) + throw new Win32Exception(); + + do + { + parents.Add(procEntry.th32ProcessID, procEntry.th32ParentProcessID); + } + while (Process32Next(handleToSnapshot, ref procEntry)); + + CloseHandle(handleToSnapshot); + } + + /// <summary> + /// Find the parent process of a process, or <code>null</code> if no such + /// process exists. + /// </summary> + /// <param name="process">Process to find parent of</param> + public Process FindParent(Process process) + { + if (parents.ContainsKey(process.Id)) + { + try + { + return Process.GetProcessById((int)parents[process.Id]); + } + catch (ArgumentException) { } // process has terminated + } + return null; + } + + /// <summary> + /// Find the child processes of a process, i. e. those processes + /// started by this process. + /// </summary> + /// <param name="process">Process to find children of</param> + public IList<Process> FindChildren(Process process) + { + List<Process> childProcs = new List<Process>(); + + foreach (KeyValuePair<int, int> pids in parents) + { + if (pids.Value == process.Id) + { + try + { + childProcs.Add(Process.GetProcessById(pids.Key)); + } + catch (ArgumentException) { } // process has terminated + } + } + return childProcs; + } + + #region PInvoke Declarations + [Flags] + private enum SnapshotFlags : uint + { + HeapList = 0x00000001, + Process = 0x00000002, + Thread = 0x00000004, + Module = 0x00000008, + Module32 = 0x00000010, + Inherit = 0x80000000, + All = 0x0000001F + } + + [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] + private struct PROCESSENTRY32 + { + const int MAX_PATH = 260; + internal uint dwSize; + internal uint cntUsage; + internal int th32ProcessID; + internal IntPtr th32DefaultHeapID; + internal uint th32ModuleID; + internal uint cntThreads; + internal int th32ParentProcessID; + internal uint pcPriClassBase; + internal uint dwFlags; + [MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_PATH)] + internal string szExeFile; + } + + [DllImport("kernel32", SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] + private static extern IntPtr CreateToolhelp32Snapshot(uint dwFlags, uint th32ProcessID); + + [DllImport("kernel32", SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] + private static extern bool Process32First(IntPtr hSnapshot, ref PROCESSENTRY32 lppe); + + [DllImport("kernel32", SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Auto)] + private static extern bool Process32Next(IntPtr hSnapshot, ref PROCESSENTRY32 lppe); + + [DllImport("kernel32.dll", SetLastError = true)] + private static extern int CloseHandle(IntPtr hObject); + #endregion + } +} Modified: trunk/ManagedWinapi/Properties/AssemblyInfo.cs =================================================================== --- trunk/ManagedWinapi/Properties/AssemblyInfo.cs 2009-11-27 21:36:27 UTC (rev 89) +++ trunk/ManagedWinapi/Properties/AssemblyInfo.cs 2010-01-02 19:04:16 UTC (rev 90) @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ManagedWinapi")] -[assembly: AssemblyCopyright("Copyright © 2005, 2006, 2007, 2008 Michael Schierl")] +[assembly: AssemblyCopyright("Copyright © 2005, 2006, 2007, 2008, 2009, 2010 Michael Schierl")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -31,5 +31,5 @@ // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("0.3")] -[assembly: AssemblyFileVersion("0.3")] +[assembly: AssemblyVersion("0.3.0.1")] +[assembly: AssemblyFileVersion("0.3.0.1")] Modified: trunk/Tools/WinternalExplorer/MainForm.cs =================================================================== --- trunk/Tools/WinternalExplorer/MainForm.cs 2009-11-27 21:36:27 UTC (rev 89) +++ trunk/Tools/WinternalExplorer/MainForm.cs 2010-01-02 19:04:16 UTC (rev 90) @@ -120,17 +120,6 @@ private static Dictionary<int, int> parentId = new Dictionary<int, int>(); - // not used - internal static int __UNUSED__GetParentID(Process proc) - { - if (!parentId.ContainsKey(proc.Id)) - { - PerformanceCounter pc = new PerformanceCounter("Process", "Creating Process Id", proc.ProcessName); - parentId[proc.Id] = (int)pc.RawValue; - } - return parentId[proc.Id]; - } - internal int DisplayProcesses { get Modified: trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs =================================================================== --- trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs 2009-11-27 21:36:27 UTC (rev 89) +++ trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs 2010-01-02 19:04:16 UTC (rev 90) @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("WinternalExplorer")] -[assembly: AssemblyCopyright("Copyright © 2007, 2008 Michael Schierl")] +[assembly: AssemblyCopyright("Copyright © 2007, 2008, 2010 Michael Schierl")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("0.3")] -[assembly: AssemblyFileVersion("0.3")] +[assembly: AssemblyVersion("0.3.0.1")] +[assembly: AssemblyFileVersion("0.3.0.1")] Modified: trunk/Tools/WinternalExplorer/ThreadControl.cs =================================================================== --- trunk/Tools/WinternalExplorer/ThreadControl.cs 2009-11-27 21:36:27 UTC (rev 89) +++ trunk/Tools/WinternalExplorer/ThreadControl.cs 2010-01-02 19:04:16 UTC (rev 90) @@ -35,6 +35,10 @@ { startTime.Text = currentThread.StartTime.ToString(); } + catch (InvalidOperationException ex) + { + startTime.Text = ex.Message; + } catch (Win32Exception) { startTime.Text = "Access denied"; @@ -50,6 +54,10 @@ { priorityLevel.Text = currentThread.PriorityLevel.ToString(); } + catch (InvalidOperationException ex) + { + startTime.Text = ex.Message; + } catch (Win32Exception) { startTime.Text = "Access denied"; @@ -64,6 +72,13 @@ userTime.Text = currentThread.UserProcessorTime.ToString(); totalTime.Text = currentThread.TotalProcessorTime.ToString(); } + catch (InvalidOperationException ex) + { + priorityBoost.Text = ex.Message; + privTime.Text = ex.Message; + userTime.Text = ex.Message; + totalTime.Text = ex.Message; + } catch (Win32Exception) { priorityBoost.Text = "Access denied"; Modified: trunk/Tools/WinternalExplorer/WindowCache.cs =================================================================== --- trunk/Tools/WinternalExplorer/WindowCache.cs 2009-11-27 21:36:27 UTC (rev 89) +++ trunk/Tools/WinternalExplorer/WindowCache.cs 2010-01-02 19:04:16 UTC (rev 90) @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Text; using System.Diagnostics; +using ManagedWinapi; using ManagedWinapi.Windows; namespace WinternalExplorer @@ -120,18 +121,14 @@ private void LoadChildProcesses() { childProcesses = new Dictionary<int, List<Process>>(); + ProcessTree tree = new ProcessTree(); foreach (Process proc in Process.GetProcesses()) { - AddToList(childProcesses, ParentID(proc), proc); + Process parent = tree.FindParent(proc); + AddToList(childProcesses, parent == null ? 0 : parent.Id, proc); } } - public static int ParentID(Process proc) - { - PerformanceCounter pc = new PerformanceCounter("Process", "Creating Process Id", proc.ProcessName); - return (int)pc.RawValue; - } - internal bool IsProcessVisible(Process p) { return WindowsByProcess(p, true).Count > 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2013-07-23 09:12:01
|
Revision: 118 http://sourceforge.net/p/mwinapi/code/118 Author: danielrose Date: 2013-07-23 09:11:58 +0000 (Tue, 23 Jul 2013) Log Message: ----------- Added a strong name key file to the solution. This allows creating a strong-name-signed release, which means ManagedWinapi can now be used from assemblies which are also strong-name-signed. The key file itself is not protected in any way. Added a new solution and project configuration "ReleaseSigned", which creates a strong-name-signed assembly. The output path is "bin\ReleaseSigned". Renamed the (unsigned) release configuration to "ReleaseUnsigned". Modified Paths: -------------- trunk/ManagedWinapi/ManagedWinapi-2010.csproj trunk/ManagedWinapi/ManagedWinapi.csproj trunk/ManagedWinapi-2010.sln trunk/ManagedWinapi.sln Added Paths: ----------- trunk/ManagedWinapi/ManagedWinapiKey.snk Modified: trunk/ManagedWinapi/ManagedWinapi-2010.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi-2010.csproj 2013-07-23 08:31:55 UTC (rev 117) +++ trunk/ManagedWinapi/ManagedWinapi-2010.csproj 2013-07-23 09:11:58 UTC (rev 118) @@ -23,7 +23,7 @@ <WarningLevel>4</WarningLevel> <DocumentationFile>bin\Debug\ManagedWinapi.XML</DocumentationFile> </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseUnsigned|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> @@ -32,6 +32,17 @@ <WarningLevel>4</WarningLevel> <DocumentationFile>bin\Release\ManagedWinapi.XML</DocumentationFile> </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU'"> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\ReleaseSigned\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\ReleaseSigned\ManagedWinapi.XML</DocumentationFile> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>ManagedWinapiKey.snk</AssemblyOriginatorKeyFile> + </PropertyGroup> <ItemGroup> <Reference Include="Accessibility" /> <Reference Include="System" /> @@ -131,6 +142,9 @@ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> </ItemGroup> + <ItemGroup> + <None Include="ManagedWinapiKey.snk" /> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: trunk/ManagedWinapi/ManagedWinapi.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi.csproj 2013-07-23 08:31:55 UTC (rev 117) +++ trunk/ManagedWinapi/ManagedWinapi.csproj 2013-07-23 09:11:58 UTC (rev 118) @@ -22,7 +22,7 @@ <WarningLevel>4</WarningLevel> <DocumentationFile>bin\Debug\ManagedWinapi.XML</DocumentationFile> </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseUnsigned|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> @@ -31,6 +31,17 @@ <WarningLevel>4</WarningLevel> <DocumentationFile>bin\Release\ManagedWinapi.XML</DocumentationFile> </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\ReleaseSigned\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\ReleaseSigned\ManagedWinapi.XML</DocumentationFile> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>ManagedWinapiKey.snk</AssemblyOriginatorKeyFile> + </PropertyGroup> <ItemGroup> <Reference Include="Accessibility" /> <Reference Include="System" /> @@ -130,6 +141,9 @@ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> </ItemGroup> + <ItemGroup> + <None Include="ManagedWinapiKey.snk" /> + </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Added: trunk/ManagedWinapi/ManagedWinapiKey.snk =================================================================== (Binary files differ) Index: trunk/ManagedWinapi/ManagedWinapiKey.snk =================================================================== --- trunk/ManagedWinapi/ManagedWinapiKey.snk 2013-07-23 08:31:55 UTC (rev 117) +++ trunk/ManagedWinapi/ManagedWinapiKey.snk 2013-07-23 09:11:58 UTC (rev 118) Property changes on: trunk/ManagedWinapi/ManagedWinapiKey.snk ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Modified: trunk/ManagedWinapi-2010.sln =================================================================== --- trunk/ManagedWinapi-2010.sln 2013-07-23 08:31:55 UTC (rev 117) +++ trunk/ManagedWinapi-2010.sln 2013-07-23 09:11:58 UTC (rev 118) @@ -6,13 +6,16 @@ Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU + ReleaseSigned|Any CPU = ReleaseSigned|Any CPU + ReleaseUnsigned|Any CPU = ReleaseUnsigned|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Release|Any CPU.Build.0 = Release|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.ActiveCfg = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.Build.0 = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.ActiveCfg = ReleaseUnsigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.Build.0 = ReleaseUnsigned|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE Modified: trunk/ManagedWinapi.sln =================================================================== --- trunk/ManagedWinapi.sln 2013-07-23 08:31:55 UTC (rev 117) +++ trunk/ManagedWinapi.sln 2013-07-23 09:11:58 UTC (rev 118) @@ -1,18 +1,21 @@ Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C# Express 2008 +# Visual Studio 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU + ReleaseSigned|Any CPU = ReleaseSigned|Any CPU + ReleaseUnsigned|Any CPU = ReleaseUnsigned|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Release|Any CPU.Build.0 = Release|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.ActiveCfg = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.Build.0 = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.ActiveCfg = ReleaseUnsigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.Build.0 = ReleaseUnsigned|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2020-09-26 21:31:01
|
Revision: 145 http://sourceforge.net/p/mwinapi/code/145 Author: schierlm Date: 2020-09-26 21:30:55 +0000 (Sat, 26 Sep 2020) Log Message: ----------- Create ManagedWinapi-2010.yml and update CI badge % pushed from GitHub % Author: donid <do...@us...> % Date: Sat Sep 26 21:25:57 2020 +0200 Modified Paths: -------------- trunk/README.md Added Paths: ----------- trunk/.github/ trunk/.github/workflows/ trunk/.github/workflows/ManagedWinapi-2010.yml Added: trunk/.github/workflows/ManagedWinapi-2010.yml =================================================================== --- trunk/.github/workflows/ManagedWinapi-2010.yml (rev 0) +++ trunk/.github/workflows/ManagedWinapi-2010.yml 2020-09-26 21:30:55 UTC (rev 145) @@ -0,0 +1,32 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: [windows-latest] + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: setup-msbuild + uses: microsoft/setup-msbuild@v1.0.1 + + #- name: Setup NuGet.exe for use with actions + # uses: NuGet/setup-nuget@v1.0.2 + + - name: Build the solution + run: msbuild ManagedWinapi-2010.sln Modified: trunk/README.md =================================================================== --- trunk/README.md 2017-12-12 11:41:40 UTC (rev 144) +++ trunk/README.md 2020-09-26 21:30:55 UTC (rev 145) @@ -5,6 +5,6 @@ Mirrored Github Repo: https://github.com/mwinapi/mwinapi -AppVeyor CI: ![Build Status](https://ci.appveyor.com/api/projects/status/github/mwinapi/mwinapi) +![CI](https://github.com/donid/mwinapi/workflows/CI/badge.svg) Pull Requests on GitHub are welcome, I will try to keep the repos on GitHub and SourceForge in sync. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2024-07-27 11:27:40
|
Revision: 148 http://sourceforge.net/p/mwinapi/code/148 Author: schierlm Date: 2024-07-27 11:27:39 +0000 (Sat, 27 Jul 2024) Log Message: ----------- Try to fix workflow - Upgrade the `setup-msbuild` action version - Upgrade the target framework to 4.8.1 Modified Paths: -------------- trunk/.github/workflows/ManagedWinapi-2010.yml Added Paths: ----------- trunk/ManagedWinapi/ManagedWinapi-2010-4.8.1.csproj trunk/ManagedWinapi-2010-4.8.1.sln Modified: trunk/.github/workflows/ManagedWinapi-2010.yml =================================================================== --- trunk/.github/workflows/ManagedWinapi-2010.yml 2020-09-27 11:02:28 UTC (rev 147) +++ trunk/.github/workflows/ManagedWinapi-2010.yml 2024-07-27 11:27:39 UTC (rev 148) @@ -18,19 +18,16 @@ # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: setup-msbuild - uses: microsoft/setup-msbuild@v1.0.1 - - #- name: Setup NuGet.exe for use with actions - # uses: NuGet/setup-nuget@v1.0.2 - + uses: microsoft/setup-msbuild@v2 + - name: Build the solution (Debug) - run: msbuild ManagedWinapi-2010.sln /property:Configuration=Debug + run: msbuild ManagedWinapi-2010-4.8.1.sln /property:Configuration=Debug - name: Build the solution (ReleaseSigned) - run: msbuild ManagedWinapi-2010.sln /property:Configuration=ReleaseSigned + run: msbuild ManagedWinapi-2010-4.8.1.sln /property:Configuration=ReleaseSigned - name: Upload artifact bin_Debug uses: actions/upload-artifact@v2 Added: trunk/ManagedWinapi/ManagedWinapi-2010-4.8.1.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi-2010-4.8.1.csproj (rev 0) +++ trunk/ManagedWinapi/ManagedWinapi-2010-4.8.1.csproj 2024-07-27 11:27:39 UTC (rev 148) @@ -0,0 +1,157 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>ManagedWinapi</RootNamespace> + <AssemblyName>ManagedWinapi</AssemblyName> + <TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion> + <TargetFrameworkProfile> + </TargetFrameworkProfile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Debug\ManagedWinapi.XML</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseUnsigned|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Release\ManagedWinapi.XML</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU'"> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\ReleaseSigned\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\ReleaseSigned\ManagedWinapi.XML</DocumentationFile> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>ManagedWinapiKey.snk</AssemblyOriginatorKeyFile> + </PropertyGroup> + <ItemGroup> + <Reference Include="Accessibility" /> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Management" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Accessibility\AccessibleObjectListener.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="BitmapDataHandler.cs" /> + <Compile Include="COMTypeInformation.cs" /> + <Compile Include="Windows\Contents\AccessibleWindowParser.cs" /> + <Compile Include="ExtendedFileInfo.cs" /> + <Compile Include="CodepointRange.cs" /> + <Compile Include="Hooks\Hook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="InputBlocker.cs" /> + <Compile Include="Hooks\JournalHook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="KeyboardKey.cs" /> + <Compile Include="Hooks\LowLevelHook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="MachineIdentifiers.cs" /> + <Compile Include="PixelData.cs" /> + <Compile Include="ProcessMemoryChunk.cs" /> + <Compile Include="ProcessTree.cs" /> + <Compile Include="Windows\Screenshot.cs" /> + <Compile Include="ShortcutBox.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="ShortcutBox.Designer.cs"> + <DependentUpon>ShortcutBox.cs</DependentUpon> + </Compile> + <Compile Include="PrivilegedActions.cs" /> + <Compile Include="Accessibility\SystemAccessibleObject.cs" /> + <Compile Include="ApiHelper.cs" /> + <Compile Include="ClipboardNotifier.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="Windows\Contents\ContentParserRegistry.cs" /> + <Compile Include="Windows\Contents\ListParser.cs" /> + <Compile Include="Windows\Contents\TextFieldParser.cs" /> + <Compile Include="Windows\Contents\WindowContent.cs" /> + <Compile Include="Windows\Contents\WindowContentParser.cs" /> + <Compile Include="Crosshair.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="Crosshair.Designer.cs"> + <DependentUpon>Crosshair.cs</DependentUpon> + </Compile> + <Compile Include="Audio\Mixer\Mixer.cs" /> + <Compile Include="Audio\Mixer\MixerControl.cs" /> + <Compile Include="Audio\Mixer\MixerLine.cs" /> + <Compile Include="Windows\PInvokeTypes.cs" /> + <Compile Include="SendKeysEscaper.cs" /> + <Compile Include="Windows\EventDispatchingNativeWindow.cs" /> + <Compile Include="Hotkey.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="LockKeyResetter.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Windows\SystemListBox.cs" /> + <Compile Include="Windows\SystemListView.cs" /> + <Compile Include="Windows\SystemTreeView.cs" /> + <Compile Include="Windows\SystemWindow.cs" /> + <Compile Include="TextCursor.cs" /> + <Compile Include="TextCursorProvider.cs"> + <SubType>Component</SubType> + </Compile> + <Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Crosshair.resx"> + <SubType>Designer</SubType> + <DependentUpon>Crosshair.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="crosshair.ico" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="crosshair.cur" /> + <EmbeddedResource Include="ShortcutBox.resx"> + <SubType>Designer</SubType> + <DependentUpon>ShortcutBox.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <Content Include="ManagedWinapiNativeHelper.dll"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <None Include="ManagedWinapiKey.snk" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Added: trunk/ManagedWinapi-2010-4.8.1.sln =================================================================== --- trunk/ManagedWinapi-2010-4.8.1.sln (rev 0) +++ trunk/ManagedWinapi-2010-4.8.1.sln 2024-07-27 11:27:39 UTC (rev 148) @@ -0,0 +1,23 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi-2010", "ManagedWinapi\ManagedWinapi-2010-4.8.1.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + ReleaseSigned|Any CPU = ReleaseSigned|Any CPU + ReleaseUnsigned|Any CPU = ReleaseUnsigned|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.ActiveCfg = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.Build.0 = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.ActiveCfg = ReleaseUnsigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.Build.0 = ReleaseUnsigned|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2024-07-27 11:27:58
|
Revision: 149 http://sourceforge.net/p/mwinapi/code/149 Author: schierlm Date: 2024-07-27 11:27:48 +0000 (Sat, 27 Jul 2024) Log Message: ----------- migrate to vs 2022 % pushed from GitHub % Author: liziyu0714 <liziyu0714 at outlook.com> % Date: Sat Jul 27 09:41:40 2024 +0800 Modified Paths: -------------- trunk/ManagedWinapi/ManagedWinapi.csproj Added Paths: ----------- trunk/ManagedWinapi-2022.sln Modified: trunk/ManagedWinapi/ManagedWinapi.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi.csproj 2024-07-27 11:27:39 UTC (rev 148) +++ trunk/ManagedWinapi/ManagedWinapi.csproj 2024-07-27 11:27:48 UTC (rev 149) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> @@ -11,6 +11,11 @@ <AssemblyName>ManagedWinapi</AssemblyName> <StartupObject> </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + <UpgradeBackupLocation> + </UpgradeBackupLocation> + <OldToolsVersion>3.5</OldToolsVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> Added: trunk/ManagedWinapi-2022.sln =================================================================== --- trunk/ManagedWinapi-2022.sln (rev 0) +++ trunk/ManagedWinapi-2022.sln 2024-07-27 11:27:48 UTC (rev 149) @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.35013.160 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + ReleaseSigned|Any CPU = ReleaseSigned|Any CPU + ReleaseUnsigned|Any CPU = ReleaseUnsigned|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.ActiveCfg = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseSigned|Any CPU.Build.0 = ReleaseSigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.ActiveCfg = ReleaseUnsigned|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.ReleaseUnsigned|Any CPU.Build.0 = ReleaseUnsigned|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CAD3606B-C404-4026-B747-6FEDF2B7A29A} + EndGlobalSection +EndGlobal This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2024-07-27 11:28:03
|
Revision: 150 http://sourceforge.net/p/mwinapi/code/150 Author: schierlm Date: 2024-07-27 11:28:01 +0000 (Sat, 27 Jul 2024) Log Message: ----------- Separate project files for vs 2022 as well Modified Paths: -------------- trunk/ManagedWinapi/ManagedWinapi.csproj trunk/ManagedWinapi-2022.sln Added Paths: ----------- trunk/ManagedWinapi/ManagedWinapi-2022.csproj Copied: trunk/ManagedWinapi/ManagedWinapi-2022.csproj (from rev 149, trunk/ManagedWinapi/ManagedWinapi.csproj) =================================================================== --- trunk/ManagedWinapi/ManagedWinapi-2022.csproj (rev 0) +++ trunk/ManagedWinapi/ManagedWinapi-2022.csproj 2024-07-27 11:28:01 UTC (rev 150) @@ -0,0 +1,160 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>ManagedWinapi</RootNamespace> + <AssemblyName>ManagedWinapi</AssemblyName> + <StartupObject> + </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + <UpgradeBackupLocation> + </UpgradeBackupLocation> + <OldToolsVersion>3.5</OldToolsVersion> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Debug\ManagedWinapi.XML</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseUnsigned|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Release\ManagedWinapi.XML</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseSigned|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\ReleaseSigned\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\ReleaseSigned\ManagedWinapi.XML</DocumentationFile> + <SignAssembly>true</SignAssembly> + <AssemblyOriginatorKeyFile>ManagedWinapiKey.snk</AssemblyOriginatorKeyFile> + </PropertyGroup> + <ItemGroup> + <Reference Include="Accessibility" /> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Management" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Accessibility\AccessibleObjectListener.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="BitmapDataHandler.cs" /> + <Compile Include="COMTypeInformation.cs" /> + <Compile Include="Windows\Contents\AccessibleWindowParser.cs" /> + <Compile Include="ExtendedFileInfo.cs" /> + <Compile Include="CodepointRange.cs" /> + <Compile Include="Hooks\Hook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="InputBlocker.cs" /> + <Compile Include="Hooks\JournalHook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="KeyboardKey.cs" /> + <Compile Include="Hooks\LowLevelHook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="MachineIdentifiers.cs" /> + <Compile Include="PixelData.cs" /> + <Compile Include="ProcessMemoryChunk.cs" /> + <Compile Include="ProcessTree.cs" /> + <Compile Include="Windows\Screenshot.cs" /> + <Compile Include="ShortcutBox.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="ShortcutBox.Designer.cs"> + <DependentUpon>ShortcutBox.cs</DependentUpon> + </Compile> + <Compile Include="PrivilegedActions.cs" /> + <Compile Include="Accessibility\SystemAccessibleObject.cs" /> + <Compile Include="ApiHelper.cs" /> + <Compile Include="ClipboardNotifier.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="Windows\Contents\ContentParserRegistry.cs" /> + <Compile Include="Windows\Contents\ListParser.cs" /> + <Compile Include="Windows\Contents\TextFieldParser.cs" /> + <Compile Include="Windows\Contents\WindowContent.cs" /> + <Compile Include="Windows\Contents\WindowContentParser.cs" /> + <Compile Include="Crosshair.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="Crosshair.Designer.cs"> + <DependentUpon>Crosshair.cs</DependentUpon> + </Compile> + <Compile Include="Audio\Mixer\Mixer.cs" /> + <Compile Include="Audio\Mixer\MixerControl.cs" /> + <Compile Include="Audio\Mixer\MixerLine.cs" /> + <Compile Include="Windows\PInvokeTypes.cs" /> + <Compile Include="SendKeysEscaper.cs" /> + <Compile Include="Windows\EventDispatchingNativeWindow.cs" /> + <Compile Include="Hotkey.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="LockKeyResetter.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Windows\SystemListBox.cs" /> + <Compile Include="Windows\SystemListView.cs" /> + <Compile Include="Windows\SystemTreeView.cs" /> + <Compile Include="Windows\SystemWindow.cs" /> + <Compile Include="TextCursor.cs" /> + <Compile Include="TextCursorProvider.cs"> + <SubType>Component</SubType> + </Compile> + <Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Crosshair.resx"> + <SubType>Designer</SubType> + <DependentUpon>Crosshair.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="crosshair.ico" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="crosshair.cur" /> + <EmbeddedResource Include="ShortcutBox.resx"> + <SubType>Designer</SubType> + <DependentUpon>ShortcutBox.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <Content Include="ManagedWinapiNativeHelper.dll"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <None Include="ManagedWinapiKey.snk" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Modified: trunk/ManagedWinapi/ManagedWinapi.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi.csproj 2024-07-27 11:27:48 UTC (rev 149) +++ trunk/ManagedWinapi/ManagedWinapi.csproj 2024-07-27 11:28:01 UTC (rev 150) @@ -1,4 +1,4 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> @@ -11,11 +11,6 @@ <AssemblyName>ManagedWinapi</AssemblyName> <StartupObject> </StartupObject> - <FileUpgradeFlags> - </FileUpgradeFlags> - <UpgradeBackupLocation> - </UpgradeBackupLocation> - <OldToolsVersion>3.5</OldToolsVersion> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> Modified: trunk/ManagedWinapi-2022.sln =================================================================== --- trunk/ManagedWinapi-2022.sln 2024-07-27 11:27:48 UTC (rev 149) +++ trunk/ManagedWinapi-2022.sln 2024-07-27 11:28:01 UTC (rev 150) @@ -3,7 +3,7 @@ # Visual Studio Version 17 VisualStudioVersion = 17.10.35013.160 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "ManagedWinapi\ManagedWinapi.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi", "ManagedWinapi\ManagedWinapi-2022.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2011-01-01 22:54:04
|
Revision: 96 http://mwinapi.svn.sourceforge.net/mwinapi/?rev=96&view=rev Author: schierlm Date: 2011-01-01 22:53:58 +0000 (Sat, 01 Jan 2011) Log Message: ----------- - add Highlight support for SystemAccessibleObject Modified Paths: -------------- trunk/ManagedWinapi/Properties/AssemblyInfo.cs trunk/ManagedWinapi/SystemAccessibleObject.cs trunk/Tools/AOExplorer/MainForm.cs trunk/Tools/AOExplorer/Properties/AssemblyInfo.cs trunk/Tools/WinternalExplorer/MainForm.cs trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs Modified: trunk/ManagedWinapi/Properties/AssemblyInfo.cs =================================================================== --- trunk/ManagedWinapi/Properties/AssemblyInfo.cs 2010-11-18 17:12:00 UTC (rev 95) +++ trunk/ManagedWinapi/Properties/AssemblyInfo.cs 2011-01-01 22:53:58 UTC (rev 96) @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ManagedWinapi")] -[assembly: AssemblyCopyright("Copyright © 2005, 2006, 2007, 2008, 2009, 2010 Michael Schierl")] +[assembly: AssemblyCopyright("Copyright © 2005, 2006, 2007, 2008, 2009, 2010, 2011 Michael Schierl")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] Modified: trunk/ManagedWinapi/SystemAccessibleObject.cs =================================================================== --- trunk/ManagedWinapi/SystemAccessibleObject.cs 2010-11-18 17:12:00 UTC (rev 95) +++ trunk/ManagedWinapi/SystemAccessibleObject.cs 2011-01-01 22:53:58 UTC (rev 96) @@ -265,7 +265,14 @@ { get { - return iacc.get_accValue(childID); + try + { + return iacc.get_accValue(childID); + } + catch (COMException) + { + return null; + } } } @@ -276,7 +283,14 @@ { get { - return (int)iacc.get_accState(childID); + try + { + return (int)iacc.get_accState(childID); + } + catch (COMException) + { + return 0; + } } } @@ -462,6 +476,23 @@ } } + /// <summary> + /// Highlight the accessible object with a red border. + /// </summary> + public void Highlight() + { + Rectangle objectLocation = Location; + SystemWindow window = Window; + Rectangle windowLocation = window.Rectangle; + using (WindowDeviceContext windowDC = window.GetDeviceContext(false)) + { + using (Graphics g = windowDC.CreateGraphics()) + { + g.DrawRectangle(new Pen(Color.Red, 4), objectLocation.X - windowLocation.X, objectLocation.Y - windowLocation.Y, objectLocation.Width, objectLocation.Height); + } + } + } + #region Equals and HashCode /// @@ -489,22 +520,29 @@ { if (ia1.Equals(ia2)) return true; if (Marshal.GetIUnknownForObject(ia1) == Marshal.GetIUnknownForObject(ia2)) return true; - if (ia1.accChildCount != ia2.accChildCount) return false; - SystemAccessibleObject sa1 = new SystemAccessibleObject(ia1, 0); - SystemAccessibleObject sa2 = new SystemAccessibleObject(ia2, 0); - if (sa1.Window.HWnd != sa2.Window.HWnd) return false; - if (sa1.Location != sa2.Location) return false; - if (sa1.DefaultAction != sa2.DefaultAction) return false; - if (sa1.Description != sa2.Description) return false; - if (sa1.KeyboardShortcut != sa2.KeyboardShortcut) return false; - if (sa1.Name != sa2.Name) return false; - if (!sa1.Role.Equals(sa2.Role)) return false; - if (sa1.State != sa2.State) return false; - if (sa1.Value != sa2.Value) return false; - if (sa1.Visible != sa2.Visible) return false; - if (ia1.accParent == null && ia2.accParent == null) return true; - if (ia1.accParent == null || ia2.accParent == null) return false; - bool de = DeepEquals((IAccessible)ia1.accParent, (IAccessible)ia2.accParent); + try + { + if (ia1.accChildCount != ia2.accChildCount) return false; + SystemAccessibleObject sa1 = new SystemAccessibleObject(ia1, 0); + SystemAccessibleObject sa2 = new SystemAccessibleObject(ia2, 0); + if (sa1.Window.HWnd != sa2.Window.HWnd) return false; + if (sa1.Location != sa2.Location) return false; + if (sa1.DefaultAction != sa2.DefaultAction) return false; + if (sa1.Description != sa2.Description) return false; + if (sa1.KeyboardShortcut != sa2.KeyboardShortcut) return false; + if (sa1.Name != sa2.Name) return false; + if (!sa1.Role.Equals(sa2.Role)) return false; + if (sa1.State != sa2.State) return false; + if (sa1.Value != sa2.Value) return false; + if (sa1.Visible != sa2.Visible) return false; + if (ia1.accParent == null && ia2.accParent == null) return true; + if (ia1.accParent == null || ia2.accParent == null) return false; + } + catch (COMException) + { + return false; + } + bool de = DeepEquals((IAccessible)ia1.accParent, (IAccessible)ia2.accParent); return de; } Modified: trunk/Tools/AOExplorer/MainForm.cs =================================================================== --- trunk/Tools/AOExplorer/MainForm.cs 2010-11-18 17:12:00 UTC (rev 95) +++ trunk/Tools/AOExplorer/MainForm.cs 2011-01-01 22:53:58 UTC (rev 96) @@ -271,9 +271,21 @@ LoadAll(SystemAccessibleObject.Caret); } + private SystemAccessibleObject highlightedObject = null; + private void selCrosshair_CrosshairDragging(object sender, EventArgs e) { SystemAccessibleObject sao = SystemAccessibleObject.FromPoint(MousePosition.X, MousePosition.Y); + if (highlightedObject == null || !highlightedObject.Equals(sao)) + { + if (highlightedObject != null) + { + highlightedObject.Window.Refresh(); + highlightedObject = null; + } + sao.Highlight(); + highlightedObject = sao; + } LoadProperties(sao); tree.Enabled = false; } @@ -281,6 +293,11 @@ private void selCrosshair_CrosshairDragged(object sender, EventArgs e) { selCrosshair_CrosshairDragging(sender, e); + if (highlightedObject != null) + { + highlightedObject.Window.Refresh(); + highlightedObject = null; + } LoadTree(lastObject); tree.Enabled = true; Modified: trunk/Tools/AOExplorer/Properties/AssemblyInfo.cs =================================================================== --- trunk/Tools/AOExplorer/Properties/AssemblyInfo.cs 2010-11-18 17:12:00 UTC (rev 95) +++ trunk/Tools/AOExplorer/Properties/AssemblyInfo.cs 2011-01-01 22:53:58 UTC (rev 96) @@ -11,7 +11,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("AOExplorer")] -[assembly: AssemblyCopyright("Copyright © 2006, 2007 Michael Schierl")] +[assembly: AssemblyCopyright("Copyright © 2006, 2007, 2011 Michael Schierl")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] Modified: trunk/Tools/WinternalExplorer/MainForm.cs =================================================================== --- trunk/Tools/WinternalExplorer/MainForm.cs 2010-11-18 17:12:00 UTC (rev 95) +++ trunk/Tools/WinternalExplorer/MainForm.cs 2011-01-01 22:53:58 UTC (rev 96) @@ -200,11 +200,12 @@ this.Cursor = Cursors.WaitCursor; lastX = MousePosition.X; lastY = MousePosition.Y; - UpdateSelection(true); + UpdateSelection(true, false); if (highlightedWindow != null) { highlightedWindow.Refresh(); highlightedWindow = null; + highlightedAccessibleObject = null; } this.Cursor = null; } @@ -212,9 +213,10 @@ SelectableTreeNodeData lastNode = null; bool lastIncludeTree = false; - private void UpdateSelection(bool includeTree) + private void UpdateSelection(bool includeTree, bool highlightOnly) { SelectableTreeNodeData stnd = SelectFromPoint(lastX, lastY); + if (highlightOnly) return; if (!Visible) Visible = true; if (!stnd.Equals(lastNode) || includeTree != lastIncludeTree) { @@ -225,12 +227,29 @@ } SystemWindow highlightedWindow; + SystemAccessibleObject highlightedAccessibleObject; private SelectableTreeNodeData SelectFromPoint(int lastX, int lastY) { if (selAccObjs.Checked) { SystemAccessibleObject sao = SystemAccessibleObject.FromPoint(lastX, lastY); + if (sao != highlightedAccessibleObject) + { + if (highlightedWindow != null) + { + highlightedWindow.Refresh(); + highlightedWindow = null; + highlightedAccessibleObject = null; + } + SystemWindow sw = sao.Window; + if (sw.HWnd != this.Handle && !sw.IsDescendantOf(new SystemWindow(this.Handle))) + { + sao.Highlight(); + highlightedWindow = sw; + highlightedAccessibleObject = sao; + } + } return new AccessibilityData(this, sao); } else @@ -244,6 +263,7 @@ { highlightedWindow.Refresh(); highlightedWindow = null; + highlightedAccessibleObject = null; } if (sw.HWnd != this.Handle && !sw.IsDescendantOf(new SystemWindow(this.Handle))) { @@ -319,7 +339,7 @@ if (!found) { MessageBox.Show("Could not find window below " + curr.Text); - return null; + return curr; } } if (existingNodes[wd] != curr) throw new Exception(); @@ -336,13 +356,13 @@ Visible = false; crossHair.RestoreMouseCapture(); } - else if (!autoHide.Checked) + else { if (MousePosition.X != lastX || MousePosition.Y != lastY) { lastX = MousePosition.X; lastY = MousePosition.Y; - UpdateSelection(false); + UpdateSelection(false, autoHide.Checked); Update(); } } Modified: trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs =================================================================== --- trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs 2010-11-18 17:12:00 UTC (rev 95) +++ trunk/Tools/WinternalExplorer/Properties/AssemblyInfo.cs 2011-01-01 22:53:58 UTC (rev 96) @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("WinternalExplorer")] -[assembly: AssemblyCopyright("Copyright © 2007, 2008, 2010 Michael Schierl")] +[assembly: AssemblyCopyright("Copyright © 2007, 2008, 2010, 2011 Michael Schierl")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2013-07-23 08:13:44
|
Revision: 115 http://sourceforge.net/p/mwinapi/code/115 Author: danielrose Date: 2013-07-23 08:13:36 +0000 (Tue, 23 Jul 2013) Log Message: ----------- Added a Visual Studio 2010 version of ManagedWinapi which targets the .NET 4.0 client framework. Added Paths: ----------- trunk/ManagedWinapi/ManagedWinapi-2010.csproj trunk/ManagedWinapi-2010.sln Added: trunk/ManagedWinapi/ManagedWinapi-2010.csproj =================================================================== --- trunk/ManagedWinapi/ManagedWinapi-2010.csproj (rev 0) +++ trunk/ManagedWinapi/ManagedWinapi-2010.csproj 2013-07-23 08:13:36 UTC (rev 115) @@ -0,0 +1,145 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>ManagedWinapi</RootNamespace> + <AssemblyName>ManagedWinapi</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <TargetFrameworkProfile>Client</TargetFrameworkProfile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Debug\ManagedWinapi.XML</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <DocumentationFile>bin\Release\ManagedWinapi.XML</DocumentationFile> + </PropertyGroup> + <ItemGroup> + <Reference Include="Accessibility" /> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Drawing" /> + <Reference Include="System.Management" /> + <Reference Include="System.Windows.Forms" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Accessibility\AccessibleObjectListener.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="BitmapDataHandler.cs" /> + <Compile Include="COMTypeInformation.cs" /> + <Compile Include="Windows\Contents\AccessibleWindowParser.cs" /> + <Compile Include="ExtendedFileInfo.cs" /> + <Compile Include="CodepointRange.cs" /> + <Compile Include="Hooks\Hook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="InputBlocker.cs" /> + <Compile Include="Hooks\JournalHook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="KeyboardKey.cs" /> + <Compile Include="Hooks\LowLevelHook.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="MachineIdentifiers.cs" /> + <Compile Include="PixelData.cs" /> + <Compile Include="ProcessMemoryChunk.cs" /> + <Compile Include="ProcessTree.cs" /> + <Compile Include="Windows\Screenshot.cs" /> + <Compile Include="ShortcutBox.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="ShortcutBox.Designer.cs"> + <DependentUpon>ShortcutBox.cs</DependentUpon> + </Compile> + <Compile Include="PrivilegedActions.cs" /> + <Compile Include="Accessibility\SystemAccessibleObject.cs" /> + <Compile Include="ApiHelper.cs" /> + <Compile Include="ClipboardNotifier.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="Windows\Contents\ContentParserRegistry.cs" /> + <Compile Include="Windows\Contents\ListParser.cs" /> + <Compile Include="Windows\Contents\TextFieldParser.cs" /> + <Compile Include="Windows\Contents\WindowContent.cs" /> + <Compile Include="Windows\Contents\WindowContentParser.cs" /> + <Compile Include="Crosshair.cs"> + <SubType>UserControl</SubType> + </Compile> + <Compile Include="Crosshair.Designer.cs"> + <DependentUpon>Crosshair.cs</DependentUpon> + </Compile> + <Compile Include="Audio\Mixer\Mixer.cs" /> + <Compile Include="Audio\Mixer\MixerControl.cs" /> + <Compile Include="Audio\Mixer\MixerLine.cs" /> + <Compile Include="Windows\PInvokeTypes.cs" /> + <Compile Include="SendKeysEscaper.cs" /> + <Compile Include="Windows\EventDispatchingNativeWindow.cs" /> + <Compile Include="Hotkey.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="LockKeyResetter.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Windows\SystemListBox.cs" /> + <Compile Include="Windows\SystemListView.cs" /> + <Compile Include="Windows\SystemTreeView.cs" /> + <Compile Include="Windows\SystemWindow.cs" /> + <Compile Include="TextCursor.cs" /> + <Compile Include="TextCursorProvider.cs"> + <SubType>Component</SubType> + </Compile> + <Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="Crosshair.resx"> + <SubType>Designer</SubType> + <DependentUpon>Crosshair.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="crosshair.ico" /> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="crosshair.cur" /> + <EmbeddedResource Include="ShortcutBox.resx"> + <SubType>Designer</SubType> + <DependentUpon>ShortcutBox.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <Content Include="ManagedWinapiNativeHelper.dll"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <None Include="app.config" /> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Added: trunk/ManagedWinapi-2010.sln =================================================================== --- trunk/ManagedWinapi-2010.sln (rev 0) +++ trunk/ManagedWinapi-2010.sln 2013-07-23 08:13:36 UTC (rev 115) @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedWinapi-2010", "ManagedWinapi\ManagedWinapi-2010.csproj", "{FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FBD3EC1E-47E2-4D2D-81C9-D6506125A09A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2015-01-27 22:52:14
|
Revision: 127 http://sourceforge.net/p/mwinapi/code/127 Author: schierlm Date: 2015-01-27 22:52:13 +0000 (Tue, 27 Jan 2015) Log Message: ----------- Mirror repo to GitHub Added Paths: ----------- trunk/README.md trunk/svn.authors Added: trunk/README.md =================================================================== --- trunk/README.md (rev 0) +++ trunk/README.md 2015-01-27 22:52:13 UTC (rev 127) @@ -0,0 +1,6 @@ +ManagedWinapi +============= + +Website: http://mwinapi.sourceforge.net/ + +Mirrored Github Repo: https://github.com/mwinapi/mwinapi Added: trunk/svn.authors =================================================================== --- trunk/svn.authors (rev 0) +++ trunk/svn.authors 2015-01-27 22:52:13 UTC (rev 127) @@ -0,0 +1,11 @@ +bbauer = Bill Bauer <bb...@us...> +danielrose = Daniel Rose <dan...@us...> +frank_koch = Frank Koch <fra...@us...> +normanr = Norman Rasmussen <no...@us...> +poovenb = Poovendran Baccus <po...@us...> +schierlm = Michael Schierl <sch...@gm...> +ziewer = Peter Ziewer <zi...@in...> + + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sch...@us...> - 2020-09-26 21:31:18
|
Revision: 146 http://sourceforge.net/p/mwinapi/code/146 Author: schierlm Date: 2020-09-26 21:31:15 +0000 (Sat, 26 Sep 2020) Log Message: ----------- Several changes to GitHub Actions workflow - run Github Actions workflow on all branches - Build both Debug and ReleaseSigned configurations - Add artifacts - Get rid of appveyor.yml - Update badge link Modified Paths: -------------- trunk/.github/workflows/ManagedWinapi-2010.yml trunk/README.md Removed Paths: ------------- trunk/appveyor.yml Modified: trunk/.github/workflows/ManagedWinapi-2010.yml =================================================================== --- trunk/.github/workflows/ManagedWinapi-2010.yml 2020-09-26 21:30:55 UTC (rev 145) +++ trunk/.github/workflows/ManagedWinapi-2010.yml 2020-09-26 21:31:15 UTC (rev 146) @@ -1,14 +1,12 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: Automated Build # Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch +# events on: push: - branches: [ master ] pull_request: - branches: [ master ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -15,7 +13,7 @@ # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: [windows-latest] + runs-on: windows-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -28,5 +26,20 @@ #- name: Setup NuGet.exe for use with actions # uses: NuGet/setup-nuget@v1.0.2 - - name: Build the solution - run: msbuild ManagedWinapi-2010.sln + - name: Build the solution (Debug) + run: msbuild ManagedWinapi-2010.sln /property:Configuration=Debug + + - name: Build the solution (ReleaseSigned) + run: msbuild ManagedWinapi-2010.sln /property:Configuration=ReleaseSigned + + - name: Upload artifact bin_Debug + uses: actions/upload-artifact@v2 + with: + name: bin_Debug + path: D:\a\mwinapi\mwinapi\ManagedWinapi\bin\Debug\ + + - name: Upload artifact bin_ReleaseSigned + uses: actions/upload-artifact@v2 + with: + name: bin_ReleaseSigned + path: D:\a\mwinapi\mwinapi\ManagedWinapi\bin\ReleaseSigned\ Modified: trunk/README.md =================================================================== --- trunk/README.md 2020-09-26 21:30:55 UTC (rev 145) +++ trunk/README.md 2020-09-26 21:31:15 UTC (rev 146) @@ -5,6 +5,6 @@ Mirrored Github Repo: https://github.com/mwinapi/mwinapi -![CI](https://github.com/donid/mwinapi/workflows/CI/badge.svg) +![Automated Build](https://github.com/mwinapi/mwinapi/workflows/Automated%20Build/badge.svg) Pull Requests on GitHub are welcome, I will try to keep the repos on GitHub and SourceForge in sync. Deleted: trunk/appveyor.yml =================================================================== --- trunk/appveyor.yml 2020-09-26 21:30:55 UTC (rev 145) +++ trunk/appveyor.yml 2020-09-26 21:31:15 UTC (rev 146) @@ -1,12 +0,0 @@ -version: 0.3.0.{build} -configuration: -- Debug -- ReleaseSigned -build: - project: ManagedWinapi-2010.sln - verbosity: normal -artifacts: -- path: ManagedWinapi\bin\Debug\ - name: bin_Debug -- path: ManagedWinapi\bin\ReleaseSigned\ - name: bin_ReleaseSigned \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |