SmartAssembly 8

Building your assembly

After you have reviewed all of the project settings, you can build your project. To build the project, on the Project menu, click Build.

During the build process, SmartAssembly reports on the progress of your build, confirming whether the application of each setting was successful.  

When the build is completed, you can open and run the new assembly.

You can integrate SmartAssembly in your Visual Studio build process by running SmartAssembly in command line mode in Visual Studio's post-build event or by integrating it using a MSBuild task.

Integrating SmartAssembly into a build process is a recommended way to protect .NET Standard assemblies. This especially applies when you want to protect just a .NET Standard assembly and not your main application, or if you plan to create a NuGet package with your protected assembly.

For more information refer to Process assemblies inside a NuGet package.


If the build fails

If your project does not build, a warning message is displayed explaining why and how the failure occurred. If a particular operation caused the failure, return to the Project Settings and change the options, then rebuild the project. See Troubleshooting after building.




Didn't find what you were looking for?