diff --git a/build/Output.props b/build/Output.props
index 367b0a8b7..cba34ecbd 100644
--- a/build/Output.props
+++ b/build/Output.props
@@ -3,7 +3,8 @@
$(MSBuildThisFileDirectory)..\output\Nuget\
$(MSBuildThisFileDirectory)..\output\bin\$(Configuration)\
$(OutputPathWithoutFramework)\$(TargetFramework)\
- $(MSBuildThisFileDirectory)..\output\$(MSBuildProjectName)\obj\$(Configuration)\
- $(IntermediateOutputPathWithoutFramework)$(TargetFramework)\
+ $(BaseIntermediateOutputPath)\
+ $(MSBuildThisFileDirectory)..\output\$(MSBuildProjectName)\obj\
+ $(BaseIntermediateOutputPath)\$(Configuration)\$(TargetFramework)\
\ No newline at end of file
diff --git a/packages/AtomUI/AtomUI.csproj b/packages/AtomUI/AtomUI.csproj
index ebe853c20..a4b24d9f9 100644
--- a/packages/AtomUI/AtomUI.csproj
+++ b/packages/AtomUI/AtomUI.csproj
@@ -65,8 +65,8 @@
- $(OutputPath)$(AtomUINativeWindowsX64DeployPath)/$(AtomUINativeWindowsArtifactName)
- $(OutputPath)$(AtomUINativeMacOSDeployPath)/$(AtomUINativeMacOSArtifactName)
+ $(OutputPathWithoutFramework)$(AtomUINativeWindowsX64DeployPath)/$(AtomUINativeWindowsArtifactName)
+ $(OutputPathWithoutFramework)$(AtomUINativeMacOSDeployPath)/$(AtomUINativeMacOSArtifactName)
@@ -105,7 +105,7 @@
-
+
PreserveNewest
$(AtomUINativeDeployPath)/$(AtomUINativeArtifactName)
diff --git a/scripts/BuildAtomUINative.ps1 b/scripts/BuildAtomUINative.ps1
index 88bcd9b13..4cf0b624c 100644
--- a/scripts/BuildAtomUINative.ps1
+++ b/scripts/BuildAtomUINative.ps1
@@ -20,7 +20,7 @@ $buildMarker = Join-Path -Path $buildDir -ChildPath ".native_compiled"
if (-not (Test-Path -Path $buildMarker -PathType Leaf)) {
# 如果文件不存在,则创建(自动创建父目录)
- New-Item -Path $buildMarker -ItemType File -Force
+ New-Item -Path $buildMarker -ItemType File -Force | Out-Null
} else {
return
}