Skip to content

Commit 7b6a545

Browse files
authored
fix issue #497 (#509)
fix #497
1 parent 0aceeb9 commit 7b6a545

12 files changed

Lines changed: 48 additions & 0 deletions

File tree

samples/cs/GettingStarted/cross-platform/AudioTranscriptionExample/AudioTranscriptionExample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
11+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
12+
</PropertyGroup>
13+
1014
<!-- Include the main program -->
1115
<ItemGroup>
1216
<Compile Include="../../src/AudioTranscriptionExample/*.cs" />

samples/cs/GettingStarted/cross-platform/FoundryLocalWebServer/FoundryLocalWebServer.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
11+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
12+
</PropertyGroup>
13+
1014
<!-- Include the main program -->
1115
<ItemGroup>
1216
<Compile Include="../../src/FoundryLocalWebServer/*.cs" />

samples/cs/GettingStarted/cross-platform/HelloFoundryLocalSdk/HelloFoundryLocalSdk.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
11+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
12+
</PropertyGroup>
13+
1014
<!-- Include the main program -->
1115
<ItemGroup>
1216
<Compile Include="../../src/HelloFoundryLocalSdk/*.cs" />

samples/cs/GettingStarted/cross-platform/ModelManagementExample/ModelManagementExample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
11+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
12+
</PropertyGroup>
13+
1014
<!-- Include the main program -->
1115
<ItemGroup>
1216
<Compile Include="../../src/ModelManagementExample/*.cs" />

samples/cs/GettingStarted/cross-platform/ToolCallingFoundryLocalSdk/ToolCallingFoundryLocalSdk.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
11+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
12+
</PropertyGroup>
13+
1014
<!-- Include the main program -->
1115
<ItemGroup>
1216
<Compile Include="../../src/ToolCallingFoundryLocalSdk/*.cs" />

samples/cs/GettingStarted/cross-platform/ToolCallingFoundryLocalWebServer/ToolCallingFoundryLocalWebServer.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

10+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
11+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
12+
</PropertyGroup>
13+
1014
<!-- Include the main program -->
1115
<ItemGroup>
1216
<Compile Include="../../src/ToolCallingFoundryLocalWebServer/*.cs" />

samples/cs/GettingStarted/windows/AudioTranscriptionExample/AudioTranscriptionExample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<EnableCoreMrtTooling>false</EnableCoreMrtTooling>
1313
</PropertyGroup>
1414

15+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
16+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
17+
</PropertyGroup>
18+
1519
<ItemGroup>
1620
<Compile Include="../../src/AudioTranscriptionExample/*.cs" />
1721
<Compile Include="../../src/Shared/*.cs" />

samples/cs/GettingStarted/windows/FoundryLocalWebServer/FoundryLocalWebServer.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<EnableCoreMrtTooling>false</EnableCoreMrtTooling>
1313
</PropertyGroup>
1414

15+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
16+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
17+
</PropertyGroup>
18+
1519
<ItemGroup>
1620
<Compile Include="../../src/FoundryLocalWebServer/*.cs" />
1721
<Compile Include="../../src/Shared/*.cs" />

samples/cs/GettingStarted/windows/HelloFoundryLocalSdk/HelloFoundryLocalSdk.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<EnableCoreMrtTooling>false</EnableCoreMrtTooling>
1313
</PropertyGroup>
1414

15+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
16+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
17+
</PropertyGroup>
18+
1519
<ItemGroup>
1620
<Compile Include="../../src/HelloFoundryLocalSdk/Program.cs" />
1721
<Compile Include="../../src/Shared/*.cs" />

samples/cs/GettingStarted/windows/ModelManagementExample/ModelManagementExample.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<EnableCoreMrtTooling>false</EnableCoreMrtTooling>
1313
</PropertyGroup>
1414

15+
<PropertyGroup Condition="'$(RuntimeIdentifier)'==''">
16+
<RuntimeIdentifier>$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
17+
</PropertyGroup>
18+
1519
<ItemGroup>
1620
<Compile Include="../../src/ModelManagementExample/Program.cs" />
1721
<Compile Include="../../src/Shared/*.cs" />

0 commit comments

Comments
 (0)