| Author |
Message |
jzickgra
Joined: 23 Jul 2010 Posts: 2
|
Posted: Fri Jul 23, 2010 12:51 am Post subject: Build process failed while analyzing the main assembly |
|
|
I receive a Build Failed error when running smart assembly against my project's obj\release folder. Smart Assembly works fine if I point it at the bin\release folder. I saw that under the MSBuild guidance it says:
| Quote: |
Create your project using the SmartAssembly user interface. The main assembly must be in the \obj\Release folder, and NOT in \bin\Release.
|
SmartAssembly has encountered an invalid token in xxx.dll
That means the xx.dll was built with a dependency which is not the same as the one used by SmartAssembly. Ensure that SmartAssembly uses the correct dependencies and try again.
Why do I need to run against the obj\release folder and if I do, how can I defeat this failed build issue? |
|
| Back to top |
|
 |
dom.smith
Joined: 03 Jun 2010 Posts: 64 Location: Cambridge, UK
|
Posted: Fri Jul 23, 2010 10:28 am Post subject: |
|
|
Hi,
Thank you for telling us about this. It's a small mistake in the help, I'm afraid. It should read:
'If you are using ClickOnce or Silverlight, the main assembly must be in the \obj\Release folder, and NOT in \bin\Release '
As you say, in all other cases, SmartAssembly will work fine if you point it at \bin\Release , so if you are not using ClickOnce or Silverlight you can do that instead. _________________ Dominic Smith,
ANTS Performance Profiler Project Manager,
.NET Division, Red Gate Software. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group