File tree Expand file tree Collapse file tree 7 files changed +17
-10
lines changed
Chapter05/ConsoleRedirectTestApplication
ConsoleRedirectTestApplication Expand file tree Collapse file tree 7 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 7575 <Compile Include =" ServiceEventSource.cs" />
7676 </ItemGroup >
7777 <ItemGroup >
78+ <None Include =" PackageRoot\Code\scripts\test.cmd" />
7879 <None Include =" PackageRoot\Config\Settings.xml" />
7980 <None Include =" PackageRoot\ServiceManifest.xml" />
8081 <None Include =" App.config" />
Original file line number Diff line number Diff line change 1+ @ echo This is a test message
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<ServiceManifest Name =" ConsoleRedirectPkg"
3- Version =" 1.0.0 "
3+ Version =" 1.0.1 "
44 xmlns =" http://schemas.microsoft.com/2011/01/fabric"
55 xmlns : xsd =" http://www.w3.org/2001/XMLSchema"
66 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
1111 </ServiceTypes >
1212
1313 <!-- Code package is your service executable. -->
14- <CodePackage Name =" Code" Version =" 1.0.0" >
14+ <CodePackage Name =" Code" Version =" 1.0.1" >
15+ <SetupEntryPoint >
16+ <ExeHost >
17+ <Program >scripts\test.cmd</Program >
18+ <ConsoleRedirection FileRetentionCount =" 5" FileMaxSizeInKb =" 2048" />
19+ </ExeHost >
20+ </SetupEntryPoint >
1521 <EntryPoint >
1622 <ExeHost >
1723 <Program >ConsoleRedirect.exe</Program >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <ApplicationManifest ApplicationTypeName =" ConsoleRedirectTestApplicationType"
3- ApplicationTypeVersion =" 1.0.0"
4- xmlns =" http://schemas.microsoft.com/2011/01/fabric"
5- xmlns : xsd =" http://www.w3.org/2001/XMLSchema"
6- xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
2+ <ApplicationManifest xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName =" ConsoleRedirectTestApplicationType" ApplicationTypeVersion =" 1.0.1" xmlns =" http://schemas.microsoft.com/2011/01/fabric" >
73 <Parameters >
84 <Parameter Name =" ConsoleRedirect_InstanceCount" DefaultValue =" -1" />
95 </Parameters >
106 <!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion
117 should match the Name and Version attributes of the ServiceManifest element defined in the
128 ServiceManifest.xml file. -->
139 <ServiceManifestImport >
14- <ServiceManifestRef ServiceManifestName =" ConsoleRedirectPkg" ServiceManifestVersion =" 1.0.0 " />
10+ <ServiceManifestRef ServiceManifestName =" ConsoleRedirectPkg" ServiceManifestVersion =" 1.0.1 " />
1511 <ConfigOverrides />
1612 </ServiceManifestImport >
1713 <DefaultServices >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <Application Name = " fabric:/ConsoleRedirectTestApplication " xmlns =" http://schemas.microsoft.com/2011/01/fabric " xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance " >
2+ <Application xmlns : xsd =" http://www.w3.org/2001/XMLSchema " xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance " Name = " fabric:/ConsoleRedirectTestApplication " xmlns =" http://schemas.microsoft.com/2011/01/fabric " >
33 <Parameters >
44 <Parameter Name =" ConsoleRedirect_InstanceCount" Value =" -1" />
55 </Parameters >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <Application Name = " fabric:/ConsoleRedirectTestApplication " xmlns =" http://schemas.microsoft.com/2011/01/fabric " xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance " >
2+ <Application xmlns : xsd =" http://www.w3.org/2001/XMLSchema " xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance " Name = " fabric:/ConsoleRedirectTestApplication " xmlns =" http://schemas.microsoft.com/2011/01/fabric " >
33 <Parameters >
44 <Parameter Name =" ConsoleRedirect_InstanceCount" Value =" 1" />
55 </Parameters >
Original file line number Diff line number Diff line change 88 -->
99 <ClusterConnectionParameters />
1010 <ApplicationParameterFile Path =" ..\ApplicationParameters\Local.xml" />
11+ <UpgradeDeployment Mode =" UnmonitoredAuto" Enabled =" false" >
12+ <Parameters UpgradeReplicaSetCheckTimeoutSec =" 1" Force =" True" />
13+ </UpgradeDeployment >
1114</PublishProfile >
You can’t perform that action at this time.
0 commit comments