Closed LaborJos closed 6 years ago
Hi,
a simple full rebuild might solve the problem. The is only one place in Cauldron where a ToBoolean is added and it is actually imported. I have this problem sometimes also and until now I am not sure if this is a Cecil problem or Cauldron code problem.
Firma: Capgemini Deutschland GmbH Aufsichtsratsvorsitzender: Antonio Schnieder • Geschäftsführer: Dr. Michael Schulte (Sprecher) • Jost Förster • Dr. Peter Lempp • Dr. Volkmar Varnhagen
Amtsgericht Berlin-Charlottenburg, HRB 98814 This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Each time a clean or rebuild project (solution) takes too long, the solution size is large. Is there any other solution?
The time Cauldron takes to weave is logged in the build window. Can you tell me which of those takes long?
Firma: Capgemini Deutschland GmbH Aufsichtsratsvorsitzender: Antonio Schnieder • Geschäftsführer: Dr. Michael Schulte (Sprecher) • Jost Förster • Dr. Peter Lempp • Dr. Volkmar Varnhagen
Amtsgericht Berlin-Charlottenburg, HRB 98814 This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
I added a Verbose attribute to the FodyWeaver.xml config. This will improve speed for a couple seconds... I hope. Example of usage:
<Cauldron.Interception Verbose="false">
<CustomInterceptors>
$(ProjectDir)..\..\..\Fody\Interceptors\Cauldron.ActivatorInterceptors*.dll
$(ProjectDir)..\..\..\Fody\Interceptors\Cauldron.BasicInterceptors*.dll
</CustomInterceptors>
</Cauldron.Interception>
The default value is true.
I found a work around... Killing MSBuild and then building seems to eliminate the problem. Until it appears again...
Error message at first build after code modification
Second build error message after modifying code
If I continue building, the second error message is repeated.
Clean and build a project or solution, it will build normally. The reason for reporting the error here is that it does not happen when "Cauldron.Interception" is excluded from "Weavers.xml".