mirror of
https://github.com/kimmknight/remoteapptool.git
synced 2024-11-09 20:28:20 +00:00
57111a3d21
Resulted in breaking some of my habits and putting a messagebox windows in libraries. Not my favorite thing, but it works. This helps debug issue 3, it does not resolve issue 3. To test it - open an office document (such as Word or Excel) and try to overwrite the office document with the RDP file including the office document extention (xls, xlsx, doc, docx, etc). The application will tell you that the file is locked, locked by Word/Excel/etc and the PID that is locking it just in case you have multiple copies of the application that is locking it open. A lot of the code was borrowed from Microsoft (https://code.msdn.microsoft.com/windowsapps/How-to-know-the-process-170ed5f3/sourcecode?fileId=151114&pathId=1558127374).
304 lines
12 KiB
XML
304 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{2D140FE4-0794-43AC-BE7B-9D918B3F9C61}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<StartupObject>RemoteApp_Tool.My.MyApplication</StartupObject>
|
|
<RootNamespace>RemoteApp_Tool</RootNamespace>
|
|
<AssemblyName>RemoteApp Tool</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<MyType>WindowsForms</MyType>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile />
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<SignAssembly>False</SignAssembly>
|
|
<DelaySign>False</DelaySign>
|
|
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
|
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>Full</DebugType>
|
|
<DefineDebug>true</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DocumentationFile>RemoteApp Tool.xml</DocumentationFile>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<DefineDebug>false</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DocumentationFile>RemoteApp Tool.xml</DocumentationFile>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionExplicit>On</OptionExplicit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionCompare>Binary</OptionCompare>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionStrict>Off</OptionStrict>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionInfer>On</OptionInfer>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationIcon>add-window.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ManifestCertificateThumbprint>BB4C8620F86E472788E1B361CE835B5A7E437B86</ManifestCertificateThumbprint>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ManifestKeyFile>RemoteApp Tool_TemporaryKey.pfx</ManifestKeyFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<GenerateManifests>false</GenerateManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignManifests>true</SignManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<TargetZone>LocalIntranet</TargetZone>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<Optimize>False</Optimize>
|
|
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
|
<BaseAddress>4194304</BaseAddress>
|
|
<RegisterForComInterop>False</RegisterForComInterop>
|
|
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="IconLib, Version=0.73.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>.\IconLib.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Import Include="Microsoft.VisualBasic" />
|
|
<Import Include="System" />
|
|
<Import Include="System.Collections" />
|
|
<Import Include="System.Collections.Generic" />
|
|
<Import Include="System.Drawing" />
|
|
<Import Include="System.Diagnostics" />
|
|
<Import Include="System.Windows.Forms" />
|
|
<Import Include="System.Linq" />
|
|
<Import Include="System.Xml.Linq" />
|
|
<Import Include="System.Threading.Tasks" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="ApplicationEvents.vb" />
|
|
<Compile Include="HelpSystem.vb" />
|
|
<Compile Include="IconModule.vb" />
|
|
<Compile Include="LocalFtaModule.vb" />
|
|
<Compile Include="RemoteAppCreateClientConnection.Designer.vb">
|
|
<DependentUpon>RemoteAppCreateClientConnection.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppCreateClientConnection.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="RemoteAppFileTypeAssociation.Designer.vb">
|
|
<DependentUpon>RemoteAppFileTypeAssociation.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppFileTypeAssociation.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="RemoteAppAboutWindow.Designer.vb">
|
|
<DependentUpon>RemoteAppAboutWindow.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppAboutWindow.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="RemoteAppFunctions.vb" />
|
|
<Compile Include="RemoteAppHostOptions.Designer.vb">
|
|
<DependentUpon>RemoteAppHostOptions.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppHostOptions.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="RemoteAppEditWindow.Designer.vb">
|
|
<DependentUpon>RemoteAppEditWindow.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppEditWindow.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="RemoteAppIconPicker.Designer.vb">
|
|
<DependentUpon>RemoteAppIconPicker.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppIconPicker.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="RemoteAppMainWindow.Designer.vb">
|
|
<DependentUpon>RemoteAppMainWindow.vb</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="RemoteAppMainWindow.vb">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
|
<Compile Include="My Project\Application.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Application.myapp</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="My Project\Resources.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="My Project\Settings.Designer.vb">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="RemoteAppAboutWindow.resx">
|
|
<DependentUpon>RemoteAppAboutWindow.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="RemoteAppCreateClientConnection.resx">
|
|
<DependentUpon>RemoteAppCreateClientConnection.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="RemoteAppFileTypeAssociation.resx">
|
|
<DependentUpon>RemoteAppFileTypeAssociation.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="RemoteAppHostOptions.resx">
|
|
<DependentUpon>RemoteAppHostOptions.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="RemoteAppEditWindow.resx">
|
|
<DependentUpon>RemoteAppEditWindow.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="RemoteAppIconPicker.resx">
|
|
<DependentUpon>RemoteAppIconPicker.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="RemoteAppMainWindow.resx">
|
|
<DependentUpon>RemoteAppMainWindow.vb</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="My Project\Resources.resx">
|
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="app.manifest">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
<None Include="My Project\app.manifest" />
|
|
<None Include="My Project\Application.myapp">
|
|
<Generator>MyApplicationCodeGenerator</Generator>
|
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
|
</None>
|
|
<None Include="My Project\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<CustomToolNamespace>My</CustomToolNamespace>
|
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
|
</None>
|
|
<None Include="App.config">
|
|
<SubType>Designer</SubType>
|
|
</None>
|
|
<None Include="RemoteApp Tool_TemporaryKey.pfx" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Resources\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.4.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>Windows Installer 4.5</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="add-window.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<WCFMetadata Include="Service References\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\LockChecker\LockChecker.vbproj">
|
|
<Project>{029c010d-728b-4b87-b54a-08b2bbf49bd7}</Project>
|
|
<Name>LockChecker</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\RDP2MSILib\RDP2MSILib.vbproj">
|
|
<Project>{e1cb5f9c-230f-4967-8f19-335f8e4a4906}</Project>
|
|
<Name>RDP2MSILib</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\RDP2MSI\RDP2MSI.vbproj">
|
|
<Project>{1001a958-40db-4444-9cd7-09d1188072d1}</Project>
|
|
<Name>RDP2MSI</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\RDPFileLib\RDPFileLib.vbproj">
|
|
<Project>{258307d5-a407-4622-bf1a-bdca8e3d2faa}</Project>
|
|
<Name>RDPFileLib</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\RDPSign\RDPSign.vbproj">
|
|
<Project>{57dabb69-b1d3-445f-91e7-b0412abac218}</Project>
|
|
<Name>RDPSign</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\RemoteAppLib\RemoteAppLib.vbproj">
|
|
<Project>{785b6808-b2fe-4c18-9d63-6dab46482374}</Project>
|
|
<Name>RemoteAppLib</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.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> |