How can we help you today? How can we help you today?
JohnRedGater

Activity overview

Latest activity by JohnRedGater

How to detect which Assemblies have been Merged
I am trying to integrate SmartAssembly into my build process. Here's what my build process looks like right now: 1. Build all projects and copy their assemblies to a build folder 2. Use Smart Assem...
1 follower 2 comments 0 votes
System.InvalidCastException
When I build my application, I get the following message: Warning 7 Failed: System.InvalidCastException: Specified cast is not valid. at „..(IEnumerable`1 ) at „..( methodBody, & blockDat...
1 follower 1 comment 0 votes
Feature Request - FUSLOGVW functionality
It would be nice if smart assembly added a feature that would show the assembly loading and binding process similar to FUSLOGVW when testing a build. I could simply be instrumentation code that is...
1 follower 1 comment 0 votes
Thanks. I discovered that indeed pruning was the problem, but it didn't completely solve my MEF woes. I still couldn't get my plugin to load. Here's the process according to my poor recall. Originally, I MERGED the interface assembly into the main assembly. This made the interface assembly invisible to the plugin. I then tried to EMBED the interface assembly into the main assembly. Although it found the plugin, it couldn't find the plugin's referenced assemblies which were merged into the main assembly. I tried several combinations and I couldn't get them to work. After several different setup arrangements, I found that I had to embed the plugins references into to the main assembly but leave the interface outside of both assemblies. Magically, this works and the plugin is able to reference the assemblies in the main assembly. The resulting plugin is very small and references everything it needs from the main assembly. Ideally, I wish the assemblies were merged instead of embedded for better protection. Also, it would be nice to deploy two assemblies, main and plugin, instead of three: main, plugin, and interface. Given the popularity of MEF, I would strongly advise that it is directly addressed in either the software or technical documentation. I more than happy to provide assistance in helping reproduce these issues. / comments
Thanks. I discovered that indeed pruning was the problem, but it didn't completely solve my MEF woes. I still couldn't get my plugin to load. Here's the process according to my poor recall. Orig...
0 votes
Strange MEF SmartAssembly behavior
I'm using MEF to find and load a plugin from the main directory. In the debug mode, which isn't obfuscated, the composition fails because it can't find any plugins in the directory and throws an e...
2 followers 3 comments 0 votes
Xml Serialization Can't find embedded assembly
I embedded an assembly into my main assembly and another assembly (a plugin) references it. I am getting the following error: System.InvalidOperationException Unable to generate a temporary class ...
1 follower 2 comments 0 votes
Thanks for the information. I'll try it. If I integrate the obfuscation project in the release mode of my build in VS 2010, I should be able to debug it, correct? / comments
Thanks for the information. I'll try it. If I integrate the obfuscation project in the release mode of my build in VS 2010, I should be able to debug it, correct?
0 votes
Debugging Obsfuscated Code
Apparently there is a way of debugging obfuscated code using the generated PDB file and VS 2010, but I can't seem to find out how to do this. Is there any documentation on how to do this? If not, ...
2 followers 5 comments 0 votes
Multiple Assemblies
I’m using SmartAssembly Version 6.1 and I’m trying to automate my build process using msbuild. So far, I’m confused as to how the whole thing works given my special case. My application isn...
1 follower 1 comment 0 votes