That's actually untrue. Since the client profile is a subset of the full profile, mixing these references causes compile time reference errors that you "fix" by switching everything to full profile - bad idea. Since a new profile is coming, we should be mindful and try to develop for the minimal subset.
2012/1/18 Sebastien Lambla <[email protected]>: > Reference or no reference, if nothing uses the types in an assembly it won't > ever get loaded / verified / analyzed / compiled in metadata. > ________________________________________ > From: [email protected] > [[email protected]] on behalf of Krzysztof Koźmic > [[email protected]] > Sent: 12 January 2012 23:13 > To: [email protected] > Subject: Re: Windsor assembly references > > you must have. My .csproj has > > > <ItemGroup Condition="$(TargetFrameworkProfile)!='Client' and > $(MSBuildTargets)!='Silverlight 4.0'"> > <Reference Include="System.Web" /> > </ItemGroup> > > On 13/01/2012 8:59 AM, hammett wrote: >> I dont see it, but maybe I inadvertently removed it.. >> >> 2012/1/12 Krzysztof Koźmic<[email protected]>: >>> Yes, >>> >>> pretty sure there's a condition in the .csproj file, like there is for >>> System.Windows and SILVERLIGHT >>> >>> >>> On 13/01/2012 8:10 AM, hammett wrote: >>>> So CLIENTPROFILE removes the reference for system.web? Otherwise that >>>> will be included in the assembly metadata, right? (I may be wrong, >>>> it's been a long day) >>>> >>>> 2012/1/6 Krzysztof Koźmic<[email protected]>: >>>>> we already have #if CLIENTPROFILE and release for Client Profile (which >>>>> doesn't reference System.Web) and for Full Profile (which does). >>>>> I don't remember Castle.Windsor.Web, perhaps it was pre-RC3 >>>>> >>>>> >>>>> On 07/01/2012 9:44 AM, hammett wrote: >>>>>> I've added #if SYSTEMWEB. Referencing System.Web (or any profile >>>>>> dependent assembly) would cause the dependency to apply to consuming >>>>>> assemblies, transitively. Core/Fundamental assemblies should be >>>>>> mindful about their dependencies because of that... >>>>>> >>>>>> I think originally there was a Castle.Windsor.Web that held the >>>>>> additions dependent on System.Web, but I may be wrong... >>>>>> >>>>>> 2012/1/6 Krzysztof Koźmic<[email protected]>: >>>>>>> it has been referencing System.Web forever. PerWebReqest lifestyle uses >>>>>>> it. >>>>>>> System.Windsor is used only in Silverlight build >>>>>>> >>>>>>> >>>>>>> On 07/01/2012 5:19 AM, hammett wrote: >>>>>>>> Why Windsor references System.Web and System.Windows? >>>>>>>> This is really bad. >>>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups >>>>>>> "Castle Project Development List" group. >>>>>>> To post to this group, send email to >>>>>>> [email protected]. >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected]. >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/castle-project-devel?hl=en. >>>>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google Groups >>>>> "Castle Project Development List" group. >>>>> To post to this group, send email to >>>>> [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/castle-project-devel?hl=en. >>>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Castle Project Development List" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/castle-project-devel?hl=en. >>> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > -- Cheers, hammett http://hammett.castleproject.org/ -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
