How can we help you today? How can we help you today?
Uniwares_AS
If there are no other dependencies you can also use one "generic" project file and use the inputfile/outputfile feature. Even with dependencies you can add the dependencies of all your assemblies into one project file. / comments
If there are no other dependencies you can also use one "generic" project file and use the inputfile/outputfile feature. Even with dependencies you can add the dependencies of all your assemblies i...
0 votes
Thanks Paul, that was a great tip. But makes me wonder why doesn't SA at least log errors by default to the console? Digging through miles of log is not the funniest. Anyway, solved the problem now, it was really a wrong path to the input assembly (should have been $(ProjectDir)\obj\Release and not $(TargetDir)), SA threw an IOException. So this makes this workaround somehow usable. Although a <Include> would be much cleaner and logical. If someone else is interested, this is what the SA output looks like: Target "AfterCompile: &#40;TargetId:36&#41;" in file "X:\solutionfolder\SmartAssembly.targets" from project "X:\solutionfolder\project\subproject\subproject.csproj" &#40;target "Compile" depends on it&#41;: Task "Copy" &#40;TaskId:17&#41; Copying file from ".\obj\Release\subproject.dll" to ".\obj\Release\subproject.temp.dll". &#40;TaskId:17&#41; Done executing task "Copy". &#40;TaskId:17&#41; Task "SmartAssembly.MSBuild.Tasks.Build" &#40;TaskId:18&#41; Command: &#40;TaskId:18&#41; C:\Program Files\Red Gate\SmartAssembly 5\SmartAssembly.com "X:\solutionfolder\project\Build\subproject.&#123;sa&#125;proj" /output=$self &#40;TaskId:18&#41; The "Build" task is using "SmartAssembly.com" from "C:\Program Files\Red Gate\SmartAssembly 5\SmartAssembly.com". &#40;TaskId:18&#41; SmartAssembly v5.0.0.284 &#40;TaskId:18&#41; Copyright c Red Gate Software 2005-2010 &#40;TaskId:18&#41; Loading project X:\solutionfolder\project\Build\subproject.&#123;sa&#125;proj &#40;TaskId:18&#41; Output=X:\solutionfolder\project\subproject\obj\Release\subproject.dll &#40;TaskId:18&#41; Analyzing... &#40;TaskId:18&#41; Preparing... &#40;TaskId:18&#41; Creating Assembly... &#40;TaskId:18&#41; OK &#40;TaskId:18&#41; Done executing task "SmartAssembly.MSBuild.Tasks.Build". &#40;TaskId:18&#41; / comments
Thanks Paul, that was a great tip. But makes me wonder why doesn't SA at least log errors by default to the console? Digging through miles of log is not the funniest. Anyway, solved the problem now...
0 votes
While its a bit like carrying the church around the cross, it might work. Will give it a try. / comments
While its a bit like carrying the church around the cross, it might work. Will give it a try.
0 votes