It seems not to be possible to build without installing DO anymore. I need this on build server, and that would be practical for the rest of the team. Scenario: I have all the binaries necessary to build (basically Bin, Common, Lib folders of Program Files) in a folder in source control. I have a Property in my .csproj like this : <dataobjectsdotnetpath>$(MSBuildProjectDirectory)..\ExternalLibs\DataObjects.Net</dataobjectsdotnetpath> I added the following targets : <import project="$(MSBuildToolsPath)\\Microsoft.CSharp.targets"/> <import project="$(DataObjectsDotNetPath)\\Common\\DataObjects.Net.targets"/> <import project="$(DataObjectsDotNetPath)\\Common\\Defaults.MixedProject.targets"/> This was working with DO 4.3 RC1, but now I get :
Neither Postsharp or DataObjects are installed on build server. Is it a new limitation? Updated at 26.05.2010 7:49:20Ok, I'll define it : thanks for your answer. This thread was imported from our support forum. The original discussion may contain more detailed answer. |
We just discussed this - that's not a bug, but issue. We were trying to implement this w/o env. variable, but failed: since weaver is executed inside PostSharp, and (as it seems) PostSharp makes a shadow copy of it, it isn't easy to determine its actual path. So currently we don't know how to fix this, but we'll look for options. |
Ups, that's bug.
The new part of the weaver responsible for license checks currently requires DataObjectsDotNetPath environment variable to function. We'll fix this ASAP, workaround for now is to define it.