Modificato progetto x compilare xsempre file tt/t4 pin build (num vers...)
This commit is contained in:
+56
-1
@@ -13,6 +13,21 @@
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@@ -83,8 +98,15 @@
|
||||
<Content Include="Resources\ChangeLog.html">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Resources\manifest.tt">
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>manifest.xml</LastGenOutput>
|
||||
</Content>
|
||||
<Content Include="Resources\manifest.xml">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>manifest.tt</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<Content Include="Resources\SteamWare.ico">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
@@ -150,7 +172,40 @@
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 e x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- Optionally make the import portable across VS versions -->
|
||||
<PropertyGroup>
|
||||
<!-- Get the Visual Studio version - defaults to 10: -->
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<!-- Keep the next element all on one line: -->
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<!-- This is the important line: -->
|
||||
<Import Project="$(VSToolsPath)\TextTemplating\Microsoft.TextTemplating.targets" />
|
||||
<PropertyGroup>
|
||||
<TransformOnBuild>true</TransformOnBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OverwriteReadOnlyOutputFiles>true</OverwriteReadOnlyOutputFiles>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TransformOutOfDateOnly>false</TransformOutOfDateOnly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(ProjectDir)setupTgt.bat" "$(ConfigurationName)" "$(ProjectDir)"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<#@ template debug="false" hostspecific="true" language="C#" #>
|
||||
<#@ assembly name="System.Core" #>
|
||||
<#@ import namespace="System.Linq" #>
|
||||
<#@ import namespace="System.Text" #>
|
||||
<#@ import namespace="System.Collections.Generic" #>
|
||||
<#@ output extension=".xml" #>
|
||||
<#@ import namespace="System.IO" #>
|
||||
<#
|
||||
string absolutePath = Host.ResolvePath("..\\..\\VersGen\\VersNum.txt");
|
||||
string contents = File.ReadAllText(absolutePath);
|
||||
string versNum=contents;
|
||||
#>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version><#= versNum #>.000.000</version>
|
||||
<url>http://seriate.steamware.net:8083/SWS/MAPO-IOB-WIN/{{BRANCHNAME}}/MAPO-IOB-WIN.zip</url>
|
||||
<changelog>http://seriate.steamware.net:8083/SWS/MAPO-IOB-WIN/{{BRANCHNAME}}/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
</item>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>0.10.000.000</version>
|
||||
<url>http://seriate.steamware.net:8083/SWS/MAPO-IOB-WIN/{{BRANCHNAME}}/MAPO-IOB-WIN.zip</url>
|
||||
<changelog>http://seriate.steamware.net:8083/SWS/MAPO-IOB-WIN/{{BRANCHNAME}}/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
</item>
|
||||
</item>
|
||||
|
||||
+4
-6
@@ -1,11 +1,9 @@
|
||||
//
|
||||
// This code was generated by a tool. Any changes made manually will be lost
|
||||
// the next time this code is regenerated.
|
||||
//
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.11.000.000")]
|
||||
[assembly: AssemblyFileVersion("0.11.000.000")]
|
||||
//
|
||||
using System.Reflection;
|
||||
[assembly: AssemblyVersion("0.10.000.000")]
|
||||
[assembly: AssemblyFileVersion("0.10.000.000")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2006-2017")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
@@ -62,11 +62,30 @@
|
||||
<Generator>TextTemplatingFileGenerator</Generator>
|
||||
<LastGenOutput>VersGen.cs</LastGenOutput>
|
||||
</Content>
|
||||
<Content Include="VersNum.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- Optionally make the import portable across VS versions -->
|
||||
<PropertyGroup>
|
||||
<!-- Get the Visual Studio version - defaults to 10: -->
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<!-- Keep the next element all on one line: -->
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<!-- This is the important line: -->
|
||||
<Import Project="$(VSToolsPath)\TextTemplating\Microsoft.TextTemplating.targets" />
|
||||
<PropertyGroup>
|
||||
<TransformOnBuild>true</TransformOnBuild>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OverwriteReadOnlyOutputFiles>true</OverwriteReadOnlyOutputFiles>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TransformOutOfDateOnly>false</TransformOutOfDateOnly>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
||||
+11
-7
@@ -1,12 +1,16 @@
|
||||
<#@ template language="C#" #>
|
||||
<#@ template language="C#" hostspecific="True" #>
|
||||
//
|
||||
// This code was generated by a tool. Any changes made manually will be lost
|
||||
// the next time this code is regenerated.
|
||||
//
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.11.000.000")]
|
||||
[assembly: AssemblyFileVersion("0.11.000.000")]
|
||||
//
|
||||
using System.Reflection;
|
||||
<#@ import namespace="System.IO" #>
|
||||
<#
|
||||
string absolutePath = Host.ResolvePath("VersNum.txt");
|
||||
string contents = File.ReadAllText(absolutePath);
|
||||
string versNum=contents;
|
||||
#>
|
||||
[assembly: AssemblyVersion("<#= versNum #>.000.000")]
|
||||
[assembly: AssemblyFileVersion("<#= versNum #>.000.000")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2006-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
@@ -0,0 +1 @@
|
||||
0.10
|
||||
Reference in New Issue
Block a user