mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
While demanding c++ language standard c++20, the error of OCCTProxy compilation is occured: warning C4857: C++/CLI mode does not support C++ versions newer than C++17; setting language to /std:c++17 error C7681: two-phase name lookup is not supported for C++/CLI or C++/CX; use /Zc:twoPhase- Officially, C++/CLI mode does not support C++ version newer than C++17, so we should not demand C++20 to compile csharp samples. Alternative solution - using /permissive (ConformanceMode = false), rather than default value /permissive- (ConformanceMode = true) option to compile OCCTProxy. But alternative solution has been denied. So, here is nothing to do to fix compilation of OCCTProxy project. Nevertheless, error occures in IE_WPF_WinForms and IE_WinForms - if we trying to compile with VC++ 2022 (not demanding c++20): warning MSB3274: The primary reference "*\OCCTProxy.dll" could not be resolved because it was built against the ".NETFramework,Version=v4.7.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0". To solve the problem it is proposed to demand by default the highest version of NETFramework - 4.8. So, demanding NETFramework v4.8 does not crashing compilation of csharp samples with VC++ 2015.
268 lines
11 KiB
XML
268 lines
11 KiB
XML
<?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)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.30729</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>IE_WPF_D3D</RootNamespace>
|
|
<AssemblyName>IE_WPF_D3D</AssemblyName>
|
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<WarningLevel>4</WarningLevel>
|
|
<ExpressionBlendVersion>3.0.1927.0</ExpressionBlendVersion>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<UpgradeBackupLocation />
|
|
<TargetFrameworkProfile />
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
</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>
|
|
</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>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>..\win32\$(VCVER)\bind\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<OutputPath>..\win32\$(VCVER)\bin\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>..\win64\$(VCVER)\bind\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
|
|
<OutputPath>..\win64\$(VCVER)\bin\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xaml" />
|
|
<Reference Include="System.Xml.Linq">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Data.DataSetExtensions">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="UIAutomationProvider">
|
|
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="WindowsBase">
|
|
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="PresentationCore">
|
|
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="PresentationFramework">
|
|
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="WindowsFormsIntegration">
|
|
<RequiredTargetFramework>3.0</RequiredTargetFramework>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ApplicationDefinition Include="App.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</ApplicationDefinition>
|
|
<Page Include="About.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Include="MaterialDlg.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Include="Simple Styles.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Include="MainWindow.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Compile Include="App.xaml.cs">
|
|
<DependentUpon>App.xaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="MainWindow.xaml.cs">
|
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="About.xaml.cs">
|
|
<DependentUpon>About.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="D3DViewer.cs" />
|
|
<Compile Include="IECommands.cs" />
|
|
<Compile Include="MaterialDlg.xaml.cs">
|
|
<DependentUpon>MaterialDlg.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Properties\AssemblyInfo.cs">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Properties\Settings.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
<Compile Include="OCCViewer.cs">
|
|
</Compile>
|
|
<Compile Include="TransparencyDialog.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<EmbeddedResource Include="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="TransparencyDialog.resx">
|
|
<DependentUpon>TransparencyDialog.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<None Include="app.config" />
|
|
<None Include="Properties\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
</None>
|
|
<AppDesigner Include="Properties\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="res\help.png" />
|
|
<Resource Include="res\lamp.png" />
|
|
<Resource Include="res\MainFrame.ico" />
|
|
<Resource Include="res\new.png" />
|
|
<Resource Include="res\tool_color.png" />
|
|
<Resource Include="res\tool_delete.png" />
|
|
<Resource Include="res\tool_material.png" />
|
|
<Resource Include="res\tool_shading.png" />
|
|
<Resource Include="res\tool_transparency.png" />
|
|
<Resource Include="res\tool_wireframe.png" />
|
|
<Resource Include="res\view_axo.png" />
|
|
<Resource Include="res\view_back.png" />
|
|
<Resource Include="res\view_bottom.png" />
|
|
<Resource Include="res\view_comp_off.png" />
|
|
<Resource Include="res\view_comp_on.png" />
|
|
<Resource Include="res\view_fitall.png" />
|
|
<Resource Include="res\view_fitarea.png" />
|
|
<Resource Include="res\view_front.png" />
|
|
<Resource Include="res\view_glpan.png" />
|
|
<Resource Include="res\view_left.png" />
|
|
<Resource Include="res\view_pan.png" />
|
|
<Resource Include="res\view_reset.png" />
|
|
<Resource Include="res\view_right.png" />
|
|
<Resource Include="res\view_rotate.png" />
|
|
<Resource Include="res\view_top.png" />
|
|
<Resource Include="res\view_zoom.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="res\occ_logo.bmp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
|
<Visible>False</Visible>
|
|
<ProductName>Windows Installer 3.1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\OCCTProxy_D3D\OCCTProxy_D3D.vcxproj">
|
|
<Project>{969912D9-78E7-4AB8-B4FF-6B52B4F03991}</Project>
|
|
<Name>OCCTProxy_D3D</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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> |