Skip to content

Commit

Permalink
Added mkdir for ObfuscatedDir
Browse files Browse the repository at this point in the history
  • Loading branch information
seayxu committed Dec 20, 2023
1 parent 9f8a105 commit bfc5154
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion samples/ClassLibrarySample/ClassLibrarySample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Hsu.Obfuscar.DotNetTool" Version="2023.412.14">
<PackageReference Include="Hsu.Obfuscar.DotNetTool" Version="2023.412.20-rc203929">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion samples/ConsoleSample/ConsoleSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Hsu.Obfuscar.DotNetTool" Version="2023.412.14">
<PackageReference Include="Hsu.Obfuscar.DotNetTool" Version="2023.412.20-rc203929">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</ObfuscarAssembliesIncludeContent>
</PropertyGroup>
<PropertyGroup Condition="'$(ObfuscarAssembliesInclude)' != 'true'">
<ObfuscarAssembliesIncludeContent></ObfuscarAssembliesIncludeContent>
<ObfuscarAssembliesIncludeContent />
</PropertyGroup>

<PropertyGroup>
Expand Down Expand Up @@ -176,10 +176,13 @@
SourceFiles="$(ObfuscarConfigPath)"
DestinationFiles="$(OutputPath)\$(ObfuscarConfigName)"
SkipUnchangedFiles="true"/>

<MakeDir
Condition="!Exists('$(OutputPath)$(ObfuscatedDir)')"
Directories="$(OutputPath)$(ObfuscatedDir)" />

<Exec
Condition="$(ObfuscarGlobalToolExists) == 1 or $(ObfuscarGlobalToolExists) == 0"
WorkingDirectory="$(OutputPath)"
Condition="$(ObfuscarGlobalToolExists) == 1 or $(ObfuscarGlobalToolExists) == 0"
WorkingDirectory="$(OutputPath)"
Command="$(ObfuscateCommand)"/>

<ItemGroup>
Expand Down

0 comments on commit bfc5154

Please sign in to comment.