Red Gate forums :: View topic - Build process failed while analyzing the main assembly
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 5
SmartAssembly 5 forum

Build process failed while analyzing the main assembly

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
jzickgra



Joined: 23 Jul 2010
Posts: 2

PostPosted: Fri Jul 23, 2010 12:51 am    Post subject: Build process failed while analyzing the main assembly Reply with quote

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
View user's profile Send private message
dom.smith



Joined: 03 Jun 2010
Posts: 83
Location: Cambridge, UK

PostPosted: Fri Jul 23, 2010 10:28 am    Post subject: Reply with quote

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,
Project Manager,
Red Gate Software.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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