Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Castle.Core for SL4 can be referenced by .NET project in Partial Trust #1

Merged
merged 1 commit into from
Nov 29, 2011

Conversation

k0st1x
Copy link
Contributor

@k0st1x k0st1x commented Nov 21, 2011

As discussed in https://groups.google.com/forum/#!topic/castle-project-users/qytXBc9as6c ,
there is project, that must be tested in Partial Trust environment (using Moq library).
But "Castle.Core" for ".NET" can not be used in Partial Trust environment.
For that reason, can be used "Castle.Core" for "Silverlight 4", but with slight correction ("System.Xml" from "Silverlight 4" can not be used in ".NET" project).
The fix is to remove the use of classes from the "System.Xml" assembly for the project configuration "SL4"
by wrapping the code with condition "#if !Silverlight".

@kkozmic
Copy link
Contributor

kkozmic commented Nov 29, 2011

Sorry for the delay. Can you also update the build script so that we don't reference System.Xml.dll when building for SL4?

@k0st1x
Copy link
Contributor Author

k0st1x commented Nov 29, 2011

ok, i'll try.

kkozmic added a commit that referenced this pull request Nov 29, 2011
Castle.Core for SL4 can be referenced by .NET project in Partial Trust
@kkozmic kkozmic merged commit 9f74b08 into castleproject:master Nov 29, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants