mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-17 05:31:01 +08:00
Refactor output path
This commit is contained in:
+3
-2
@@ -3,7 +3,8 @@
|
||||
<PackageOutputPath>$(MSBuildThisFileDirectory)..\output\Nuget\</PackageOutputPath>
|
||||
<OutputPathWithoutFramework>$(MSBuildThisFileDirectory)..\output\bin\$(Configuration)\</OutputPathWithoutFramework>
|
||||
<OutputPath>$(OutputPathWithoutFramework)\$(TargetFramework)\</OutputPath>
|
||||
<IntermediateOutputPathWithoutFramework>$(MSBuildThisFileDirectory)..\output\$(MSBuildProjectName)\obj\$(Configuration)\</IntermediateOutputPathWithoutFramework>
|
||||
<IntermediateOutputPath>$(IntermediateOutputPathWithoutFramework)$(TargetFramework)\</IntermediateOutputPath>
|
||||
<IntermediateOutputPathWithoutFramework>$(BaseIntermediateOutputPath)\</IntermediateOutputPathWithoutFramework>
|
||||
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\output\$(MSBuildProjectName)\obj\</BaseIntermediateOutputPath>
|
||||
<IntermediateOutputPath>$(BaseIntermediateOutputPath)\$(Configuration)\$(TargetFramework)\</IntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -65,8 +65,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<AtomUINativeWindowsX64Artifact>$(OutputPath)$(AtomUINativeWindowsX64DeployPath)/$(AtomUINativeWindowsArtifactName)</AtomUINativeWindowsX64Artifact>
|
||||
<AtomUINativeMacOSArtifact>$(OutputPath)$(AtomUINativeMacOSDeployPath)/$(AtomUINativeMacOSArtifactName)</AtomUINativeMacOSArtifact>
|
||||
<AtomUINativeWindowsX64Artifact>$(OutputPathWithoutFramework)$(AtomUINativeWindowsX64DeployPath)/$(AtomUINativeWindowsArtifactName)</AtomUINativeWindowsX64Artifact>
|
||||
<AtomUINativeMacOSArtifact>$(OutputPathWithoutFramework)$(AtomUINativeMacOSDeployPath)/$(AtomUINativeMacOSArtifactName)</AtomUINativeMacOSArtifact>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
@@ -105,7 +105,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<Content Include="$(AtomUIPackageOutput)/$(AtomUINativeDeployPath)/$(AtomUINativeArtifactName)">
|
||||
<Content Include="$(AtomUIPackageOutputWithoutFramework)/$(AtomUINativeDeployPath)/$(AtomUINativeArtifactName)">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>$(AtomUINativeDeployPath)/$(AtomUINativeArtifactName)</Link>
|
||||
</Content>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user