feat: Update .gitignore and project file to include TestArtifacts and local CUDA libraries for publish

This commit is contained in:
Maddo 2026-05-24 10:49:41 +02:00
commit 5511817896
3 changed files with 13 additions and 2 deletions

3
.gitignore vendored
View file

@ -256,4 +256,5 @@ paket-files/
.idea/
*.sln.iml
.vscode/settings.json
tmp/**
tmp/**
TestArtifacts/**

View file

@ -11,6 +11,7 @@
}
],
"settings": {
"commentTranslate.hover.enabled": false
"commentTranslate.hover.enabled": false,
"github.copilot.chat.otel.dbSpanExporter.enabled": true
}
}

View file

@ -159,4 +159,13 @@
<Copy SourceFiles="@(LocalCudaInferenceLibrary)" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" Condition="'@(LocalCudaInferenceLibrary)' != ''" />
</Target>
<Target Name="CopyLocalCudaInferenceLibrariesToPublish" AfterTargets="Publish" Condition="$([MSBuild]::IsOsPlatform('Windows')) and '$(UseLocalAIFotoONLUS)' == 'true' and '$(PublishDir)' != ''">
<ItemGroup>
<LocalCudaInferenceLibraryForPublish Include="$(LocalAIFotoOutputDir)\cublasLt64_11.dll" Condition="Exists('$(LocalAIFotoOutputDir)\cublasLt64_11.dll')" />
<LocalCudaInferenceLibraryForPublish Include="$(LocalAIFotoOutputDir)\cudnn_cnn_infer64_8.dll" Condition="Exists('$(LocalAIFotoOutputDir)\cudnn_cnn_infer64_8.dll')" />
</ItemGroup>
<Copy SourceFiles="@(LocalCudaInferenceLibraryForPublish)" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="true" Condition="'@(LocalCudaInferenceLibraryForPublish)' != ''" />
</Target>
</Project>