Comments
Sort by recent activity
I looked at some notes from previous support and remembered that there is an overwrite command required to write the protected .exe over the .exe in \obj\release so that the setup & deployment project will pick up and deploy the protected output.
Since SA now auto-generates code in the .vbproj file and my legacy code for V7 in .vbproj no longer works, what is the new overwrite command and where should it be placed in the auto-generated code below: <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> </PropertyGroup> <Error Condition="!Exists('packages\RedGate.SmartAssembly.MSBuild.8.0.4.4860\build\RedGate.SmartAssembly.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\RedGate.SmartAssembly.MSBuild.8.0.4.4860\build\RedGate.SmartAssembly.MSBuild.props'))" /> <Error Condition="!Exists('packages\RedGate.SmartAssembly.MSBuild.8.0.4.4860\build\RedGate.SmartAssembly.MSBuild.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\RedGate.SmartAssembly.MSBuild.8.0.4.4860\build\RedGate.SmartAssembly.MSBuild.targets'))" /> </Target> <Import Project="packages\RedGate.SmartAssembly.MSBuild.8.0.4.4860\build\RedGate.SmartAssembly.MSBuild.targets" Condition="Exists('packages\RedGate.SmartAssembly.MSBuild.8.0.4.4860\build\RedGate.SmartAssembly.MSBuild.targets')" />
/ comments
I looked at some notes from previous support and remembered that there is an overwrite command required to write the protected .exe over the .exe in \obj\release so that the setup & deployment proj...
RESOLVED: I added the lines below to the bottom of the .vbproj file, just above the ending </Project> <!-- Optional SmartAssembly properties --> <PropertyGroup> <SmartAssemblyOverwriteAssembly>True</SmartAssemblyOverwriteAssembly> </PropertyGroup> <!-- /Optional SmartAssembly properties -->
and the .exe in obj\release was overwritten with the protected .exe. Now, Setup & Deployment will correctly fetch and deploy the protected .exe.
/ comments
RESOLVED: I added the lines below to the bottom of the .vbproj file, just above the ending </Project> <!-- Optional SmartAssembly properties --> <PropertyGroup> <SmartAssemblyOverwriteAssembl...