Skip to content

Commit

Permalink
Manually generate the TestData.resources.
Browse files Browse the repository at this point in the history
The dotnet exec command generated by the msbuild Target had to be manually executed in the cmdline with the target framework folders for RemoteExecutor hardcoded to net7.0-windows so the resources file could be generated.
  • Loading branch information
carlossanlop committed Aug 25, 2022
1 parent 1cffe91 commit 9ce9e1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@
<PackageReference Include="System.ValueTuple" Version="$(SystemValueTupleVersion)" />
</ItemGroup>

<!-- use the following target to regenerate the test resources file
<!-- Use the following target to regenerate the test resources file.
This is done from a test application and checked in so that we don't run
product code during the build.
Important: When invoking this target, pass the target framewok in as well,
i.e.: dotnet build -f net7.0-windows /t:GenerateTestResourcesFile. -->
Important:
When invoking this target, pass the target framework in as well, substituting
the X with the current major version:
dotnet build -f netX.0-windows /t:GenerateTestResourcesFile. -->
<Target Name="GenerateTestResourcesFile">
<PropertyGroup>
<_executor>Microsoft.DotNet.RemoteExecutor.dll</_executor>
Expand Down
Binary file not shown.

0 comments on commit 9ce9e1d

Please sign in to comment.