SAPROJ Format

Is the format of SAPROJ files documented anywhere?
Tagged:

Answers

  • Jessica RJessica R Posts: 1,319 Rose Gold 4
    Hi @mlshoe63,

    We don't have any documentation on the saproj format, I'm sorry to say. The format for a very simple saproj file though may look something like:
    <SmartAssemblyProject ProjectId="{a6ebe03d-50d4-447c-bc11-ad7a41750be1}" Version="2.0">
        <MainAssemblyFileName>..\Documents\Visual Studio 2017\Projects\ConsoleApp2\ConsoleApp2\bin\Debug\ClassLibrary1.dll</MainAssemblyFileName>
        <Configuration Name="Release">
            <Options>
                <ExceptionReporting Template="res:{SmartExceptions}.1033.dll" />
                <FeatureUsageReporting Template="res:SmartUsageWithUIConsentFirstRun1033.dll" />
                <StringsEncoding Encode="1" />
                <StrongNameSigning />
                <OtherOptimizations />
                <Obfuscation FieldsNameMangling="2" NameMangling="3" />
                <OtherProtections />
                <Debugging />
            </Options>
            <ApplicationName />
            <Destination DestinationFileName=".\ClassLibrary1.dll" />
            <Assemblies>
                <Assembly AssemblyName="ClassLibrary1, Culture=neutral, PublicKeyToken=null">
                    <Merging>
                        <ResourcesCompression />
                        <MemberRefsProxy />
                        <Pruning Prune="1">
                            <Exclusion />
                        </Pruning>
                        <Obfuscation Obfuscate="1">
                            <Exclusion />
                        </Obfuscation>
                        <ControlFlow Obfuscate="1" />
                    </Merging>
                    <Embedding />
                </Assembly>
                <Assembly AssemblyName="MyDependency, Culture=neutral, PublicKeyToken=null">
                    <Merging Merge="1">
                        <Pruning Prune="1">
                            <Exclusion />
                        </Pruning>
                        <Obfuscation Obfuscate="1">
                            <Exclusion />
                        </Obfuscation>
                        <ControlFlow />
                        <MemberRefsProxy Proxy="1" />
                    </Merging>
                    <Embedding />
                </Assembly>
            </Assemblies>
        </Configuration>
    </SmartAssemblyProject>
    

    Did you have any particular questions about the format that we can help with? Please let us know if so!

    Jessica Ramos | Product Support Engineer | Redgate Software

    Have you visited our Help Center?


Sign In or Register to comment.