Cannot import the keyfile 'blah.pfx' - error 'The keyfile may be password protected'
Cannot import the keyfile 'blah.pfx' - error 'The keyfile may be password protected'
I reselected the Key(pfx) file in the "Choose a Strong Name Key File" drop-down box, Then provided password in the "ENTER PASSWORD" Popup Window. Saved my project and did rebuild.build succeeded.
- Open Project Properties.
- Click on the Signing section.
- Where it says ‘Choose a strong name key file:’, reselect the current value from the drop-down box:
Visual Studio will now prompt you for the password. Enter it.
-
Save your project and do a rebuild.
-
If get error message:”An attempt was made to reference a token that does not exist” just ignore it and Continue the below steps
-
Click the ‘Change Password” button:
-
Enter the original password in all three boxes and click OK. If you’d like to change your password (or if your old password doesn’t meet complexity requirements), you can do so now.
-
Save your project and do a rebuild.
C:\workspace\Company\Kentico\Source\Kentico12\Instructions.txt
Solution files:
-----------------------------------------------
CMSSolution.sln
- The main solution containing all source projects of the Kentico web application.
- Can be used for deployments to standard web servers and Azure Web Apps.
CMSAzure.sln
- Source code solution with projects suitable for deployments to Azure Cloud Services.
- Requires Azure SDK and Microsoft Azure Tools for Visual Studio.
- If using MSBuild to build projects (*.ccproj or *.csproj) from the command line, you need to include the "/p:CMSAzureBuild=true" switch.
Using the Kentico source code as a new web project:
-----------------------------------------------
1. Start Visual Studio 2017 or newer.
2. Click File -> Open Project and select the CMSSolution.sln or CMSAzure.sln file in the source code folder.
3. Search for any signed project in the Solution Explorer (for example the "Activities" project).
4. Right-click the project and select Properties.
5. Switch to the project's Signing tab.
6. In the key file selector, choose the <Browse> option and reselect the CMS.pfx file in the given project folder.
7. Enter the following password: 密码
8. Save the project.
9. Rebuild the solution.
10. Create an IIS application for the web project:
a. Open Internet Information Services (IIS) Manager.
b. Add a new application under your IIS web site and map the Physical path to the CMS folder in the source code directory.
c. Create a new application pool for the application (or use an existing application pool).
11. Open the application in a browser and install a new Kentico database.
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2015-08-24 git tag的使用
2015-08-24 Learning WCF 书中的代码示例下载地址
2015-08-24 warning: push.default is unset;
2015-08-24 Redundant Call to Object.ToString()
2015-08-24 Specify a culture in string conversion explicitly
2015-08-24 Benefits of Cold Showers: 7 Reasons Why Taking Cool Showers Is Good For Your Health
2015-08-24 Why Creating a Meaningful Morning Routine Will Make You More Successful