Skip to content

Commit 3ff8e6c

Browse files
committed
给dp2sipclient设置发布属性
1 parent 8f71f27 commit 3ff8e6c

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

dp2SIPClient/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// 将 ComVisible 设置为 false 使此程序集中的类型
1818
// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
1919
// 则将该类型上的 ComVisible 特性设置为 true。
20-
[assembly: ComVisible(false)]
20+
[assembly: ComVisible(true)]
2121

2222
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
2323
[assembly: Guid("52d46b6c-46af-4e97-8739-0d2ec4d87d04")]

dp2SIPClient/dp2SIPClient.csproj

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,30 @@
1212
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
15+
<IsWebBootstrapper>true</IsWebBootstrapper>
16+
<PublishUrl>C:\publish\dp2SIPClient\v1\</PublishUrl>
17+
<Install>true</Install>
18+
<InstallFrom>Web</InstallFrom>
19+
<UpdateEnabled>true</UpdateEnabled>
20+
<UpdateMode>Background</UpdateMode>
21+
<UpdateInterval>7</UpdateInterval>
22+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
23+
<UpdatePeriodically>false</UpdatePeriodically>
24+
<UpdateRequired>false</UpdateRequired>
25+
<MapFileExtensions>true</MapFileExtensions>
26+
<InstallUrl>http://dp2003.com/dp2SIPClient/v1/</InstallUrl>
27+
<UpdateUrl>http://dp2003.com/dp2SIPClient/v1/</UpdateUrl>
28+
<ProductName>dp2SIPClient</ProductName>
29+
<PublisherName>DigitalPlatform</PublisherName>
30+
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
31+
<WebPage>publish.htm</WebPage>
32+
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
33+
<ApplicationRevision>6</ApplicationRevision>
34+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
35+
<UseApplicationTrust>false</UseApplicationTrust>
36+
<CreateDesktopShortcut>true</CreateDesktopShortcut>
37+
<PublishWizardCompleted>true</PublishWizardCompleted>
38+
<BootstrapperEnabled>true</BootstrapperEnabled>
1539
</PropertyGroup>
1640
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1741
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -37,6 +61,21 @@
3761
<PropertyGroup>
3862
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
3963
</PropertyGroup>
64+
<PropertyGroup>
65+
<ManifestCertificateThumbprint>6AF85AEF3D710EA412E3251FB895A45EE1B11018</ManifestCertificateThumbprint>
66+
</PropertyGroup>
67+
<PropertyGroup>
68+
<ManifestKeyFile>代码签名证书-2020.p12</ManifestKeyFile>
69+
</PropertyGroup>
70+
<PropertyGroup>
71+
<GenerateManifests>true</GenerateManifests>
72+
</PropertyGroup>
73+
<PropertyGroup>
74+
<SignManifests>true</SignManifests>
75+
</PropertyGroup>
76+
<PropertyGroup>
77+
<ManifestTimestampUrl>http://timestamp.digicert.com</ManifestTimestampUrl>
78+
</PropertyGroup>
4079
<ItemGroup>
4180
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
4281
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
@@ -124,6 +163,7 @@
124163
<DesignTime>True</DesignTime>
125164
</Compile>
126165
<None Include="app.config" />
166+
<None Include="dp2SIPClient_TemporaryKey.pfx" />
127167
<None Include="packages.config" />
128168
<None Include="Properties\Settings.settings">
129169
<Generator>SettingsSingleFileGenerator</Generator>
@@ -134,6 +174,7 @@
134174
<DependentUpon>Settings.settings</DependentUpon>
135175
<DesignTimeSharedInput>True</DesignTimeSharedInput>
136176
</Compile>
177+
<None Include="代码签名证书-2020.p12" />
137178
</ItemGroup>
138179
<ItemGroup>
139180
<Content Include="delete.txt" />
@@ -168,6 +209,18 @@
168209
<Name>DigitalPlatform.SIP</Name>
169210
</ProjectReference>
170211
</ItemGroup>
212+
<ItemGroup>
213+
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
214+
<Visible>False</Visible>
215+
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 和 x64%29</ProductName>
216+
<Install>true</Install>
217+
</BootstrapperPackage>
218+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
219+
<Visible>False</Visible>
220+
<ProductName>.NET Framework 3.5 SP1</ProductName>
221+
<Install>false</Install>
222+
</BootstrapperPackage>
223+
</ItemGroup>
171224
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
172225
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
173226
Other similar extension points exist, see Microsoft.Common.targets.
3 KB
Binary file not shown.

0 commit comments

Comments
 (0)