Skip to content

Commit

Permalink
qa: Add NuGet Restore to run create projects.assets.json
Browse files Browse the repository at this point in the history
Using an empty packages.config file
  • Loading branch information
Carsten Igel committed Nov 20, 2024
1 parent 04a9605 commit 4fb3865
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/cppcli/CppLibrary/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<packages />
7 changes: 6 additions & 1 deletion examples/cppcli/scripts/msbuild-acceptance-test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ dotnet add CsLibrary.csproj package --prerelease -s %root%\_packages dSPACE.Runt

dotnet build-server shutdown

msbuild -nodeReuse:False -t:Restore -p:Configuration=Release -p:Platform=x86 ..\CppLibrary\CppLibrary.vcxproj
PUSHD %~dp0\..\CppLibrary

nuget restore -SolutionDirectory ..

POPD

msbuild -nodeReuse:False -t:Restore -p:Configuration=Release -p:Platform=x86 -p:TargetPlatform=net8.0-windows -p:PerformAcceptanceTest=Runtime

dotnet build-server shutdown
Expand Down

0 comments on commit 4fb3865

Please sign in to comment.