From 9bd4501f12f5ba075f6493d859f101fab0a78760 Mon Sep 17 00:00:00 2001 From: yerudako Date: Tue, 30 Nov 2021 11:47:24 -0800 Subject: [PATCH 1/9] Cherry-pick f156306f316e7a0097be702917d7a755d59f90b8 in order to unblock VS version checks (cherry picked from commit ff7cd4560b71336ecea22304430286c950caa136) # Conflicts: # scripts/BuildProjFS-Managed.bat --- scripts/BuildProjFS-Managed.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/BuildProjFS-Managed.bat b/scripts/BuildProjFS-Managed.bat index 77b8fdc..26f4ee9 100644 --- a/scripts/BuildProjFS-Managed.bat +++ b/scripts/BuildProjFS-Managed.bat @@ -24,8 +24,8 @@ SET vswherever=2.8.4 SET vswhere=%PROJFS_PACKAGESDIR%\vswhere.%vswherever%\tools\vswhere.exe set WINSDK_BUILD=19041 echo Checking for VS installation: -echo %vswhere% -all -prerelease -latest -version "[16.4,17.0)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Workload.NetCoreTools Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath -for /f "usebackq tokens=*" %%i in (`%vswhere% -all -prerelease -latest -version "[16.4,17.0)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Workload.NetCoreTools Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath`) do ( +echo %vswhere% -all -prerelease -latest -version "[16.4,17.1)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath +for /f "usebackq tokens=*" %%i in (`%vswhere% -all -prerelease -latest -version "[16.4,17.1)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath`) do ( set VsDir=%%i ) From f71b4d2d334b2835b777cc5fed8e45f0fa6f1191 Mon Sep 17 00:00:00 2001 From: yerudako Date: Tue, 30 Nov 2021 10:38:04 -0800 Subject: [PATCH 2/9] Add .net 461 reference assemblies (cherry picked from commit 61db53a33c1ee56ee8337f98311cf84f1025c265) --- .../NetFramework/ProjectedFSLib.Managed.vcxproj | 10 ++++++++++ .../ProjectedFSLib.Managed.vcxproj.filters | 1 + .../NetFramework/packages.config | 4 ++++ .../ProjectedFSLib.Managed.Test.csproj | 1 + simpleProviderManaged/SimpleProviderManaged.csproj | 1 + 5 files changed, 17 insertions(+) create mode 100644 ProjectedFSLib.Managed.API/NetFramework/packages.config diff --git a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj index 491dab1..05fef83 100644 --- a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj +++ b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj @@ -27,4 +27,14 @@ + + + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + \ No newline at end of file diff --git a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters index a08ff12..a79fc7c 100644 --- a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters +++ b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters @@ -110,5 +110,6 @@ Source Files + \ No newline at end of file diff --git a/ProjectedFSLib.Managed.API/NetFramework/packages.config b/ProjectedFSLib.Managed.API/NetFramework/packages.config new file mode 100644 index 0000000..a7e4eb8 --- /dev/null +++ b/ProjectedFSLib.Managed.API/NetFramework/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj b/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj index 1a63eea..3e75dee 100644 --- a/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj +++ b/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj @@ -12,6 +12,7 @@ + diff --git a/simpleProviderManaged/SimpleProviderManaged.csproj b/simpleProviderManaged/SimpleProviderManaged.csproj index 0044352..ae91420 100644 --- a/simpleProviderManaged/SimpleProviderManaged.csproj +++ b/simpleProviderManaged/SimpleProviderManaged.csproj @@ -14,6 +14,7 @@ + From c173b799027436f19b393894b87ff09a4d0a3e58 Mon Sep 17 00:00:00 2001 From: yerudako Date: Tue, 30 Nov 2021 10:55:57 -0800 Subject: [PATCH 3/9] Install the Reference Assemblies before Managed project compiles (cherry picked from commit ca6b60f0603581b57f1f1819fd60ce71f4e050d6) --- scripts/BuildProjFS-Managed.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/BuildProjFS-Managed.bat b/scripts/BuildProjFS-Managed.bat index 26f4ee9..5847ab1 100644 --- a/scripts/BuildProjFS-Managed.bat +++ b/scripts/BuildProjFS-Managed.bat @@ -45,6 +45,7 @@ call "%VsDir%\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 :: Restore all dependencies and run the build. pushd "%PROJFS_SRCDIR%" +%nuget% install Microsoft.NETFramework.ReferenceAssemblies.net461 -Version 1.0.2 -OutputDirectory %PROJFS_PACKAGESDIR% msbuild /t:Restore ProjectedFSLib.Managed.sln msbuild ProjectedFSLib.Managed.sln /p:ProjFSManagedVersion=%ProjFSManagedVersion% /p:Configuration=%SolutionConfiguration% /p:Platform=x64 || exit /b 1 popd From db6d465359280a41461172cd216e3bddb9447c71 Mon Sep 17 00:00:00 2001 From: yerudako Date: Mon, 29 Nov 2021 21:04:50 -0800 Subject: [PATCH 4/9] Fix versions in props (cherry picked from commit 64de5285496b5b4a54837fa61689284e045836e3) --- .../ProjectedFSLib.Managed.props | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ProjectedFSLib.Managed.API/ProjectedFSLib.Managed.props b/ProjectedFSLib.Managed.API/ProjectedFSLib.Managed.props index e820489..41ad821 100644 --- a/ProjectedFSLib.Managed.API/ProjectedFSLib.Managed.props +++ b/ProjectedFSLib.Managed.API/ProjectedFSLib.Managed.props @@ -48,14 +48,14 @@ MixedRecommendedRules.ruleset true ProjectedFSLib.Managed - C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362\um;$(IncludePath) + C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041\um;$(IncludePath) false MixedRecommendedRules.ruleset false ProjectedFSLib.Managed - C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um;$(IncludePath) + C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;$(IncludePath) @@ -65,11 +65,11 @@ Level4 true true - C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um;$(BuildOutputDir)\$(ProjectName);%(AdditionalIncludeDirectories) + C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;$(BuildOutputDir)\$(ProjectName);%(AdditionalIncludeDirectories) ProjectedFSLib.lib;%(AdditionalDependencies) - C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x64;%(AdditionalLibraryDirectories) + C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;%(AdditionalLibraryDirectories) $(ProjectDir)\..\Scripts\CreateVersionHeader.bat $(ProjectName) $(ProjFSManagedVersion) $(SolutionDir) && $(ProjectDir)\..\Scripts\CreateCliAssemblyVersion.bat $(ProjectName) $(ProjFSManagedVersion) $(SolutionDir) @@ -87,11 +87,11 @@ true false true - C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um;$(BuildOutputDir)\$(ProjectName);%(AdditionalIncludeDirectories) + C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;$(BuildOutputDir)\$(ProjectName);%(AdditionalIncludeDirectories) ProjectedFSLib.lib;%(AdditionalDependencies) - C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\um\x64;%(AdditionalLibraryDirectories) + C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;%(AdditionalLibraryDirectories) $(ProjectDir)\..\Scripts\CreateVersionHeader.bat $(ProjectName) $(ProjFSManagedVersion) $(SolutionDir) && $(ProjectDir)\..\Scripts\CreateCliAssemblyVersion.bat $(ProjectName) $(ProjFSManagedVersion) $(SolutionDir) From f28aca4ac28f2c3d0246b1389f85d41bc407efb4 Mon Sep 17 00:00:00 2001 From: yerudako Date: Tue, 30 Nov 2021 17:50:33 -0800 Subject: [PATCH 5/9] Revert "Add .net 461 reference assemblies" This reverts commit f71b4d2d334b2835b777cc5fed8e45f0fa6f1191. --- .../NetFramework/ProjectedFSLib.Managed.vcxproj | 10 ---------- .../ProjectedFSLib.Managed.vcxproj.filters | 1 - .../NetFramework/packages.config | 4 ---- .../ProjectedFSLib.Managed.Test.csproj | 1 - simpleProviderManaged/SimpleProviderManaged.csproj | 1 - 5 files changed, 17 deletions(-) delete mode 100644 ProjectedFSLib.Managed.API/NetFramework/packages.config diff --git a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj index 05fef83..491dab1 100644 --- a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj +++ b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj @@ -27,14 +27,4 @@ - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - \ No newline at end of file diff --git a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters index a79fc7c..a08ff12 100644 --- a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters +++ b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj.filters @@ -110,6 +110,5 @@ Source Files - \ No newline at end of file diff --git a/ProjectedFSLib.Managed.API/NetFramework/packages.config b/ProjectedFSLib.Managed.API/NetFramework/packages.config deleted file mode 100644 index a7e4eb8..0000000 --- a/ProjectedFSLib.Managed.API/NetFramework/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj b/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj index 3e75dee..1a63eea 100644 --- a/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj +++ b/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj @@ -12,7 +12,6 @@ - diff --git a/simpleProviderManaged/SimpleProviderManaged.csproj b/simpleProviderManaged/SimpleProviderManaged.csproj index ae91420..0044352 100644 --- a/simpleProviderManaged/SimpleProviderManaged.csproj +++ b/simpleProviderManaged/SimpleProviderManaged.csproj @@ -14,7 +14,6 @@ - From 89ad3db25b26dcd423b556793b1915c9720cca89 Mon Sep 17 00:00:00 2001 From: yerudako Date: Tue, 30 Nov 2021 18:07:10 -0800 Subject: [PATCH 6/9] Update the .NET Framework version to 4.8 --- .../NetFramework/ProjectedFSLib.Managed.vcxproj | 2 +- .../ProjectedFSLib.Managed.Test.csproj | 2 +- README.md | 2 +- scripts/RunTests.bat | 4 ++-- simpleProviderManaged/SimpleProviderManaged.csproj | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj index 491dab1..484d434 100644 --- a/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj +++ b/ProjectedFSLib.Managed.API/NetFramework/ProjectedFSLib.Managed.vcxproj @@ -2,7 +2,7 @@ {4E5F40B3-B56F-4B62-92CB-68E7E0E36AFA} - v4.6.1 + v4.8 true diff --git a/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj b/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj index 1a63eea..a5990d7 100644 --- a/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj +++ b/ProjectedFSLib.Managed.Test/ProjectedFSLib.Managed.Test.csproj @@ -2,7 +2,7 @@ - net461;netcoreapp3.1 + net48;netcoreapp3.1 false false x64 diff --git a/README.md b/README.md index a002948..48d4306 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ coverage of the managed wrapper API surface. * **.NET Core cross-platform development** * **Desktop development with C++** * Include the following individual components: - * **.NET Framework 4.6.1 SDK** + * **.NET Framework 4.8 SDK** * **C++/CLI support** * **Windows 10 SDK (10.0.19041.0)** * Create a folder to clone into, e.g. `C:\Repos\ProjFS-Managed` diff --git a/scripts/RunTests.bat b/scripts/RunTests.bat index e78a663..72a25d5 100644 --- a/scripts/RunTests.bat +++ b/scripts/RunTests.bat @@ -4,9 +4,9 @@ CALL %~dp0\InitializeEnvironment.bat || EXIT /b 10 IF "%1"=="" (SET "Configuration=Debug") ELSE (SET "Configuration=%1") set RESULT_FRAMEWORK=0 -set TESTDIR=%PROJFS_OUTPUTDIR%\ProjectedFSLib.Managed.Test\bin\AnyCPU\%Configuration%\net461 +set TESTDIR=%PROJFS_OUTPUTDIR%\ProjectedFSLib.Managed.Test\bin\AnyCPU\%Configuration%\net48 pushd %TESTDIR% -%TESTDIR%\ProjectedFSLib.Managed.Test.exe --params ProviderExe=%PROJFS_OUTPUTDIR%\SimpleProviderManaged\bin\AnyCPU\%Configuration%\net461\SimpleProviderManaged.exe || set RESULT_FRAMEWORK=1 +%TESTDIR%\ProjectedFSLib.Managed.Test.exe --params ProviderExe=%PROJFS_OUTPUTDIR%\SimpleProviderManaged\bin\AnyCPU\%Configuration%\net48\SimpleProviderManaged.exe || set RESULT_FRAMEWORK=1 popd set RESULT_CORE=0 diff --git a/simpleProviderManaged/SimpleProviderManaged.csproj b/simpleProviderManaged/SimpleProviderManaged.csproj index 0044352..8c6e152 100644 --- a/simpleProviderManaged/SimpleProviderManaged.csproj +++ b/simpleProviderManaged/SimpleProviderManaged.csproj @@ -3,7 +3,7 @@ - net461;netcoreapp3.1 + net48;netcoreapp3.1 Exe x64 MinimumRecommendedRules.ruleset @@ -17,7 +17,7 @@ - + From 0569f8b16d63b6ac5fadff37bd220bc0c953e1b7 Mon Sep 17 00:00:00 2001 From: "Christian Allred (89108)" Date: Tue, 30 Nov 2021 18:15:11 -0800 Subject: [PATCH 7/9] Update README to match new tooling --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index cd0cadf..56e91dd 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ |Branch|Functional Tests| |:--:|:--:| -|**main**|[![Build status](https://dev.azure.com/projfs/ci/_apis/build/status/PR%20-%20Build%20and%20Functional%20Test%20-%202019?branchName=main)](https://dev.azure.com/projfs/ci/_build/latest?definitionId=5)| -|**release**|[![Build status](https://dev.azure.com/microsoft/OS/_apis/build/status/ProjFS%20CI%20-%20Build,%20Sign,%20Package)](https://dev.azure.com/microsoft/OS/_build/latest?definitionId=37476)| +|**main**|[![Build status](https://dev.azure.com/projfs/ci/_apis/build/status/PR%20-%20Build%20and%20Functional%20Test%20-%202022?branchName=main)](https://dev.azure.com/projfs/ci/_build/latest?definitionId=7)| + ## About ProjFS @@ -50,17 +50,15 @@ coverage of the managed wrapper API surface. ## Building the ProjFS Managed API -* Install [Visual Studio 2019 Community Edition](https://www.visualstudio.com/downloads/) version 16.4 or higher. +* Install [Visual Studio 2022 Community Edition](https://www.visualstudio.com/downloads/). * Include the following workloads: * **.NET desktop development** - * **.NET Core cross-platform development** * **Desktop development with C++** - * Include the following individual components: - * **.NET Framework 4.6.1 SDK** + * Ensure the following individual components are installed: * **C++/CLI support** * **Windows 10 SDK (10.0.19041.0)** * Create a folder to clone into, e.g. `C:\Repos\ProjFS-Managed` -* Clone this repo into the `src` subfolder, e.g. `C:\Repos\ProjFS-Managed\src` +* Clone this repo into a subfolder named `src`, e.g. `C:\Repos\ProjFS-Managed\src` * Run `src\scripts\BuildProjFS-Managed.bat` * You can also build in Visual Studio by opening `src\ProjectedFSLib.Managed.sln` and building. From 518fb5edc74c54dde7dd576518e07e083394d580 Mon Sep 17 00:00:00 2001 From: "Christian Allred (89108)" Date: Tue, 30 Nov 2021 18:18:35 -0800 Subject: [PATCH 8/9] Change upper limit of VS version to cover all of VS 2022 --- scripts/BuildProjFS-Managed.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/BuildProjFS-Managed.bat b/scripts/BuildProjFS-Managed.bat index 5847ab1..19b0afa 100644 --- a/scripts/BuildProjFS-Managed.bat +++ b/scripts/BuildProjFS-Managed.bat @@ -24,8 +24,8 @@ SET vswherever=2.8.4 SET vswhere=%PROJFS_PACKAGESDIR%\vswhere.%vswherever%\tools\vswhere.exe set WINSDK_BUILD=19041 echo Checking for VS installation: -echo %vswhere% -all -prerelease -latest -version "[16.4,17.1)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath -for /f "usebackq tokens=*" %%i in (`%vswhere% -all -prerelease -latest -version "[16.4,17.1)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath`) do ( +echo %vswhere% -all -prerelease -latest -version "[16.4,18.0)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath +for /f "usebackq tokens=*" %%i in (`%vswhere% -all -prerelease -latest -version "[16.4,18.0)" -products * -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.Windows10SDK.%WINSDK_BUILD% Microsoft.VisualStudio.Component.VC.CLI.Support -property installationPath`) do ( set VsDir=%%i ) From 27b17b36fd1bcbe9febc6d4cc4447cce70d544f3 Mon Sep 17 00:00:00 2001 From: yerudako Date: Tue, 30 Nov 2021 18:53:45 -0800 Subject: [PATCH 9/9] Revert c173b799027436f19b393894b87ff09a4d0a3e58. --- scripts/BuildProjFS-Managed.bat | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/BuildProjFS-Managed.bat b/scripts/BuildProjFS-Managed.bat index 19b0afa..206f602 100644 --- a/scripts/BuildProjFS-Managed.bat +++ b/scripts/BuildProjFS-Managed.bat @@ -45,7 +45,6 @@ call "%VsDir%\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 :: Restore all dependencies and run the build. pushd "%PROJFS_SRCDIR%" -%nuget% install Microsoft.NETFramework.ReferenceAssemblies.net461 -Version 1.0.2 -OutputDirectory %PROJFS_PACKAGESDIR% msbuild /t:Restore ProjectedFSLib.Managed.sln msbuild ProjectedFSLib.Managed.sln /p:ProjFSManagedVersion=%ProjFSManagedVersion% /p:Configuration=%SolutionConfiguration% /p:Platform=x64 || exit /b 1 popd