diff --git a/samples/CSharp/CSharp-vc10.sln b/samples/CSharp/CSharp-vc10.sln
new file mode 100644
index 0000000000..cefb3f1069
--- /dev/null
+++ b/samples/CSharp/CSharp-vc10.sln
@@ -0,0 +1,45 @@
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IE_WPF", "WPF\IE_WPF.csproj", "{D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IE_WinForms", "WinForms\IE_WinForms.csproj", "{B9914BB3-B886-4B41-B48D-350EBEBEFD1F}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OCCTProxy", "OCCTProxy\OCCTProxy.vcxproj", "{969912D9-78E7-4AB8-B4FF-6B52B4F03991}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Debug|Win32.ActiveCfg = Debug|x86
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Debug|Win32.Build.0 = Debug|x86
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Debug|x64.ActiveCfg = Debug|x64
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Debug|x64.Build.0 = Debug|x64
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Release|Win32.ActiveCfg = Release|x86
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Release|Win32.Build.0 = Release|x86
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Release|x64.ActiveCfg = Release|x64
+ {D12A8897-5BF8-4345-BBB0-8ADE4B9FB9A7}.Release|x64.Build.0 = Release|x64
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Debug|Win32.ActiveCfg = Debug|x86
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Debug|Win32.Build.0 = Debug|x86
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Debug|x64.ActiveCfg = Debug|x64
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Debug|x64.Build.0 = Debug|x64
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Release|Win32.ActiveCfg = Release|x86
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Release|Win32.Build.0 = Release|x86
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Release|x64.ActiveCfg = Release|x64
+ {B9914BB3-B886-4B41-B48D-350EBEBEFD1F}.Release|x64.Build.0 = Release|x64
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Debug|Win32.ActiveCfg = Debug|Win32
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Debug|Win32.Build.0 = Debug|Win32
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Debug|x64.ActiveCfg = Debug|x64
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Debug|x64.Build.0 = Debug|x64
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Release|Win32.ActiveCfg = Release|Win32
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Release|Win32.Build.0 = Release|Win32
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Release|x64.ActiveCfg = Release|x64
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/samples/CSharp/CSharp.sln b/samples/CSharp/CSharp-vc9.sln
similarity index 100%
rename from samples/CSharp/CSharp.sln
rename to samples/CSharp/CSharp-vc9.sln
diff --git a/samples/CSharp/OCCTProxy/OCCTProxy.vcxproj b/samples/CSharp/OCCTProxy/OCCTProxy.vcxproj
new file mode 100644
index 0000000000..91100d2960
--- /dev/null
+++ b/samples/CSharp/OCCTProxy/OCCTProxy.vcxproj
@@ -0,0 +1,198 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {969912D9-78E7-4AB8-B4FF-6B52B4F03991}
+ OCCTProxy
+ Win32Proj
+
+
+
+ DynamicLibrary
+ MultiByte
+ true
+
+
+ DynamicLibrary
+ MultiByte
+ true
+
+
+ DynamicLibrary
+ MultiByte
+ true
+
+
+ DynamicLibrary
+ MultiByte
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.40219.1
+ ..\win32\bind\
+ obj\$(Platform)\$(Configuration)\
+ true
+ ..\win64\bind\
+ obj\$(Platform)\$(Configuration)\
+ true
+ ..\win32\bin\
+ obj\$(Platform)\$(Configuration)\
+ false
+ ..\win64\bin\
+ obj\$(Platform)\$(Configuration)\
+ false
+ D:\builds\vc10\CR25067-master-occt\inc;$(IncludePath)
+ D:\builds\vc10\CR25067-master-occt\win32\vc10\lib;$(LibraryPath)
+
+
+
+ Disabled
+ ..\OCC\;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)
+ WNT;%(PreprocessorDefinitions)
+ false
+ Default
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ $(OutDir)OCCTProxy.dll
+ $(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories)
+ true
+ true
+ $(OutDir)OCCTProxy.pdb
+ Windows
+ false
+
+
+ $(OutDir)OCCTProxy.lib
+ MachineX86
+
+
+
+
+ X64
+
+
+ Disabled
+ ..\OCC\;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)
+ WNT;%(PreprocessorDefinitions)
+ false
+ Default
+ MultiThreadedDebugDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ $(OutDir)OCCTProxy.dll
+ $(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories)
+ true
+ true
+ $(OutDir)OCCTProxy.pdb
+ Windows
+ false
+
+
+ $(OutDir)OCCTProxy.lib
+ MachineX64
+
+
+
+
+ ..\OCC\;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)
+ WNT;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ $(OutDir)OCCTProxy.dll
+ $(CSF_OPT_LIB32);%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ false
+
+
+ $(OutDir)OCCTProxy.lib
+ MachineX86
+
+
+
+
+ X64
+
+
+ ..\OCC\;$(CSF_OPT_INC);%(AdditionalIncludeDirectories)
+ WNT;%(PreprocessorDefinitions)
+ MultiThreadedDLL
+
+
+ Level3
+ ProgramDatabase
+
+
+ $(OutDir)OCCTProxy.dll
+ $(CSF_OPT_LIB64);%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ false
+
+
+ $(OutDir)OCCTProxy.lib
+ MachineX64
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/CSharp/WPF/IE_WPF.csproj b/samples/CSharp/WPF/IE_WPF.csproj
index 48a7f129d1..2aa78ada10 100644
--- a/samples/CSharp/WPF/IE_WPF.csproj
+++ b/samples/CSharp/WPF/IE_WPF.csproj
@@ -1,5 +1,5 @@
-
+
Debug
AnyCPU
@@ -10,11 +10,16 @@
Properties
IE_WPF
IE_WPF
- v3.5
+ v4.0
512
{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
4
3.0.1927.0
+
+
+ 3.5
+
+
true
@@ -72,6 +77,7 @@
+
3.5
@@ -100,22 +106,32 @@
MSBuild:Compile
Designer
+ MSBuild:Compile
+ Designer
MSBuild:Compile
Designer
+ MSBuild:Compile
+ Designer
MSBuild:Compile
Designer
+ MSBuild:Compile
+ Designer
MSBuild:Compile
Designer
+ MSBuild:Compile
+ Designer
MSBuild:Compile
Designer
+ MSBuild:Compile
+ Designer
App.xaml
@@ -160,6 +176,7 @@
TransparencyDialog.cs
+
SettingsSingleFileGenerator
Settings.Designer.cs
@@ -198,7 +215,7 @@
-
+
{969912D9-78E7-4AB8-B4FF-6B52B4F03991}
OCCTProxy
diff --git a/samples/CSharp/WPF/app.config b/samples/CSharp/WPF/app.config
new file mode 100644
index 0000000000..e365603337
--- /dev/null
+++ b/samples/CSharp/WPF/app.config
@@ -0,0 +1,3 @@
+
+
+
diff --git a/samples/CSharp/WinForms/IE_WinForms.csproj b/samples/CSharp/WinForms/IE_WinForms.csproj
index 56f03f2c8c..41a68fa0b0 100644
--- a/samples/CSharp/WinForms/IE_WinForms.csproj
+++ b/samples/CSharp/WinForms/IE_WinForms.csproj
@@ -1,4 +1,5 @@
-
+
+
Local
9.0.30729
@@ -25,8 +26,24 @@
- 2.0
+ 3.5
+ v4.0
+
+ publish\
+ true
+ Disk
+ false
+ Foreground
+ 7
+ Days
+ false
+ false
+ true
0
+ 1.0.0.%2a
+ false
+ false
+ true
bin\Debug\
@@ -128,6 +145,7 @@
System.Drawing
+
System.Windows.Forms
@@ -178,11 +196,33 @@
-
+
{969912D9-78E7-4AB8-B4FF-6B52B4F03991}
OCCTProxy
+
+
+ False
+ Microsoft .NET Framework 4 %28x86 and x64%29
+ true
+
+
+ False
+ .NET Framework 3.5 SP1 Client Profile
+ false
+
+
+ False
+ .NET Framework 3.5 SP1
+ false
+
+
+ False
+ Windows Installer 3.1
+ true
+
+
diff --git a/samples/CSharp/WinForms/app.config b/samples/CSharp/WinForms/app.config
index 84a1af5451..cb021ce515 100644
--- a/samples/CSharp/WinForms/app.config
+++ b/samples/CSharp/WinForms/app.config
@@ -1,38 +1,38 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
\ No newline at end of file
+
diff --git a/samples/CSharp/msvc.bat b/samples/CSharp/msvc.bat
index ce3f0e137a..5232ec7ebe 100644
--- a/samples/CSharp/msvc.bat
+++ b/samples/CSharp/msvc.bat
@@ -1,7 +1,7 @@
call "%~dp0..\..\env.bat" %1 %2 %3
if ["%CASDEB%"] == [""] (
- call "%~dp0..\..\msvc.bat" %VCVER% win%ARCH% Release "%~dp0\CSharp.sln"
+ call "%~dp0..\..\msvc.bat" %VCVER% win%ARCH% Release "%~dp0\CSharp-%VCVER%.sln"
) else (
- call "%~dp0..\..\msvc.bat" %VCVER% win%ARCH% Debug "%~dp0\CSharp.sln"
+ call "%~dp0..\..\msvc.bat" %VCVER% win%ARCH% Debug "%~dp0\CSharp-%VCVER%.sln"
)
\ No newline at end of file