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

Activity overview

Latest activity by littlerk

I can share how my team obfuscates multiple assemblies in parallel (we have nine .saproj files). We create a Microsoft.Build.Traversal ( https://github.com/microsoft/MSBuildSdks/blob/main/src/Traversal/README.md ) project named something like Obfuscatable.dirs.proj, which has ProjectReferences to all the projects that need obfuscation. The traversal project contains a target modeled on the Microsoft.Build.Traversal SDK's standard targets for building/testing entire groups of projects:   <Target Name="OurObfuscationTraversalTarget">     <MSBuild Projects="@(ProjectReference)"              Targets="OurObfuscationTarget"              BuildInParallel="true"              Properties="%(ProjectReference.SetConfiguration); %(ProjectReference.SetPlatform); %(ProjectReference.SetTargetFramework)"              SkipNonexistentProjects="$(SkipNonexistentProjects)"              SkipNonexistentTargets="$(SkipNonexistentTargets)"              StopOnFirstFailure="$(StopOnFirstFailure)"              ContinueOnError="$([MSBuild]::ValueOrDefault('$(TestContinueOnError)', '$(ContinueOnError)'))" />   </Target> Then for the individual projects, we define a "OurObfuscationTarget" target, which uses the task <SmartAssembly ProjectFile="$(AssemblyName).saproj" />, and is configured to know when an obfuscation target is up-to-date an can be skipped by MSBuild. Parallel obfuscation is then performed by calling: dotnet msbuild -t:OurObfuscationTraversalTarget Obfuscatable.dirs.proj This is generally much faster than obfuscating each project one-by-one. Hope that helps! / comments
I can share how my team obfuscates multiple assemblies in parallel (we have nine .saproj files).We create a Microsoft.Build.Traversal ( https://github.com/microsoft/MSBuildSdks/blob/main/src/Traver...
0 votes
Version 8.3 with support for net8.0 was released yesterday. However, there is not yet a corresponding version of the RedGate.SmartAssembly.Installer Nuget package for CI support. / comments
Version 8.3 with support for net8.0 was released yesterday. However, there is not yet a corresponding version of the RedGate.SmartAssembly.Installer Nuget package for CI support.
0 votes
Missing Nuget package RedGate.SmartAssembly.Installer for latest version 8.2.1.5246
Can you please publish an update to RedGate.SmartAssembly.Installer for version 8.2.1.5246? It's the easiest way to update to the latest in our CI pipelines.
1 follower 1 comment 0 votes
Is it possible to embed System.Resources.Extensions?
When using the .Net Core 3 build toolchain, certain .Net Framework projects must now include the GenerateResourceUsePreserializedResources attribute as well as a dependency on System.Resources.Exte...
2 followers 3 comments 0 votes