mirror of
https://github.com/kimmknight/remoteapptool.git
synced 2024-11-13 21:58:21 +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).
118 lines
4.7 KiB
XML
118 lines
4.7 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>{258307D5-A407-4622-BF1A-BDCA8E3D2FAA}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>RDPFileLib</RootNamespace>
|
|
<AssemblyName>RDPFileLib</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<MyType>Windows</MyType>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile />
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<DefineDebug>true</DefineDebug>
|
|
<DefineTrace>true</DefineTrace>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DocumentationFile>RDPFileLib.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>RDPFileLib.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.Windows.Forms" />
|
|
<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" />
|
|
<Import Include="System.Threading.Tasks" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="RDPFileLib.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="app.config" />
|
|
<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>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\LockChecker\LockChecker.vbproj">
|
|
<Project>{029C010D-728B-4B87-B54A-08B2BBF49BD7}</Project>
|
|
<Name>LockChecker</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> |