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

The type initializer for '.' threw an exception

I'm trying to add obfuscastion to an MsBuild task.

The project builds and obfuscates successfully when being built using visual studio. However, when using our TFS server, I receive the following: "error : The type initializer for '.' threw an exception"

Is this an issue that has been encountered and resolved previously?

I am using SmartAssembly v 6.8.0.121 & TFS 2013.

Thanks
DveH
0

Comments

1 comment

  • Jessica R
    Hi @DveH

    Thanks for your post! I suspect that the user running the TFS build may not have access to the SQL Server that SmartAssembly uses (Tools>Options>Database options). Could you first check if that might be the case?
    Jessica R
    0

Add comment

Please sign in to leave a comment.