diff --git a/Examples/csharp/nested/example-cs.csproj b/Examples/csharp/nested/example-cs.csproj
index 8004780fb..b20ff231a 100644
--- a/Examples/csharp/nested/example-cs.csproj
+++ b/Examples/csharp/nested/example-cs.csproj
@@ -1,94 +1,87 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ Local
+ 8.0.50727
+ 2.0
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}
+ Debug
+ x86
+
+
+
+
+ runme
+
+
+ JScript
+ Grid
+ IE50
+ false
+ Exe
+ runme
+ OnBuildSuccess
+
+
+
+
+
+
+
+
+ true
+ bin\x86\Debug\
+ DEBUG;TRACE
+ 285212672
+ full
+ x86
+ prompt
+
+
+ bin\x86\Release\
+ TRACE
+ 285212672
+ true
+
+
+ x86
+ prompt
+
+
+ true
+ bin\x64\Debug\
+ DEBUG;TRACE
+ 285212672
+ full
+ x64
+ prompt
+
+
+ bin\x64\Release\
+ TRACE
+ 285212672
+ true
+
+
+ x64
+ prompt
+
+
+
+ Code
+
+
+ Code
+
+
+ Code
+
+
+
+
+
+
+
+ copy runme.exe "$(SolutionDir)runme.exe"
+echo Run the example from the root directory $(SolutionDir) and ensure example.dll is also in this directory
+
+
diff --git a/Examples/csharp/nested/example-vc.vcproj b/Examples/csharp/nested/example-vc.vcproj
index 5788bc9c7..ef870959e 100644
--- a/Examples/csharp/nested/example-vc.vcproj
+++ b/Examples/csharp/nested/example-vc.vcproj
@@ -1,110 +1,345 @@
+ Keyword="Win32Proj"
+ >
+ Name="Win32"
+ />
+
+
+
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ CharacterSet="2"
+ >
+
+
+
+
+
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ Name="VCManagedResourceCompilerTool"
+ />
+
+
+ ImportLibrary="$(OutDir)\example.lib"
+ TargetMachine="1"
+ />
+ Name="VCALinkTool"
+ />
+ Name="VCManifestTool"
+ />
+ Name="VCXDCMakeTool"
+ />
+ Name="VCBscMakeTool"
+ />
+ Name="VCFxCopTool"
+ />
+ Name="VCAppVerifierTool"
+ />
+ Name="VCWebDeploymentTool"
+ />
+ Name="VCPostBuildEventTool"
+ Description="Copy unmanaged dll to root directory..."
+ CommandLine="echo on
copy "$(OutDir)\example.dll" "$(SolutionDir)"
@echo off
"
+ />
+
+
+ Name="VCPreBuildEventTool"
+ />
+ Name="VCCustomBuildTool"
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ CharacterSet="2"
+ >
+
+
+
+
+
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ Name="VCManagedResourceCompilerTool"
+ />
+
+
+ ImportLibrary="$(OutDir)\example.lib"
+ TargetMachine="1"
+ />
+ Name="VCALinkTool"
+ />
+ Name="VCManifestTool"
+ />
+ Name="VCXDCMakeTool"
+ />
+ Name="VCBscMakeTool"
+ />
+ Name="VCFxCopTool"
+ />
+ Name="VCAppVerifierTool"
+ />
+ Name="VCWebDeploymentTool"
+ />
+ Name="VCPostBuildEventTool"
+ Description="Copy unmanaged dll to root directory..."
+ CommandLine="echo on
copy "$(OutDir)\example.dll" "$(SolutionDir)"
@echo off
"
+ />
+
+
+ Name="VCPreBuildEventTool"
+ />
+ Name="VCCustomBuildTool"
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -113,43 +348,65 @@
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ RelativePath="example.cxx"
+ >
+ RelativePath="example_wrap.cxx"
+ >
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ RelativePath="example.h"
+ >
+ RelativePath=".\example.i"
+ >
+ Name="Debug|Win32"
+ >
+ CommandLine="echo Invoking SWIG...
echo on
..\..\..\swig.exe -c++ -csharp "$(InputPath)"
@echo off
"
+ Outputs="$(InputName)_wrap.cxx"
+ />
+ Name="Debug|x64"
+ >
+ CommandLine="echo Invoking SWIG...
echo on
..\..\..\swig.exe -c++ -csharp "$(InputPath)"
@echo off
"
+ Outputs="$(InputName)_wrap.cxx"
+ />
+
+
+
+
+
+
diff --git a/Examples/csharp/nested/example.sln b/Examples/csharp/nested/example.sln
index 88995ffd3..234bd64d3 100644
--- a/Examples/csharp/nested/example.sln
+++ b/Examples/csharp/nested/example.sln
@@ -1,30 +1,38 @@
-Microsoft Visual Studio Solution File, Format Version 8.00
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "example-cs", "example-cs.csproj", "{C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}"
ProjectSection(ProjectDependencies) = postProject
{C2302635-D489-4678-96B4-70F5309DCBE6} = {C2302635-D489-4678-96B4-70F5309DCBE6}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example-vc", "example-vc.vcproj", "{C2302635-D489-4678-96B4-70F5309DCBE6}"
- ProjectSection(ProjectDependencies) = postProject
- EndProjectSection
EndProject
Global
- GlobalSection(SolutionConfiguration) = preSolution
- Debug = Debug
- Release = Release
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
EndGlobalSection
- GlobalSection(ProjectConfiguration) = postSolution
- {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Debug.ActiveCfg = Debug|.NET
- {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Debug.Build.0 = Debug|.NET
- {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Release.ActiveCfg = Release|.NET
- {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Release.Build.0 = Release|.NET
- {C2302635-D489-4678-96B4-70F5309DCBE6}.Debug.ActiveCfg = Debug|Win32
- {C2302635-D489-4678-96B4-70F5309DCBE6}.Debug.Build.0 = Debug|Win32
- {C2302635-D489-4678-96B4-70F5309DCBE6}.Release.ActiveCfg = Release|Win32
- {C2302635-D489-4678-96B4-70F5309DCBE6}.Release.Build.0 = Release|Win32
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Debug|Win32.ActiveCfg = Debug|x86
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Debug|Win32.Build.0 = Debug|x86
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Debug|x64.ActiveCfg = Debug|x64
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Debug|x64.Build.0 = Debug|x64
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Release|Win32.ActiveCfg = Release|x86
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Release|Win32.Build.0 = Release|x86
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Release|x64.ActiveCfg = Release|x64
+ {C17D27DF-4C57-4625-AEE0-A40C4F48FF1A}.Release|x64.Build.0 = Release|x64
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Debug|Win32.ActiveCfg = Debug|Win32
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Debug|Win32.Build.0 = Debug|Win32
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Debug|x64.ActiveCfg = Debug|x64
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Debug|x64.Build.0 = Debug|x64
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Release|Win32.ActiveCfg = Release|Win32
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Release|Win32.Build.0 = Release|Win32
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Release|x64.ActiveCfg = Release|x64
+ {C2302635-D489-4678-96B4-70F5309DCBE6}.Release|x64.Build.0 = Release|x64
EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- EndGlobalSection
- GlobalSection(ExtensibilityAddIns) = postSolution
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
EndGlobalSection
EndGlobal