File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/core/src/generators/init/templates/root Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66 <PropertyGroup>
77 <!-- Output path configuration -->
88 <RepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RepoRoot>
9- <ProjectRelativePath>$([System.IO.Path ]::GetRelativePath ($(RepoRoot), $(MSBuildProjectDirectory)))</ProjectRelativePath>
9+ <ProjectRelativePath>$([MSBuild ]::MakeRelative ($(RepoRoot), $(MSBuildProjectDirectory)))</ProjectRelativePath>
1010 <BaseOutputPath>$(RepoRoot)dist/$(ProjectRelativePath)</BaseOutputPath>
1111 <OutputPath>$(BaseOutputPath)</OutputPath>
1212 <AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
Original file line number Diff line number Diff line change 44-->
55<Project>
66 <PropertyGroup>
7- <MSBuildProjectDirRelativePath>$([System.IO.Path ]::GetRelativePath ($(RepoRoot), $(MSBuildProjectDirectory)))</MSBuildProjectDirRelativePath>
8- <NodeModulesRelativePath>$([System.IO.Path ]::GetRelativePath ($(MSBuildProjectDirectory), $(RepoRoot)))</NodeModulesRelativePath>
7+ <MSBuildProjectDirRelativePath>$([MSBuild ]::MakeRelative ($(RepoRoot), $(MSBuildProjectDirectory)))</MSBuildProjectDirRelativePath>
8+ <NodeModulesRelativePath>$([MSBuild ]::MakeRelative ($(MSBuildProjectDirectory), $(RepoRoot)))</NodeModulesRelativePath>
99 </PropertyGroup>
1010 <Target Name="CheckNxModuleBoundaries" BeforeTargets="Build">
1111 <Exec Command="node $(NodeModulesRelativePath)/<%= checkModuleBoundariesScriptPath %> --project-root $(MSBuildProjectDirRelativePath)"/>
You can’t perform that action at this time.
0 commit comments