Digital signing works
This commit is contained in:
Родитель
b439963b17
Коммит
2dba2e6e70
|
@ -29,7 +29,6 @@ Global
|
||||||
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.ActiveCfg = Debug|x64
|
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.Build.0 = Debug|x64
|
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Debug|x64.Build.0 = Debug|x64
|
||||||
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.ActiveCfg = Release|x64
|
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.ActiveCfg = Release|x64
|
||||||
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.Build.0 = Release|x64
|
{765C0612-BB8F-4261-87AE-B5B842BE3C26}.Release|x64.Build.0 = Release|x64
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
@ -37,7 +36,6 @@ Global
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.Build.0 = Debug|Any CPU
|
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.ActiveCfg = Release|Any CPU
|
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.Build.0 = Release|Any CPU
|
{8E68FB9B-73DF-4BC3-9C56-760C87078D13}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
@ -45,7 +43,6 @@ Global
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.Build.0 = Debug|Any CPU
|
{4C77E665-FA37-4793-8950-69AABD3DC626}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.ActiveCfg = Release|Any CPU
|
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.Build.0 = Release|Any CPU
|
{4C77E665-FA37-4793-8950-69AABD3DC626}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{DB850BC4-7490-4999-8761-CA8D4B92F98F}.Debug|Any CPU.ActiveCfg = Debug
|
{DB850BC4-7490-4999-8761-CA8D4B92F98F}.Debug|Any CPU.ActiveCfg = Debug
|
||||||
|
|
|
@ -1,43 +1,44 @@
|
||||||
* In the Solution > VersionInfo.cs file:
|
* Run as Admin
|
||||||
|
|
||||||
|
* In the Solution > VersionInfo.cs file:
|
||||||
Increment AssemblyVersion & AssemblyFileVersion
|
Increment AssemblyVersion & AssemblyFileVersion
|
||||||
|
|
||||||
* In setup project properties window, increment version number
|
* In the Setup project properties window, increment version number
|
||||||
|
|
||||||
* Set configuration to Release
|
* Set configuration to Release
|
||||||
Rebuild Setup project
|
Rebuild Solution
|
||||||
Set configurtaion back to Debug
|
|
||||||
|
|
||||||
* Get MSI from \AlmToolkit\AlmToolkitSetup\Release
|
|
||||||
|
|
||||||
|
|
||||||
---notes:
|
|
||||||
|
|
||||||
* Upload the following assembies to https://portal.esrp.microsoft.com/ & get them signed
|
* Upload the following assembies to https://portal.esrp.microsoft.com/ & get them signed
|
||||||
\BismNormalizer\AlmToolkit\bin\Release\AlmToolkit.exe
|
\BismNormalizer\AlmToolkit\bin\Release\AlmToolkit.exe
|
||||||
\BismNormalizer\BismNormalizer.CommandLine\bin\Release\BismNormalizer.exe
|
\BismNormalizer\BismNormalizer\bin\Release\BismNormalizer.dll
|
||||||
\BismNormalizer\BismNormalizer\bin\ReleaseObfusc\BismNormalizer.dll
|
\BismNormalizer\BismNormalizer.CommandLine\bin\Release\BismNormalizer.CommandLine.exe
|
||||||
- Copy signed assemblies to:
|
|
||||||
\BismNormalizer\BismNormalizer\bin\ReleaseObfusc (BismNormalizer.dll only)
|
|
||||||
\BismNormalizer\AlmToolkit\obj\Setup
|
|
||||||
\BismNormalizer\BismNormalizer.CommandLine\obj\Setup
|
|
||||||
|
|
||||||
|
https://microsoft-my.sharepoint.com/:v:/p/chwade/EeAAFiJhE3dEs9Oyum0tSIsBSp6P32y7pp1DGfOqbHbJIg?e=kPE2cg
|
||||||
|
ALM Toolkit App ID (Azure Portal): 62119323-7be0-4d45-9adb-8f90cafdf0b5
|
||||||
|
Operation Key Code: CP-230012
|
||||||
|
|
||||||
|
* Copy signed assemblies to:
|
||||||
|
\BismNormalizer\AlmToolkit\obj\Release
|
||||||
|
\BismNormalizer\BismNormalizer\obj\Release
|
||||||
|
\BismNormalizer\BismNormalizer.CommandLine\obj\Release
|
||||||
|
|
||||||
|
* In Configuration Manager:
|
||||||
|
AlmToolkit -
|
||||||
|
AlmToolkitSetup X
|
||||||
|
BismNormalizer -
|
||||||
|
BismNormalizer.CommandLine -
|
||||||
|
|
||||||
- Change configuration to Setup
|
* Build (not Rebuild) Setup project
|
||||||
Build ALMT setup project (not Rebuild)
|
|
||||||
Change configuration back to Debug
|
|
||||||
|
|
||||||
- NEW SECTION FOR MSI SIGNING (IGNORE VSIX)?
|
|
||||||
|
|
||||||
- Take VSIX and AlmToolkitSetup.msi from following folder
|
|
||||||
\BismNormalizer\AlmToolkitSetup\Setup
|
|
||||||
Test installer locally
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
* In Configuration Manager:
|
||||||
|
AlmToolkit X
|
||||||
|
AlmToolkitSetup -
|
||||||
|
BismNormalizer X
|
||||||
|
BismNormalizer.CommandLine X
|
||||||
|
|
||||||
|
* Set configurtaion back to Debug
|
||||||
|
|
||||||
|
* Get MSI from \AlmToolkit\AlmToolkitSetup\Release
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -73,6 +73,9 @@
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Compile Include="..\VersionInfo.cs">
|
||||||
|
<Link>VersionInfo.cs</Link>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -22,15 +22,3 @@ using System.Runtime.InteropServices;
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("4c77e665-fa37-4793-8950-69aabd3dc626")]
|
[assembly: Guid("4c77e665-fa37-4793-8950-69aabd3dc626")]
|
||||||
|
|
||||||
// Version information for an assembly consists of the following four values:
|
|
||||||
//
|
|
||||||
// Major Version
|
|
||||||
// Minor Version
|
|
||||||
// Build Number
|
|
||||||
// Revision
|
|
||||||
//
|
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
|
||||||
// by using the '*' as shown below:
|
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
|
||||||
[assembly: AssemblyVersion("5.0.45.0")]
|
|
||||||
[assembly: AssemblyFileVersion("5.0.45.0")]
|
|
||||||
|
|
|
@ -10,5 +10,5 @@
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("5.0.61.0")]
|
[assembly: AssemblyVersion("5.0.65.0")]
|
||||||
[assembly: AssemblyFileVersion("5.0.61.0")]
|
[assembly: AssemblyFileVersion("5.0.65.0")]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче