File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed
examples/c-sharp-examples Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -204,9 +204,6 @@ jobs:
204204
205205 - name : Build NuGet package
206206 run : nuget.exe pack Package.nuspec -OutputFileNamesWithoutVersion
207-
208- - name : Build .NET examples
209- run : msbuild -m source\examples\c-sharp-examples\c-sharp-examples.sln -p:Configuration=${{ matrix.config }}
210207
211208 - name : Upload NuGet Package
212209 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ jobs:
164164 - name : Build .NET
165165 if : matrix.runner == 'windows-2022'
166166 run : msbuild -m source\MeshLibDotNet.sln -p:Configuration=${{ matrix.config }}
167+
168+ - name : Build .NET examples
169+ run : msbuild -m source\examples\c-sharp-examples\c-sharp-examples.sln -p:Configuration=${{ matrix.config }}
167170
168171 - name : Build MRBind
169172 if : ${{inputs.mrbind}}
Original file line number Diff line number Diff line change 66 <RootNamespace >c_sharp_examples</RootNamespace >
77 <ImplicitUsings >enable</ImplicitUsings >
88 <Nullable >enable</Nullable >
9- <Platforms >AnyCPU;x64</Platforms >
10- <RestoreAdditionalProjectSources >
11- $(MSBuildThisFileDirectory)/../../
12- </RestoreAdditionalProjectSources >
9+ <Platforms >x64</Platforms >
10+ <BaseOutputPath >..\..\source</BaseOutputPath >
11+ </PropertyGroup >
12+
13+ <PropertyGroup >
14+ <AppendTargetFrameworkToOutputPath >false</AppendTargetFrameworkToOutputPath >
15+ <AppendRuntimeIdentifierToOutputPath >false</AppendRuntimeIdentifierToOutputPath >
16+ </PropertyGroup >
17+
18+ <PropertyGroup >
19+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
20+ <GenerateTargetFrameworkAttribute >false</GenerateTargetFrameworkAttribute >
21+ <PlatformTarget >x64</PlatformTarget >
22+ <Nullable >enable</Nullable >
1323 </PropertyGroup >
1424
1525 <ItemGroup >
16- <PackageReference Include =" MeshLib" Version =" *-*" />
26+ <Reference Include =" MRDotNet" >
27+ <HintPath >..\..\source\x64\Release\MRDotNet.dll</HintPath >
28+ </Reference >
1729 </ItemGroup >
1830
1931</Project >
You can’t perform that action at this time.
0 commit comments