Hi All,
If you are referring to some external assembly file in to your sandbox solution and getting "FileLoadException - An Operation is not legal in the current state" exception when debugging the code, Then it might be the case
that your manifest.xml file of your package is missing the reference to the assembly.
To Add reference in manifest.xml file
1. Open Package.Package file from solution explorer.
2. Click on advance button present at the bottom.
3. Add the reference to your external assembly and save it.
Done.
You should now able to debug and run your sandbox code.
Thanks,
Sachin K.
If you are referring to some external assembly file in to your sandbox solution and getting "FileLoadException - An Operation is not legal in the current state" exception when debugging the code, Then it might be the case
that your manifest.xml file of your package is missing the reference to the assembly.
To Add reference in manifest.xml file
1. Open Package.Package file from solution explorer.
2. Click on advance button present at the bottom.
3. Add the reference to your external assembly and save it.
Done.
You should now able to debug and run your sandbox code.
Thanks,
Sachin K.
No comments:
Post a Comment