mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
build: dotnet: update publisher policy
This commit is contained in:
parent
d9fcc8ca1c
commit
c7ca500dd5
@ -91,14 +91,14 @@
|
|||||||
set MyAssemblyVersion=$(MyAssemblyVersion)
|
set MyAssemblyVersion=$(MyAssemblyVersion)
|
||||||
|
|
||||||
setlocal EnableDelayedExpansion
|
setlocal EnableDelayedExpansion
|
||||||
if exist $(OutDir)winfsp.net.policy.xml del $(OutDir)winfsp.net.policy.xml
|
if exist $(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config del $(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config
|
||||||
for /f "delims=" %25%25l in ($(ProjectDir)winfsp.net.policy.xml) do (
|
for /f "delims=" %25%25l in ($(ProjectDir)winfsp.net.policy.config) do (
|
||||||
set line=%25%25l
|
set line=%25%25l
|
||||||
echo !line! >>$(OutDir)winfsp.net.policy.xml
|
echo !line! >>$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config
|
||||||
)
|
)
|
||||||
|
|
||||||
call "$(DevEnvDir)..\Tools\VsDevCmd.bat"
|
call "$(DevEnvDir)..\Tools\VsDevCmd.bat"
|
||||||
al /link:$(OutDir)winfsp.net.policy.xml /out:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).dll /keyfile:$(ProjectDir)$(ProjectName).snk
|
al /link:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).config /out:$(OutDir)policy.$(MyAssemblyPolicyVersion).$(TargetName).dll /keyfile:$(ProjectDir)$(ProjectName).snk
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
x
Reference in New Issue
Block a user