mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 17:32:44 +08:00
Fix issue with file locking
Calling SetVersion has the side-effect of locking our custom msbuild tasks assembly. So, doing a "SetVersion;Build" doesn't work because "Build" does a "Clean" first. Expose a "BuildWithVersion" target instead. --HG-- branch : dev
This commit is contained in:
@@ -36,6 +36,15 @@
|
||||
<CallTarget Targets="Package"/>
|
||||
</Target>
|
||||
|
||||
<Target Name ="BuildWithVersion">
|
||||
<CallTarget Targets="Clean"/>
|
||||
<CallTarget Targets="SetVersion"/>
|
||||
<CallTarget Targets="Compile"/>
|
||||
<CallTarget Targets="Test"/>
|
||||
<CallTarget Targets="Package"/>
|
||||
</Target>
|
||||
|
||||
|
||||
<Target Name="Package">
|
||||
<CallTarget Targets="Package-Stage"/>
|
||||
<CallTarget Targets="Package-MsDeploy"/>
|
||||
|
||||
Reference in New Issue
Block a user