greenshot/GreenshotPicasaPlugin/GreenshotPicasaPlugin.csproj
2016-05-31 23:00:08 +02:00

91 lines
4.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\CommonProject.properties" />
<PropertyGroup>
<ProjectGuid>{1893A2E4-A78A-4713-A8E7-E70058DABEE0}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>GreenshotPicasaPlugin</RootNamespace>
<AssemblyName>GreenshotPicasaPlugin</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<AppDesignerFolder>Properties</AppDesignerFolder>
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<NoStdLib>False</NoStdLib>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<RunPostBuildEvent>Always</RunPostBuildEvent>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile />
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
<ItemGroup>
<Reference Include="log4net">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\Greenshot\lib\log4net.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="PicasaCredentials.cs" />
<Compile Include="Forms\PicasaForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\SettingsForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\SettingsForm.Designer.cs">
<DependentUpon>SettingsForm.cs</DependentUpon>
</Compile>
<Compile Include="LanguageKeys.cs" />
<Compile Include="PicasaConfiguration.cs" />
<Compile Include="PicasaDestination.cs" />
<Compile Include="PicasaPlugin.cs" />
<Compile Include="PicasaUtils.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="PicasaPlugin.resx">
<DependentUpon>PicasaPlugin.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="Languages\language_picasaplugin-en-US.xml" />
<Content Include="Picasa.png" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GreenshotPlugin\GreenshotPlugin.csproj">
<Project>{5B924697-4DCD-4F98-85F1-105CB84B7341}</Project>
<Name>GreenshotPlugin</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Languages\language_picasaplugin-fr-FR.xml" />
<None Include="Languages\language_picasaplugin-it-IT.xml" />
<None Include="Languages\language_picasaplugin-ru-RU.xml" />
<None Include="Languages\language_picasaplugin-uk-UA.xml" />
<None Include="Languages\language_picasaplugin-zh-CN.xml" />
</ItemGroup>
<PropertyGroup>
<PostBuildEvent>if exist "$(ProjectDir)PicasaCredentials.orig.cs" (
rename "$(ProjectDir)PicasaCredentials.cs" "PicasaCredentials.private.cs"
rename "$(ProjectDir)PicasaCredentials.orig.cs" "PicasaCredentials.cs"
)
mkdir "$(SolutionDir)Greenshot\bin\$(Configuration)\Plugins\$(ProjectName)"
copy "$(ProjectDir)bin\$(Configuration)\$(ProjectName).dll" "$(SolutionDir)Greenshot\bin\$(Configuration)\Plugins\$(ProjectName)\*.gsp"
copy "$(ProjectDir)bin\$(Configuration)\$(ProjectName).pdb" "$(SolutionDir)Greenshot\bin\$(Configuration)\Plugins\$(ProjectName)\"
mkdir "$(SolutionDir)Greenshot\bin\$(Configuration)\Languages\Plugins\$(ProjectName)"
copy "$(ProjectDir)Languages\*.xml" "$(SolutionDir)Greenshot\bin\$(Configuration)\Languages\Plugins\$(ProjectName)\"
</PostBuildEvent>
<PreBuildEvent>
if exist "$(ProjectDir)PicasaCredentials.private.cs" (
rename "$(ProjectDir)PicasaCredentials.cs" "PicasaCredentials.orig.cs"
rename "$(ProjectDir)PicasaCredentials.private.cs" "PicasaCredentials.cs"
)</PreBuildEvent>
</PropertyGroup>
</Project>