<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
<PropertyGroup>
|
<ProjectType>Local</ProjectType>
|
<ProductVersion>8.0.50727</ProductVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
<ProjectGuid>{7ACEDAA9-2DE8-4485-837A-E7D58812A6DC}</ProjectGuid>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<ApplicationIcon>
|
</ApplicationIcon>
|
<AssemblyKeyContainerName>
|
</AssemblyKeyContainerName>
|
<AssemblyName>PdmSwPlugin</AssemblyName>
|
<AssemblyOriginatorKeyFile>
|
</AssemblyOriginatorKeyFile>
|
<DefaultClientScript>JScript</DefaultClientScript>
|
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
<DelaySign>false</DelaySign>
|
<OutputType>Library</OutputType>
|
<RootNamespace>PdmSw</RootNamespace>
|
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
|
<StartupObject>
|
</StartupObject>
|
<FileUpgradeFlags>
|
</FileUpgradeFlags>
|
<UpgradeBackupLocation>
|
</UpgradeBackupLocation>
|
<StartProgram>C:\Apps\SOLIDW~1\SOLIDW~1\\SldWorks.exe</StartProgram>
|
<StartAction>Program</StartAction>
|
<OldToolsVersion>2.0</OldToolsVersion>
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
<TargetFrameworkProfile />
|
<NuGetPackageImportStamp>
|
</NuGetPackageImportStamp>
|
</PropertyGroup>
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<OutputPath>bin\Debug\</OutputPath>
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
<BaseAddress>285212672</BaseAddress>
|
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
<ConfigurationOverrideFile>
|
</ConfigurationOverrideFile>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DocumentationFile>
|
</DocumentationFile>
|
<DebugSymbols>true</DebugSymbols>
|
<FileAlignment>4096</FileAlignment>
|
<NoStdLib>false</NoStdLib>
|
<NoWarn>
|
</NoWarn>
|
<Optimize>false</Optimize>
|
<RegisterForComInterop>true</RegisterForComInterop>
|
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<WarningLevel>4</WarningLevel>
|
<DebugType>full</DebugType>
|
<ErrorReport>prompt</ErrorReport>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<Prefer32Bit>false</Prefer32Bit>
|
</PropertyGroup>
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<OutputPath>bin\Release\</OutputPath>
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
<BaseAddress>285212672</BaseAddress>
|
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
<ConfigurationOverrideFile>
|
</ConfigurationOverrideFile>
|
<DefineConstants>TRACE</DefineConstants>
|
<DocumentationFile>
|
</DocumentationFile>
|
<DebugSymbols>false</DebugSymbols>
|
<FileAlignment>4096</FileAlignment>
|
<NoStdLib>false</NoStdLib>
|
<NoWarn>
|
</NoWarn>
|
<Optimize>true</Optimize>
|
<RegisterForComInterop>true</RegisterForComInterop>
|
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
<WarningLevel>4</WarningLevel>
|
<DebugType>none</DebugType>
|
<ErrorReport>prompt</ErrorReport>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<Prefer32Bit>false</Prefer32Bit>
|
</PropertyGroup>
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
<DebugSymbols>true</DebugSymbols>
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<BaseAddress>285212672</BaseAddress>
|
<FileAlignment>4096</FileAlignment>
|
<RegisterForComInterop>true</RegisterForComInterop>
|
<DebugType>full</DebugType>
|
<PlatformTarget>x64</PlatformTarget>
|
<LangVersion>7.3</LangVersion>
|
<ErrorReport>prompt</ErrorReport>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
</PropertyGroup>
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
<OutputPath>bin\x64\Release\</OutputPath>
|
<DefineConstants>TRACE</DefineConstants>
|
<BaseAddress>285212672</BaseAddress>
|
<Optimize>true</Optimize>
|
<FileAlignment>4096</FileAlignment>
|
<RegisterForComInterop>true</RegisterForComInterop>
|
<PlatformTarget>x64</PlatformTarget>
|
<LangVersion>7.3</LangVersion>
|
<ErrorReport>prompt</ErrorReport>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
</PropertyGroup>
|
<ItemGroup>
|
<Reference Include="AutoUpdater.NET, Version=1.8.6.0, Culture=neutral, PublicKeyToken=501435c91b35f4bc, processorArchitecture=MSIL">
|
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\PdmSwPlugin.Main\Lib\AutoUpdater.NET.dll</HintPath>
|
</Reference>
|
<Reference Include="log4net">
|
<HintPath>..\lib\log4net.dll</HintPath>
|
</Reference>
|
<Reference Include="Microsoft.CSharp">
|
<Private>True</Private>
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="Microsoft.Web.WebView2.Core, Version=1.0.1938.49, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
|
<HintPath>packages\Microsoft.Web.WebView2.1.0.1938.49\lib\net45\Microsoft.Web.WebView2.Core.dll</HintPath>
|
</Reference>
|
<Reference Include="Microsoft.Web.WebView2.WinForms, Version=1.0.1938.49, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
|
<HintPath>packages\Microsoft.Web.WebView2.1.0.1938.49\lib\net45\Microsoft.Web.WebView2.WinForms.dll</HintPath>
|
</Reference>
|
<Reference Include="Microsoft.Web.WebView2.Wpf, Version=1.0.1938.49, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
|
<HintPath>packages\Microsoft.Web.WebView2.1.0.1938.49\lib\net45\Microsoft.Web.WebView2.Wpf.dll</HintPath>
|
</Reference>
|
<Reference Include="PresentationCore">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="PresentationFramework">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="SolidWorks.Interop.gtswutilities">
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.gtswutilities.dll</HintPath>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="SolidWorks.Interop.sldworks">
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.sldworks.dll</HintPath>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="SolidWorks.Interop.swconst">
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.swconst.dll</HintPath>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="SolidWorks.Interop.swdocumentmgr">
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.swdocumentmgr.dll</HintPath>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="SolidWorks.Interop.swpublished">
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\api\redist\SolidWorks.Interop.swpublished.dll</HintPath>
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="SolidWorksTools">
|
<HintPath>C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\solidworkstools.dll</HintPath>
|
<Private>True</Private>
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
</Reference>
|
<Reference Include="SuperSocket.Common, Version=1.6.6.1, Culture=neutral, PublicKeyToken=6c80000676988ebb, processorArchitecture=MSIL">
|
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\lib\SuperSocket.Common.dll</HintPath>
|
</Reference>
|
<Reference Include="SuperSocket.Facility">
|
<HintPath>..\lib\SuperSocket.Facility.dll</HintPath>
|
</Reference>
|
<Reference Include="SuperSocket.SocketBase, Version=1.6.6.1, Culture=neutral, PublicKeyToken=6c80000676988ebb, processorArchitecture=MSIL">
|
<SpecificVersion>False</SpecificVersion>
|
<HintPath>..\lib\SuperSocket.SocketBase.dll</HintPath>
|
</Reference>
|
<Reference Include="SuperSocket.SocketEngine">
|
<HintPath>..\lib\SuperSocket.SocketEngine.dll</HintPath>
|
</Reference>
|
<Reference Include="System">
|
<Name>System</Name>
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Configuration">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Data">
|
<Name>System.Data</Name>
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Drawing">
|
<Name>System.Drawing</Name>
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Net.Http">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Numerics">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<HintPath>packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.Windows.Forms">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="System.XML">
|
<Name>System.XML</Name>
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="WindowsBase">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
<Reference Include="WindowsFormsIntegration">
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
<Private>True</Private>
|
</Reference>
|
</ItemGroup>
|
<ItemGroup>
|
<Compile Include="Properties\AssemblyInfo.cs">
|
<SubType>Code</SubType>
|
</Compile>
|
<Compile Include="EventPartial\SwAddin.cs" />
|
<Compile Include="PMPHandler.cs" />
|
<Compile Include="Properties\Resource1.Designer.cs">
|
<AutoGen>True</AutoGen>
|
<DesignTime>True</DesignTime>
|
<DependentUpon>Resource1.resx</DependentUpon>
|
</Compile>
|
<Compile Include="SwAddin.cs">
|
<SubType>Code</SubType>
|
</Compile>
|
<Compile Include="UserPMPage.cs" />
|
<Content Include="Plugins\Readme.txt">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="ProdSettings\PluginSetting.xml">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="Settings\PluginSetting.xml">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
</ItemGroup>
|
<ItemGroup>
|
<None Include=".editorconfig" />
|
<None Include="app.config" />
|
<None Include="log4net.config">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</None>
|
<None Include="packages.config" />
|
</ItemGroup>
|
<ItemGroup>
|
<ProjectReference Include="..\PdmSwPlugin.Common\PdmSwPlugin.Common.csproj">
|
<Project>{E17EF6B6-EE83-45AA-B0C0-E3A097089E97}</Project>
|
<Name>PdmSwPlugin.Common</Name>
|
</ProjectReference>
|
<ProjectReference Include="..\PdmSwPlugin.Main\PdmSwPlugin.Main.csproj">
|
<Project>{6e609a8c-583b-4607-a510-fa84218c4a31}</Project>
|
<Name>PdmSwPlugin.Main</Name>
|
<Private>True</Private>
|
</ProjectReference>
|
</ItemGroup>
|
<ItemGroup>
|
<Content Include="Images\MatChooser_128X128.png">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="Images\MatChooser_20X20.png">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="Images\MatChooser_32X32.png">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="Images\MatChooser_40X40.png">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="Images\MatChooser_64X64.png">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
<Content Include="Images\MatChooser_96X96.png">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
</ItemGroup>
|
<ItemGroup />
|
<ItemGroup>
|
<EmbeddedResource Include="Properties\Resource1.resx">
|
<Generator>ResXFileCodeGenerator</Generator>
|
<LastGenOutput>Resource1.Designer.cs</LastGenOutput>
|
</EmbeddedResource>
|
</ItemGroup>
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<PropertyGroup>
|
<PreBuildEvent>
|
</PreBuildEvent>
|
<PostBuildEvent>rd /Q /S $(TargetDir)Log
|
|
IF "$(ConfigurationName)"=="Release" rd /Q /S $(TargetDir)Settings && ren "$(TargetDir)ProdSettings" "Settings"
|
|
IF "$(TargetFrameworkVersion)"=="v4.0" GOTO NET40
|
IF "$(TargetFrameworkVersion)"=="v3.5" GOTO NET20
|
IF "$(TargetFrameworkVersion)"=="v3.0" GOTO NET20
|
IF "$(TargetFrameworkVersion)"=="v2.0" GOTO NET20
|
GOTO END
|
|
:NET40
|
set FMWK="v4.0.30319"
|
GOTO REG
|
|
:NET20
|
set FMWK="v2.0.50727"
|
GOTO REG
|
|
:REG
|
IF "$(PlatformName)" == "AnyCPU" GOTO ANYCPU
|
IF "$(PlatformName)" == "x64" GOTO X64
|
GOTO END
|
|
:ANYCPU
|
IF EXIST "%25Windir%25\Microsoft.NET\Framework64\%25FMWK%25\regasm.exe" "%25Windir%25\Microsoft.NET\Framework64\%25FMWK%25\regasm" /codebase "$(TargetPath)"
|
GOTO END
|
|
:X64
|
IF EXIST "%25Windir%25\Microsoft.NET\Framework64\%25FMWK%25\regasm.exe" "%25Windir%25\Microsoft.NET\Framework64\%25FMWK%25\regasm" /codebase "$(TargetPath)"
|
|
GOTO END
|
|
:END
|
|
|
|
</PostBuildEvent>
|
</PropertyGroup>
|
<Import Project="packages\Microsoft.Web.WebView2.1.0.1938.49\build\Microsoft.Web.WebView2.targets" Condition="Exists('packages\Microsoft.Web.WebView2.1.0.1938.49\build\Microsoft.Web.WebView2.targets')" />
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<PropertyGroup>
|
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
</PropertyGroup>
|
<Error Condition="!Exists('packages\Microsoft.Web.WebView2.1.0.1938.49\build\Microsoft.Web.WebView2.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.Web.WebView2.1.0.1938.49\build\Microsoft.Web.WebView2.targets'))" />
|
</Target>
|
</Project>
|