Script for automating a large assortment of AME related actions
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

251 lines
17 KiB

9 months ago
9 months ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="packages\Costura.Fody.5.7.0\build\Costura.Fody.props" Condition="Exists('packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <ApplicationManifest>app.manifest</ApplicationManifest>
  7. <ApplicationIcon>amecs.ico</ApplicationIcon>
  8. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  12. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  13. <ProjectGuid>{BD020697-9E9B-4A46-8804-BC47F0FC2806}</ProjectGuid>
  14. <OutputType>Exe</OutputType>
  15. <AppDesignerFolder>Properties</AppDesignerFolder>
  16. <RootNamespace>amecs</RootNamespace>
  17. <AssemblyName>amecs</AssemblyName>
  18. <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  19. <FileAlignment>512</FileAlignment>
  20. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  21. <LangVersion>8</LangVersion>
  22. </PropertyGroup>
  23. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  24. <PlatformTarget>x64</PlatformTarget>
  25. <DebugSymbols>true</DebugSymbols>
  26. <DebugType>embedded</DebugType>
  27. <Optimize>false</Optimize>
  28. <OutputPath>bin\Debug\</OutputPath>
  29. <DefineConstants>DEBUG;TRACE</DefineConstants>
  30. <ErrorReport>prompt</ErrorReport>
  31. <WarningLevel>4</WarningLevel>
  32. <Prefer32bit>false</Prefer32bit>
  33. </PropertyGroup>
  34. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  35. <PlatformTarget>x64</PlatformTarget>
  36. <DebugType>embedded</DebugType>
  37. <Optimize>true</Optimize>
  38. <OutputPath>bin\Release\</OutputPath>
  39. <DefineConstants>RELEASE;TRACE</DefineConstants>
  40. <ErrorReport>prompt</ErrorReport>
  41. <WarningLevel>4</WarningLevel>
  42. <Prefer32bit>false</Prefer32bit>
  43. </PropertyGroup>
  44. <ItemGroup>
  45. <Reference Include="Costura, Version=5.7.0.0, Culture=neutral, processorArchitecture=MSIL">
  46. <HintPath>packages\Costura.Fody.5.7.0\lib\netstandard1.0\Costura.dll</HintPath>
  47. </Reference>
  48. <Reference Include="JetBrains.Annotations, Version=4242.42.42.42, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
  49. <HintPath>packages\JetBrains.Annotations.2022.3.1\lib\net20\JetBrains.Annotations.dll</HintPath>
  50. <Private>False</Private>
  51. </Reference>
  52. <Reference Include="Microsoft.CSharp" />
  53. <Reference Include="Microsoft.Dism, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5bba90053b345501, processorArchitecture=MSIL">
  54. <HintPath>packages\Microsoft.Dism.2.5.2\lib\net40\Microsoft.Dism.dll</HintPath>
  55. </Reference>
  56. <Reference Include="Microsoft.Win32.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  57. <HintPath>packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll</HintPath>
  58. </Reference>
  59. <Reference Include="mscorlib" />
  60. <Reference Include="System" />
  61. <Reference Include="System.AppContext, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  62. <HintPath>packages\System.AppContext.4.3.0\lib\net463\System.AppContext.dll</HintPath>
  63. </Reference>
  64. <Reference Include="System.CodeDom, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
  65. <HintPath>packages\System.CodeDom.7.0.0\lib\net462\System.CodeDom.dll</HintPath>
  66. </Reference>
  67. <Reference Include="System.ComponentModel.Composition" />
  68. <Reference Include="System.Configuration" />
  69. <Reference Include="System.Console, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  70. <HintPath>packages\System.Console.4.3.0\lib\net46\System.Console.dll</HintPath>
  71. </Reference>
  72. <Reference Include="System.Core" />
  73. <Reference Include="System.Data" />
  74. <Reference Include="System.Data.OracleClient" />
  75. <Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
  76. <HintPath>packages\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath>
  77. <Private>False</Private>
  78. </Reference>
  79. <Reference Include="System.Diagnostics.Tracing, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  80. <HintPath>packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll</HintPath>
  81. </Reference>
  82. <Reference Include="System.DirectoryServices" />
  83. <Reference Include="System.DirectoryServices.AccountManagement" />
  84. <Reference Include="System.Drawing" />
  85. <Reference Include="System.Drawing.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  86. <HintPath>packages\System.Drawing.Primitives.4.3.0\lib\net45\System.Drawing.Primitives.dll</HintPath>
  87. </Reference>
  88. <Reference Include="System.Globalization.Calendars, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  89. <HintPath>packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll</HintPath>
  90. </Reference>
  91. <Reference Include="System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  92. <HintPath>packages\System.IO.4.3.0\lib\net462\System.IO.dll</HintPath>
  93. </Reference>
  94. <Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
  95. <HintPath>packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
  96. </Reference>
  97. <Reference Include="System.IO.Compression.FileSystem" />
  98. <Reference Include="System.IO.Compression.ZipFile, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
  99. <HintPath>packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll</HintPath>
  100. </Reference>
  101. <Reference Include="System.IO.FileSystem, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  102. <HintPath>packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll</HintPath>
  103. </Reference>
  104. <Reference Include="System.IO.FileSystem.AccessControl, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  105. <HintPath>packages\System.IO.FileSystem.AccessControl.5.0.0\lib\net461\System.IO.FileSystem.AccessControl.dll</HintPath>
  106. <Private>False</Private>
  107. </Reference>
  108. <Reference Include="System.IO.FileSystem.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  109. <HintPath>packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll</HintPath>
  110. </Reference>
  111. <Reference Include="System.Linq, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  112. <HintPath>packages\System.Linq.4.3.0\lib\net463\System.Linq.dll</HintPath>
  113. </Reference>
  114. <Reference Include="System.Linq.Expressions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  115. <HintPath>packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll</HintPath>
  116. </Reference>
  117. <Reference Include="System.Management" />
  118. <Reference Include="System.Net" />
  119. <Reference Include="System.Net.Http, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  120. <HintPath>packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll</HintPath>
  121. </Reference>
  122. <Reference Include="System.Net.Sockets, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  123. <HintPath>packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll</HintPath>
  124. </Reference>
  125. <Reference Include="System.Numerics" />
  126. <Reference Include="System.Reflection, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  127. <HintPath>packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll</HintPath>
  128. </Reference>
  129. <Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  130. <HintPath>packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
  131. </Reference>
  132. <Reference Include="System.Runtime.Extensions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  133. <HintPath>packages\System.Runtime.Extensions.4.3.0\lib\net462\System.Runtime.Extensions.dll</HintPath>
  134. </Reference>
  135. <Reference Include="System.Runtime.InteropServices, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  136. <HintPath>packages\System.Runtime.InteropServices.4.3.0\lib\net463\System.Runtime.InteropServices.dll</HintPath>
  137. </Reference>
  138. <Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  139. <HintPath>packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
  140. </Reference>
  141. <Reference Include="System.Security" />
  142. <Reference Include="System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  143. <HintPath>packages\System.Security.AccessControl.6.0.0\lib\net461\System.Security.AccessControl.dll</HintPath>
  144. <Private>False</Private>
  145. </Reference>
  146. <Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  147. <HintPath>packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
  148. </Reference>
  149. <Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  150. <HintPath>packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
  151. </Reference>
  152. <Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  153. <HintPath>packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
  154. </Reference>
  155. <Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  156. <HintPath>packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
  157. </Reference>
  158. <Reference Include="System.Security.Permissions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
  159. <HintPath>packages\System.Security.Permissions.7.0.0\lib\net462\System.Security.Permissions.dll</HintPath>
  160. <Private>False</Private>
  161. </Reference>
  162. <Reference Include="System.Security.Principal.Windows, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  163. <HintPath>packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll</HintPath>
  164. <Private>False</Private>
  165. </Reference>
  166. <Reference Include="System.ServiceProcess" />
  167. <Reference Include="System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  168. <HintPath>packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll</HintPath>
  169. </Reference>
  170. <Reference Include="System.Transactions" />
  171. <Reference Include="System.Windows.Forms" />
  172. <Reference Include="System.Xml" />
  173. <Reference Include="System.Xml.Linq" />
  174. <Reference Include="System.Xml.ReaderWriter, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
  175. <HintPath>packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll</HintPath>
  176. </Reference>
  177. <Reference Include="WindowsBase" />
  178. </ItemGroup>
  179. <ItemGroup>
  180. <Compile Include="Actions\.NET.cs" />
  181. <Compile Include="Actions\AutoLogon.cs" />
  182. <Compile Include="Actions\Elevation.cs" />
  183. <Compile Include="Actions\Languages.cs" />
  184. <Compile Include="Actions\Lockscreen.cs" />
  185. <Compile Include="Actions\Profile.cs" />
  186. <Compile Include="Actions\UsernameRequirement.cs" />
  187. <Compile Include="Actions\UserPass.cs" />
  188. <Compile Include="Actions\Users.cs" />
  189. <Compile Include="amecs.cs" />
  190. <Compile Include="Ameliorated.ConsoleUtils\ConsoleTUI\ConsoleTUI.cs" />
  191. <Compile Include="Ameliorated.ConsoleUtils\ConsoleTUI\Frame.cs" />
  192. <Compile Include="Ameliorated.ConsoleUtils\ConsoleTUI\FrameWriteMethods.cs" />
  193. <Compile Include="Ameliorated.ConsoleUtils\ConsoleTUI\Menu.cs" />
  194. <Compile Include="Ameliorated.ConsoleUtils\ConsoleTUI\MouseInterface.cs" />
  195. <Compile Include="Ameliorated.ConsoleUtils\ConsoleTUI\Prompt.cs" />
  196. <Compile Include="Ameliorated.ConsoleUtils\ConsoleUtils.cs" />
  197. <Compile Include="Ameliorated.ConsoleUtils\Extensions.cs" />
  198. <Compile Include="Ameliorated.ConsoleUtils\ParentProcess.cs" />
  199. <Compile Include="Ameliorated.ConsoleUtils\Payload.cs" />
  200. <Compile Include="Extra\Extra.cs" />
  201. <Compile Include="Extra\NVCP.cs" />
  202. <Compile Include="Extra\WSH.cs" />
  203. <Compile Include="Globals.cs" />
  204. <Compile Include="NSudo.cs" />
  205. <Compile Include="Program.cs" />
  206. <Compile Include="Properties\AssemblyInfo.cs" />
  207. <Compile Include="Registry.cs" />
  208. </ItemGroup>
  209. <ItemGroup>
  210. <None Include="amecs.ico" />
  211. <None Include="amecs.png" />
  212. <None Include="packages.config" />
  213. </ItemGroup>
  214. <ItemGroup>
  215. <Folder Include="Menus" />
  216. <Folder Include="NSudo" />
  217. </ItemGroup>
  218. <ItemGroup>
  219. <Content Include="app.manifest" />
  220. </ItemGroup>
  221. <ItemGroup>
  222. <COMReference Include="IWshRuntimeLibrary">
  223. <Guid>{F935DC20-1CF0-11D0-ADB9-00C04FD58A0B}</Guid>
  224. <VersionMajor>1</VersionMajor>
  225. <VersionMinor>0</VersionMinor>
  226. <Lcid>0</Lcid>
  227. <WrapperTool>tlbimp</WrapperTool>
  228. <Isolated>False</Isolated>
  229. <EmbedInteropTypes>True</EmbedInteropTypes>
  230. </COMReference>
  231. </ItemGroup>
  232. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  233. <Import Project="packages\Fody.6.5.5\build\Fody.targets" Condition="Exists('packages\Fody.6.5.5\build\Fody.targets')" />
  234. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  235. <PropertyGroup>
  236. <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
  237. </PropertyGroup>
  238. <Error Condition="!Exists('packages\Fody.6.5.5\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Fody.6.5.5\build\Fody.targets'))" />
  239. <Error Condition="!Exists('packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Costura.Fody.5.7.0\build\Costura.Fody.props'))" />
  240. <Error Condition="!Exists('packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Costura.Fody.5.7.0\build\Costura.Fody.targets'))" />
  241. </Target>
  242. <Import Project="packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
  243. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  244. Other similar extension points exist, see Microsoft.Common.targets.
  245. <Target Name="BeforeBuild">
  246. </Target>
  247. <Target Name="AfterBuild">
  248. </Target>
  249. -->
  250. </Project>