/
dev-npgsql
/
npgsql
Обзор
Документация
Войти
/
dev-npgsql
/
npgsql
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v4.1.13
src/MSI/MSI.wixproj
93 строки
5 KB
Shay Rojansky
Switch to Github Actions
17 фев 2020, 18:33
17 фев 2020, 18:33
ba3b107
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> <ProductVersion>3.10</ProductVersion> <ProjectGuid>3e9d78d3-c5d4-40e3-9fdd-ac91e19618ab</ProjectGuid> <SchemaVersion>2.0</SchemaVersion> <OutputName>GACInstaller</OutputName> <OutputType>Package</OutputType> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <DefineSolutionProperties>False</DefineSolutionProperties> <!-- We suppress ICE validation because apparently it requires an interactive account or admin privileges, which doesn't work in continuous integration --> <SuppressValidation>true</SuppressValidation> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <OutputPath>bin\$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <DefineConstants>Debug</DefineConstants> <SuppressIces>ICE09;ICE32;ICE61</SuppressIces> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <OutputPath>bin\$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <SuppressIces>ICE09;ICE32;ICE61</SuppressIces> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseOptimizedCryptography|x86' "> <OutputPath>bin\$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <SuppressIces>ICE09;ICE32;ICE61</SuppressIces> </PropertyGroup> <ItemGroup> <Compile Include="Npgsql.wxs" /> </ItemGroup> <ItemGroup> <WixExtension Include="WixUIExtension"> <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath> <Name>WixUIExtension</Name> </WixExtension> <WixExtension Include="WixUtilExtension"> <HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath> <Name>WixUtilExtension</Name> </WixExtension> </ItemGroup> <ItemGroup> <Content Include="License.rtf" /> <Content Include="postgresql.ico" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Strings1.wxl" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Npgsql\Npgsql.csproj"> <Name>Npgsql</Name> <Project>{9d13b739-62b1-4190-b386-7a9547304eb3}</Project> <Private>True</Private> <DoNotHarvest>True</DoNotHarvest> <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups> <RefTargetDir>INSTALLFOLDER</RefTargetDir> </ProjectReference> </ItemGroup> <Import Project="$(WixTargetsPath)" /> <Target Name="CreateWixProperties" BeforeTargets="Compile"> <!-- Get the programs assembly version from the .exe file --> <GetAssemblyIdentity AssemblyFiles="..\Npgsql\bin\$(Configuration)\net461\Npgsql.dll"> <Output TaskParameter="Assemblies" ItemName="AsmInfo" /> </GetAssemblyIdentity> <CreateProperty Value="%(AsmInfo.Version)"> <Output TaskParameter="Value" PropertyName="FullVersion" /> </CreateProperty> <!-- The Assembly version contains 4 numbers, chop the last one off --> <CreateProperty Value="$(FullVersion.Substring(0, $(FullVersion.LastIndexOf('.'))))"> <Output TaskParameter="Value" PropertyName="Version" /> </CreateProperty> <!-- Store the version numbers in Version preprocessor variable --> <CreateProperty Value="$(DefineConstants);Version=$(Version);FullVersion=$(FullVersion)"> <Output TaskParameter="Value" PropertyName="DefineConstants" /> </CreateProperty> <!-- Store the assembly public key token in AssemblyPublicKeyToken preprocessor variable --> <CreateProperty Value="$(DefineConstants);AssemblyPublicKeyToken=%(AsmInfo.PublicKeyToken)"> <Output TaskParameter="Value" PropertyName="DefineConstants" /> </CreateProperty> <!-- Name the .msi file --> <CreateProperty Value="Npgsql"> <Output TaskParameter="Value" PropertyName="TargetName" /> </CreateProperty> <!-- Name the .wixpdb file after the solution platform and assembly version e.g TestService-x86-1.4.0.0.msi --> <CreateProperty Value="$(TargetName)$(TargetPdbExt)"> <Output TaskParameter="Value" PropertyName="TargetPdbName" /> </CreateProperty> </Target> </Project>