feat: Update .gitignore and project file to include TestArtifacts and local CUDA libraries for publish
This commit is contained in:
parent
c261557a29
commit
5511817896
3 changed files with 13 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -256,4 +256,5 @@ paket-files/
|
|||
.idea/
|
||||
*.sln.iml
|
||||
.vscode/settings.json
|
||||
tmp/**
|
||||
tmp/**
|
||||
TestArtifacts/**
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
}
|
||||
],
|
||||
"settings": {
|
||||
"commentTranslate.hover.enabled": false
|
||||
"commentTranslate.hover.enabled": false,
|
||||
"github.copilot.chat.otel.dbSpanExporter.enabled": true
|
||||
}
|
||||
}
|
||||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue