Red Gate forums :: View topic - SmartAssembly errors out
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

SmartAssembly errors out

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
sdm



Joined: 30 Aug 2010
Posts: 3

PostPosted: Wed Oct 20, 2010 11:14 pm    Post subject: SmartAssembly errors out Reply with quote

Hi,
I'm running SmartAssembly 5 with MSBuild on my 32bit test server with windows server 2008 on it, and it builds fine. Now when I use same code to run on my 64bit prod server with windows server 2008 R2, my Application errors out. This is the error I get
D:\Builds\1\xyz\xyz\xyz.csproj (103): SmartAssembly build failed: The system cannot find the file specified. (Exception from HRESULT: 0x80070002).

Clicking on the above error points me to this line in .csproj file

<Target Name="AfterCompile" Condition=" '$(RunSmartAssembly)' != '' ">
<SmartAssembly.MSBuild.Tasks.Build ProjectFile="..\Build\Release.saproj" OverwriteAssembly="True" />
</Target>

I'm sure no file is missing on the server and the ProjectFile has the right path. If we open up the .saproj manually on the server, it builds just fine.

Any help is appreciated.

Thanks
Back to top
View user's profile Send private message
nick.maidment



Joined: 29 Jan 2010
Posts: 74

PostPosted: Thu Oct 21, 2010 10:09 am    Post subject: Reply with quote

Could you send your .csproj and .saproj files to support @ red-gate . com with F0040439 in the subject line. We'll do what we can to ensure they're correct.

The only other thing you can do is verify that all the files are in the correct locations and that you're building the project in release mode rather than debug mode.
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