mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tools: build.bat: dotnet build
This commit is contained in:
parent
3d2ba637e5
commit
7c3292af81
@ -57,13 +57,6 @@ if X%SignedPackage%==X (
|
|||||||
if exist build\ for /R build\ %%d in (%Configuration%) do (
|
if exist build\ for /R build\ %%d in (%Configuration%) do (
|
||||||
if exist "%%d" rmdir /s/q "%%d"
|
if exist "%%d" rmdir /s/q "%%d"
|
||||||
)
|
)
|
||||||
|
|
||||||
if X%UseDotnetSdk%==Xyes (
|
|
||||||
dotnet build ./dotnet/ -c "%Configuration%" -p:SolutionDir=..\
|
|
||||||
if errorlevel 1 goto fail
|
|
||||||
dotnet build ./testing/memfs-dotnet.csproj -c "%Configuration%" -p:SolutionDir=..\
|
|
||||||
if errorlevel 1 goto fail
|
|
||||||
)
|
|
||||||
|
|
||||||
if X%BuildArm64%==Xyes (
|
if X%BuildArm64%==Xyes (
|
||||||
devenv winfsp.sln /build "%Configuration%|ARM64"
|
devenv winfsp.sln /build "%Configuration%|ARM64"
|
||||||
@ -78,6 +71,13 @@ if X%SignedPackage%==X (
|
|||||||
if errorlevel 1 goto fail
|
if errorlevel 1 goto fail
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if X%UseDotnetSdk%==Xyes (
|
||||||
|
dotnet build ./dotnet/winfsp.net.csproj -c "%Configuration%" -p:Platform=AnyCPU -p:SolutionDir="%cd%"\
|
||||||
|
if errorlevel 1 goto fail
|
||||||
|
dotnet build ./testing/memfs-dotnet.csproj -c "%Configuration%" -p:Platform=AnyCPU -p:SolutionDir="%cd%"\
|
||||||
|
if errorlevel 1 goto fail
|
||||||
|
)
|
||||||
|
|
||||||
pushd build\%Configuration%
|
pushd build\%Configuration%
|
||||||
set signfiles=^
|
set signfiles=^
|
||||||
%MyProductFileName%-a64.sys %MyProductFileName%-x64.sys %MyProductFileName%-x86.sys^
|
%MyProductFileName%-a64.sys %MyProductFileName%-x64.sys %MyProductFileName%-x86.sys^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user