more problems (I think) with the new shim wizard

D

David Thielen

In http://msdn.microsoft.com/en-us/library/bb508939.aspx it says:

The generated project includes a final build task that runs
Regsvr32.exe on the target DLL to register the shim, so you do not
need to register it manually. The final build task copies the
ManagedAggregator.dll into the target folder for the shim. It also
copies the managed add-in assembly that you specified into the target
folder for the shim, along with the configuration file for the add-in.
The project dependencies are set so that the ManagedAggregator is
built first, before the shim.

But looking at the project it has no build events. Can someone post a
copy of the build events that are supposed to be in the project?

Also, is there anything else the shim is supposed to do - but does not
do?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

Jialiang Ge [MSFT]

Hello Dave

Although COM Shim Wizard is not a supported tool, I'm glad to share my
finding with you on this thread.

The final build script can be found in MyAddInShim1 / Project Property Page
/ Build Events / Post-Build Event / Command Line, with the content:

regsvr32 /s /c "$(TargetPath)"
copy "[Path to the addin dll]\Project1.dll" "$(TargetDir)"
copy "[Path to the addin dll]\Project1.dll.config" "$(TargetDir)"
copy "$(SolutionDir)ManagedAggregator\bin\Debug\ManagedAggregator.dll"
"$(TargetDir)"

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top