Skip to content

Instantly share code, notes, and snippets.

@benvillalobos
Last active July 5, 2022 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benvillalobos/e5336491e683b87e7ec2a5322f58dfbe to your computer and use it in GitHub Desktop.
Save benvillalobos/e5336491e683b87e7ec2a5322f58dfbe to your computer and use it in GitHub Desktop.
sdk properties for build outputs: the canonical ones for exe's and dll's

The Output Dll (regular builds)

$(TargetPath) The full path to the main dll $(TargetFileName) (TargetPath without the path) `$()

The Output Exe (apphost)

$(TargetDir)$(AssemblyName)$(_NativeExecutableExtension) is the canonical construction of the shipping executable. Verified this in a build using /p: SelfContained=true. Crtl+f through SDK targets for <RunCommand, which was suggested to me as the canonical way the SDK constructs it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment