mirror of
https://github.com/kimmknight/remoteapptool.git
synced 2024-11-24 22:47:22 +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).
102 lines
4.1 KiB
XML
102 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" 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>{029C010D-728B-4B87-B54A-08B2BBF49BD7}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>LockChecker</RootNamespace>
|
|
<AssemblyName>LockChecker</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<MyType>Windows</MyType>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<Deterministic>true</Deterministic>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<DefineDebug>true</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DocumentationFile>LockChecker.xml</DocumentationFile>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<DefineDebug>false</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DocumentationFile>LockChecker.xml</DocumentationFile>
|
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionExplicit>On</OptionExplicit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionCompare>Binary</OptionCompare>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionStrict>Off</OptionStrict>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<OptionInfer>On</OptionInfer>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Import Include="Microsoft.VisualBasic" />
|
|
<Import Include="System" />
|
|
<Import Include="System.Collections" />
|
|
<Import Include="System.Collections.Generic" />
|
|
<Import Include="System.Data" />
|
|
<Import Include="System.Diagnostics" />
|
|
<Import Include="System.Linq" />
|
|
<Import Include="System.Xml.Linq" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="LockCheck.vb" />
|
|
<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="My Project\Resources.resx">
|
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<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>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
|
</Project> |