I need two dlls General.BL and General.UI from one project. I am getting an error on General.UI.dll. Error is: The type or namespace name 'Window' could not be found (are you missing a using directive or an assembly reference?)
<Target Name="General">
<Csc Condition="%(Compile.CodeType) == 'BL'" Sources="%(Compile.FullPath)" TargetType="library" OutputAssembly="$(OutputPath)General.BL.dll" EmitDebugInformation="true" AdditionalLibPaths="$(OutputPath)"
References="MyDll.dll"/>
<Csc Condition="%(Compile.CodeType) == 'UI'" Sources="%(Compile.FullPath)" TargetType="library" OutputAssembly="$(OutputPath)General.UI.dll"
EmitDebugInformation="true" References="mscorlib.dll;System.dll;System.Core.dll;System.Data.Linq.dll;System.Xml.dll;Microsoft.CSharp.dll;System.Configuration.dll" />