MSBuild - change from using $(SolutionDir) to $MSBuildThisFileDirectory

- Changes to make CefSharp easier to use as a git submodule
- BrowserSubProcess now builds for net6.0-windows for use with WinForms example
This commit is contained in:
Alex Maitland
2023-03-08 10:11:00 +10:00
parent a8f20291e2
commit 5204cf4105
13 changed files with 25 additions and 24 deletions
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Note: We cannot use the recommended style of specifying <Project Sdk=...> because we need
to set BaseIntermediateOutputPath and BaseOutputPath before the SDK props are imported. -->
@@ -55,6 +55,6 @@
<Compile Remove="obj/**/*.*" />
</ItemGroup>
<Import Project="$(SolutionDir)\CefSharp.AfterBuild.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\CefSharp.AfterBuild.targets" />
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>