| Author |
Message |
eric-914
Joined: 30 Nov 2012 Posts: 20
|
Posted: Tue Dec 11, 2012 5:48 pm Post subject: SmartAssembly.Attributes required to be installed in the GAC |
|
|
Someone please explain this error message, and why in God's name is it required to be in the GAC of my client machines?
System Update Required
Unable to install or run the application. The application requires that assembly SmartAssembly.Attributes Version 6.0.0.0 be installed in the Global Assembly Cache (GAC) first.
Please contact your system administrator. |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 453
|
Posted: Wed Dec 12, 2012 3:32 pm Post subject: |
|
|
If you used a trial version- you won't be able to run the protected assemblies on your client's machine without installing smartassembly there too.
What happens on your own machine- does it work? |
|
| Back to top |
|
 |
eric-914
Joined: 30 Nov 2012 Posts: 20
|
Posted: Wed Dec 12, 2012 5:17 pm Post subject: |
|
|
I figured out what went wrong. Or at least what I needed to fix it.
I followed the instructions on this page about attributes:
http://www.red-gate.com/supportcenter/content/SmartAssembly/help/6.7/SA_UsingCustomAttributes
I started w/ the first option listed on the page, and added a reference to SmartAssembly.Attributes.dll, and then later used the 2nd option.
Even though the app no longer actually needed the reference to the S/A dll, it was still being referenced. And when deployed, insisted it couldn't run w/out the S/A being in the GAC.
I removed the reference, built, and deployed, and the problem went away.
Still weird that option #1 would cause this though.
Seems #2 would've been listed first. |
|
| Back to top |
|
 |
|
|
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