WSPBuilder项目中的自定义aspx工作流程表单问题
我有一个有效的 wss3.0 + 工作流程解决方案,带有一些 aspx 表单(遵循 Robert Shelton 的教程)和一些文档库。我想用 WSPBuilder 部署它,但我已经绝望了。
工作流程的转换花了5分钟,但我根本无法转换工作流程表单。我尝试了所有发现的方法,但症状始终相同:
对于 aspx 文件中定义的每个控件,代码隐藏文件中的编译器均表示“当前上下文中不存在名称‘myAspxTextControl’”。
我厌倦了通过以下方式连接它们:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs"
Inherits="SWEF_WSP.Test, SWEF_WSP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c935c51f6d8e9562" %>
其中 SWEF_WSP.dll 是我的 WSPBuilder 项目程序集,SWEF_SWP 是命名空间,Test .aspx 和 Test.aspx.cs 是我演示该问题的表单文件。
我尝试了使用和不使用 Codebehind 字段,并使用单独的 @Asssembly 指令,并更改了这些文件的位置(是否在 12 hive 的 Layout 文件夹中),无论是否一起,错误都是相同的。
我遵循
http://www.greggalipeau .com/2008/05/23/moving-a-sharepoint-workflow- Between-solutions/
(以及更多)
但不幸的是没有找到任何可构建的示例。
我一定错过了一些非常明显的东西,
任何帮助将不胜感激......
bts
I have a working wss3.0 + workflow solution, with some aspx forms (followed Robert Shelton’s tutorial) and some document libraries. I would like to deploy it with WSPBuilder but I have stuck hopeless.
The transformation of the workflow was 5 minutes, but I cannot transform workflow-forms at all. I have tried every way I found, but symptoms are constantly same:
The compiler at the codebehind file says “The name 'myAspxTextControl’ does not exist in the current context” for every controls defined in the aspx file.
I tired to connect them on the following ways:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs"
Inherits="SWEF_WSP.Test, SWEF_WSP, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c935c51f6d8e9562" %>
Where SWEF_WSP.dll is my WSPBuilder projects assembly, SWEF_SWP is the namespace, Test.aspx and Test.aspx.cs are my form files demonstrating the issue.
I tried it with and without Codebehind field, and using separate @Asssembly directive too, and changed the the place of these files (in the Layout folder in 12 hive or not ), together, or not, the error is same.
I followed the
http://www.greggalipeau.com/2008/05/23/moving-a-sharepoint-workflow-between-solutions/
(and some more)
But unfortunately didn’t find any buildable example.
I must miss something very evident,
Any help would be greatly appreciated ...
bts
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来您缺少页面的 .designer.cs 文件 - Visual Studio 不会生成它,因为该项目是一个工作流程,而不是网站。
Looks like you are missing the .designer.cs file for the page - Visual studio won't generate it since the project is a workflow, not a website.