正在升级版本 9 到 10,对官方文档文章的最后一步感到困惑 "Manually upgrade a project to Sitefinity CMS 10.0 with a NuGet pack"
Upgrading vers 9 to 10, confused on last step of official documentation article "Manually upgrade a project to Sitefinity CMS 10.0 with a NuGet pack"
我正在遵循下面列出的文档:
https://docs.sitefinity.com/apply-authentication-model-after-nuget-package-upgrade
最后一步,数字8说,
"复制新的 ResourcePackages 文件夹。
如果文件夹中有更改,请注意不要覆盖它们。"
问题: 我应该从哪里 get/copy "new ResourcePackages" 以及我应该将它复制到哪里?
我虽然 Nuget 会安装最新的资源包文件夹,但如果它写在他们的文档中。
您可以从项目管理器安装中复制资源包:
下载并安装 Sitefinity CMS 项目管理器
在此管理器中创建虚拟项目
复制{ProjectManagerInstallationPath}\_EmptyProject\ResourcePackages
到你的项目{YourProjectPath}\ResourcePackages
我想他们的意思是:
几乎总是希望您不使用内置的 Bootstrap 包,而是使用它的副本,例如名为 MyClientNamePackage 的自定义包。
现在,升级程序将更新 Bootstrap 资源包文件夹(它会询问您是否要覆盖这些文件),但是您需要手动复制更新后的 bootstrap 文件夹到您的自定义包文件夹中。
我用 Sitefinity 创建了一个支持票,简而言之,解决方案是在使用 Nuget 升级时,当要求覆盖以下内容时,您必须响应 "Yes/Yes to All":
"File 'ResourcePackages\Bootstrap\razorgenerator.directives' already exists in project 'SitefinityWebApp'. Do you want to overwrite it? [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "N"):"
以下是 Sitefinity 的完整回复
I can see the confusion in the wording, as it took myself some time to understand this step. This step in my opinion should be apart of the following documentation :
https://docs.sitefinity.com/upgrade-a-project-that-has-nuget-packages
During the NuGet upgrade, the Package Manager Console will prompt you with the following :
"File 'ResourcePackages\Bootstrap\razorgenerator.directives' already exists in project 'SitefinityWebApp'. Do you want to overwrite it?
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "N"):"
Which refers to the "Copy the new ResourcePackages folder." line.
The second line :
"If you have changes in the folder, be careful not to overwrite them."
Is a caution, mentioning that, if you do have custom changes in your ResourcePackages folder, be careful not to overwrite those changes, as selecting "Yes/Yes to All" will do so.
I hope my response clarifies any confusion. Please let me know if you have any further questions.
Regards,
Wesley Skiba
Support Engineer: Wieslaw Skiba
Thank you,
Wieslaw Skiba
我正在遵循下面列出的文档:
https://docs.sitefinity.com/apply-authentication-model-after-nuget-package-upgrade
最后一步,数字8说,
"复制新的 ResourcePackages 文件夹。 如果文件夹中有更改,请注意不要覆盖它们。"
问题: 我应该从哪里 get/copy "new ResourcePackages" 以及我应该将它复制到哪里?
我虽然 Nuget 会安装最新的资源包文件夹,但如果它写在他们的文档中。
您可以从项目管理器安装中复制资源包:
下载并安装 Sitefinity CMS 项目管理器
在此管理器中创建虚拟项目
复制
{ProjectManagerInstallationPath}\_EmptyProject\ResourcePackages
到你的项目{YourProjectPath}\ResourcePackages
我想他们的意思是: 几乎总是希望您不使用内置的 Bootstrap 包,而是使用它的副本,例如名为 MyClientNamePackage 的自定义包。
现在,升级程序将更新 Bootstrap 资源包文件夹(它会询问您是否要覆盖这些文件),但是您需要手动复制更新后的 bootstrap 文件夹到您的自定义包文件夹中。
我用 Sitefinity 创建了一个支持票,简而言之,解决方案是在使用 Nuget 升级时,当要求覆盖以下内容时,您必须响应 "Yes/Yes to All":
"File 'ResourcePackages\Bootstrap\razorgenerator.directives' already exists in project 'SitefinityWebApp'. Do you want to overwrite it? [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "N"):"
以下是 Sitefinity 的完整回复
I can see the confusion in the wording, as it took myself some time to understand this step. This step in my opinion should be apart of the following documentation :
https://docs.sitefinity.com/upgrade-a-project-that-has-nuget-packages
During the NuGet upgrade, the Package Manager Console will prompt you with the following :
"File 'ResourcePackages\Bootstrap\razorgenerator.directives' already exists in project 'SitefinityWebApp'. Do you want to overwrite it?
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "N"):"Which refers to the "Copy the new ResourcePackages folder." line.
The second line :
"If you have changes in the folder, be careful not to overwrite them."
Is a caution, mentioning that, if you do have custom changes in your ResourcePackages folder, be careful not to overwrite those changes, as selecting "Yes/Yes to All" will do so.
I hope my response clarifies any confusion. Please let me know if you have any further questions.
Regards,
Wesley SkibaSupport Engineer: Wieslaw Skiba
Thank you,
Wieslaw Skiba