mirror of
https://github.com/rumata-ap/MatrixExtension_SMathStudio.git
synced 2026-01-10 03:09:46 +03:00
107 lines
5.1 KiB
XML
107 lines
5.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>{6DD7D794-EB0C-4386-8FAF-64C1C9AEED27}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>MatrixExtensions</RootNamespace>
|
|
<AssemblyName>MatrixExtensions</AssemblyName>
|
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<AssemblyVersion>1.0.*</AssemblyVersion>
|
|
<Deterministic>false</Deterministic>
|
|
<TargetFrameworkProfile>
|
|
</TargetFrameworkProfile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<!-- Relase -> SMath Release Manager -->
|
|
<SMathDir Condition=" '$(SMathDir)' == '' AND '$(Configuration)' == 'Release' ">..\..\..\Main\SMathStudio\canvas\bin\Debug</SMathDir>
|
|
<!-- Debug -> development -->
|
|
<SMathDir Condition=" '$(SMathDir)' == '' AND '$(Configuration)' == 'Debug' ">C:\Program Files (x86)\SMath Studio</SMathDir>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SMathDir Condition=" '$(SMathDir)' == '' ">C:\Program Files (x86)\SMathStudio</SMathDir>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="SMath.Controls">
|
|
<HintPath>$(SMathDir)\SMath.Controls.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="SMath.Manager">
|
|
<HintPath>$(SMathDir)\SMath.Manager.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="SMath.Math.Numeric">
|
|
<HintPath>$(SMathDir)\SMath.Math.Numeric.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="SMath.Math.Symbolic">
|
|
<HintPath>$(SMathDir)\SMath.Math.Symbolic.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="MatrixExtensions.cs" />
|
|
<Compile Include="MatrixL.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Utilites.cs" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- copy anything from the build path to the SMath Studio extension path -->
|
|
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Debug' ">
|
|
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
|
|
<Output TaskParameter="Assemblies" ItemName="AssemblyInfo" />
|
|
</GetAssemblyIdentity>
|
|
<GetAssemblyIdentity AssemblyFiles="$(SMathDir)\SMath.Manager.dll">
|
|
<Output TaskParameter="Assemblies" ItemName="ProgramInfo" />
|
|
</GetAssemblyIdentity>
|
|
<PropertyGroup>
|
|
<ProgramVersion>%(ProgramInfo.Version)</ProgramVersion>
|
|
<ConfigFileName>config.$(ProgramVersion.Replace(".", "_")).ini</ConfigFileName>
|
|
<!-- SS portable -->
|
|
<PluginPath Condition=" Exists('$(SMathDir)\portable.version')">$(SMathDir)\extensions\plugins\$(ProjectGuid.TrimStart("{").TrimEnd("}"))</PluginPath>
|
|
<!-- SS from installer -->
|
|
<PluginPath Condition=" '$(PluginPath)' == ''">$(APPDATA)\SMath\extensions\plugins\$(ProjectGuid.TrimStart("{").TrimEnd("}"))</PluginPath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<BuildFiles Include="$(TargetDir)\*.*" />
|
|
<ConfigFileContent Include="%(AssemblyInfo.Version)" />
|
|
<!-- extension status (0: enabled; 2: disabled; 1: removed) -->
|
|
<ConfigFileContent Include="0" />
|
|
</ItemGroup>
|
|
<!-- uncomment line below to keep clean the extension directory -->
|
|
<!-- <RemoveDir Condition="'$(Configuration)' == 'Debug'"Directories="$(PluginPath)"/> -->
|
|
<Copy SourceFiles="@(BuildFiles)" DestinationFolder="$(PluginPath)\%(AssemblyInfo.Version)" ContinueOnError="false" />
|
|
<WriteLinesToFile File="$(PluginPath)\$(ConfigFileName)" Lines="@(ConfigFileContent)" Overwrite="true" />
|
|
</Target>
|
|
</Project> |