7 lines
370 B
Batchfile
7 lines
370 B
Batchfile
@echo off
|
|
set TargetFramework=%1
|
|
set ProjectName=%2
|
|
|
|
dotnet pack "%ProjectName%.Package.csproj" -p:NuspecFile="%ProjectName%.nuspec" -p:NuspecProperties="targetframework=%TargetFramework%;projectname=%ProjectName%" --no-build -o .
|
|
del "..\..\oqtane.framework\Oqtane.Server\Packages\%ProjectName%.*.nupkg"
|
|
xcopy /Y *.nupkg "..\..\oqtane.framework\Oqtane.Server\Packages\" |