Hi all,
Everytime i publish my winform app, I encounter this error.
"SignTool reported an error 'XmlResolver can be set only by fully trusted code."
How can I fix this problem.
Thanks
Hi all,
Everytime i publish my winform app, I encounter this error.
"SignTool reported an error 'XmlResolver can be set only by fully trusted code."
How can I fix this problem.
Thanks
SignTool reported an error 'XmlResolver can be set only by fully trusted code.
andre_durand
Chinese KongFu
Markx3
Thank you thank you thank you!
I've tried deleting the .sln, and editing it to leave only the bare minimum. Sometimes it worked, sometimes it didn't. Clearing all the open solution items and the toolbox works like a charm. Happy days.
nimi
Me too.
Delete the ".sln" can resolve temparely,but next time if we copy source to another PC,it comes again.
Faint~
simonw.
Thawani
I had this problem on my work PC, but not my laptop. After installing the VS2005 SP1 the problem did not go away. Then I had a look at VS Add-in Manager. I had XSDObjectGen in the list but it was not loaded.
As a last desperate attempt I uninstalled XSDObjectGen and I finally had SUCCESS.
So just having XSDObjectGen installed on your machine can cause the dreaded XmlResolver error during ClickOnce publishing.
I hope that helps.
DougP
I don't understand your too much. What is "Clearing all the open solution" mean and "the toolbox works "---which "toolbox"
Jon Peltier
I will see what I can find Monday AM and reply with that info.
It does sound like there may be some issue with project portability here and possibly changing from one certificate/signing key to another. Have also seen similar reports of deleting the .sln file and resaving - which seem to correct the issue.
Again, will see what I can find out...
-Robert Schoen (Microsoft Visual Basic QA)
ThirtySix Software
satya31237
techmanblues
wiro
big t - What instructions did you follow that worked for you
Also, the ".sin" that you asked about I think was really the ".SLN" file...which should be located next to your project file...
-Robert Schoen (Microsoft Visual Basic QA)
Kunjal Karamshi
Okay,
looking into this further and talking with some our our Publishing folks - this is a known issue...and is being addressed in some fashion within VS....
The basic problem is caused by having assemblies that aren’t full trust loaded into Visual Studio while trying to publish. My understanding there are some scenarios where just having the toolbox loaded which will load some assemblies (non-full trust ) within the VS system can cause this...
What you can do that should help is to do the following - before publishing after make changes in the designer or what ever - be sure you have all designers closed.
You might even try for example to do the following:
1. Close all designers surfaces so you have an empty environment (maybe even close the toolbox)
2. Close your solution ( may need to also close your devenv)
3. Relaunch Devenv and open your solution - this should load with an empty environment.
4. Publish now...and this should work.
If you really are pressed for a fix, please contact Product Support and ask to get a QFE (fix) for your situation...
Hope this helps
Robert Schoen (Microsoft Visual Basic QA)
TimFröglich