cmake(dotnet): Fix Sample and Test csproj.in
Now correctly use the copied .cs file instead of the original one. Which means hacking the `<CMAKE_BINARY_DIR>/dotnet/<component>/<sample>/<sample>.cs` then running `dotnet build` behave as expected...
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="@SAMPLE_FILE_NAME@" />
|
||||
<Compile Include="@SAMPLE_NAME@.cs" />
|
||||
<PackageReference Include="@DOTNET_PROJECT@" Version="@PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.*" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="@TEST_FILE_NAME@" />
|
||||
<Compile Include="@TEST_NAME@.cs" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
|
||||
<PackageReference Include="xunit" Version="2.8.2" />
|
||||
<PackageReference Include="xunit.runner.console" Version="2.8.2" />
|
||||
|
||||
Reference in New Issue
Block a user