aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/pash/files/template.csproj')
-rw-r--r--app-shells/pash/files/template.csproj8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-shells/pash/files/template.csproj b/app-shells/pash/files/template.csproj
index 9c49b91..c6ed1aa 100644
--- a/app-shells/pash/files/template.csproj
+++ b/app-shells/pash/files/template.csproj
@@ -26,8 +26,7 @@
<!-- Reference -->
</ItemGroup>
<ItemGroup>
- <Compile Include="**/*.cs" />
- <Compile Include="AssemblyVersion.cs" />
+ <Compile Include="**/*.cs" Exclude="AssemblyVersion.cs" />
</ItemGroup>
<ItemGroup>
<!-- ProjectReference -->
@@ -39,9 +38,12 @@
<VersionNumber>1.0.0.0</VersionNumber>
</PropertyGroup>
<AssemblyInfo CodeLanguage="C#"
- OutputFile="AssemblyVersion.cs"
+ OutputFile="$(MSBuildThisFileDirectory)/AssemblyVersion.cs"
AssemblyVersion="$(VersionNumber)"
AssemblyFileVersion="$(VersionNumber)"
/>
+ <CreateItem Include="$(MSBuildThisFileDirectory)/AssemblyVersion.cs">
+ <Output TaskParameter="Include" ItemName="Compile"/>
+ </CreateItem>
</Target>
</Project>