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

Embedding SmartAssembly in vcxproj file

Currently, I'm using SmartAssembly as part of my release builds for C# applications with this added to my project files:

 <UsingTask TaskName="SmartAssembly.MSBuild.Tasks.Build" AssemblyName="SmartAssembly.MSBuild.Tasks, Version=6.0.0.0,Culture=neutral, PublicKeyToken=7f465a1c156d4d57" />
  <Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release' ">
    <SmartAssembly.MSBuild.Tasks.Build ProjectFile="$(ProjectFolder)MyProject.saproj" input="$(OutDir)MyProject.exe" output="$(OutDir)MyProject.exe" OverwriteAssembly="true" />
  </Target>

This works great for C#.  What do I do for a managed C++ (vcxproj) project?  How can I automate signing and obfuscation for C++?

Thanks,
Mark
0

Comments

2 comments

  • Russell D
    In short, you don't. SmartAssembly only works on managed code.

    If, for some reason, you're using Microsoft's managed c++ or c++/cli we don't support that I'm afraid.
    Russell D
    0
  • mcmalburg
    Thanks.
    mcmalburg
    0

Add comment

Please sign in to leave a comment.