11 lines
508 B
XML
11 lines
508 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|||
|
|
|
||
|
|
<Project>
|
||
|
|
<PropertyGroup>
|
||
|
|
<!-- When a project is built directly (e.g. `dotnet build Foo.csproj`) instead of through Tutorial.sln,
|
||
|
|
MSBuild sets SolutionDir to the literal "*Undefined*". Fall back to this file's directory,
|
||
|
|
which is the solution root, so PostBuild copy targets keep working. -->
|
||
|
|
<SolutionDir Condition="'$(SolutionDir)' == '' Or '$(SolutionDir)' == '*Undefined*'">$(MSBuildThisFileDirectory)</SolutionDir>
|
||
|
|
</PropertyGroup>
|
||
|
|
</Project>
|