What I am trying to get
I am trying to URL encode a string in my workflow. What I did
I used this function: System.Web.HttpUtility.HtmlEncode(string)
What is the issue ?
I used this same function on my earlier project without any issue. But when I created a new workflow file ? Its showing issue… HttpUtility is not a member function of web. Below is the both project screenshot.
In imports tab… System.Web is available in both projects.
But System.Web.HttpUtility is not available in any project.
So I dont think this may be issue.
I sent that link to check whether you are using same .NET Framework version or not.
Do one thing. Open both xaml files the one is working and other one not working with notepad application and compare all Assembly References used in that.
Thanks dear @lakshman . I edited the file as you told. And its worked. Great.
But again I stuck in the issue. I was facking this issue on 2 workflow. On 1 workflow you resolved the issue. And in 2nd workflow ( attached below ) your method do not work. I found that the 2nd workflow is already have the same setting as told by you. So I cant edit anything.
@lakshman
Both files are bigger, Have almost more then 100-100 activites. In your case I have to build it again. have to set all properties again one by one. It will be not an ideal method.
I can not understand that one file support web.httputility function. and 2nd file in same project dont support. What may be the reason. Even VB version are same in both. All installed dependency are also the same.