-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathFiles.csproj
40 lines (40 loc) · 1.67 KB
/
Files.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BaseIntermediateOutputPath>.vs\unused\</BaseIntermediateOutputPath>
<ProjectGuid>{AA1EF112-E817-4ED1-849A-EE55B8DAF3C0}</ProjectGuid>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>.\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>..\$(SolutionName) - Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<ReleaseFiles Include="About\**;Defs\**;Patches\**;Languages\**;Sounds\**;Textures\**;News\**;LoadFolders.xml"
Exclude="About\About-Release.xml;About\About.xml"/>
<AboutFiles Include="About\About-Release.xml;About\About.xml"/>
</ItemGroup>
<Target Name="Clean" />
<Target Name="_IsProjectRestoreSupported"
Returns="@(_ValidProjectsForRestore)">
<ItemGroup>
<_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" />
</ItemGroup>
</Target>
<Target Name="Restore" />
<Target Name="Build">
<Copy Condition=" '$(Configuration)' == 'Release' "
SourceFiles="About\About-Release.xml"
DestinationFiles="$(OutputPath)About\About.xml"
SkipUnchangedFiles="true" />
<Copy Condition=" '$(Configuration)' == 'Release' "
SourceFiles="@(ReleaseFiles)"
DestinationFiles="@(ReleaseFiles->'$(OutputPath)%(RelativeDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
<Target Name="Rebuild" />
<Target Name="PostBuild" AfterTargets="Build">
<RemoveDir Directories="obj" />
</Target>
</Project>