Guest User

Untitled

a guest
Aug 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. VisualStudio SQL database project sqlcmdvars TFS deployment override custom File path?
  2. <?xml version="1.0" encoding="utf-8"?>
  3. <SqlCommandVariables xmlns="urn:Microsoft.VisualStudio.Data.Schema.Package.SqlCmdVars">
  4. <Version>1.0</Version>
  5. <Properties>
  6. <Property>
  7. <PropertyName>Path1</PropertyName>
  8. <PropertyValue>C:SQLSERVER LOG$(DatabaseName)</PropertyValue>
  9. </Property>
  10. <Property>
  11. <PropertyName>Path2</PropertyName>
  12. <PropertyValue>C:SQLSERVER DATA$(DatabaseName)</PropertyValue>
  13. </Property>
  14. </Properties>
  15. </SqlCommandVariables>
  16.  
  17. <Property>
  18. <PropertyName>PathBlobStream</PropertyName>
  19. <PropertyValue>C:SQLSERVER DATA$(DatabaseName)BlobStream</PropertyValue>
  20. </Property>
  21.  
  22. ALTER DATABASE [$(DatabaseName)]
  23. ADD FILE (NAME = [BlobStore], FILENAME = 'C:SQLSERVER DATA####BlobStream') TO FILEGROUP [BlobStreamFileGroup];
  24.  
  25. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  26. <Build Include="Schema ObjectsDatabase Level ObjectsStorageFilesBlobStore.sqlfile.sql">
  27. <SubType>Code</SubType>
  28. </Build>
  29. </ItemGroup>
  30. <ItemGroup Condition=" '$(Configuration)' == 'Internal' ">
  31. <Build Include="Schema ObjectsDatabase Level ObjectsStorageFilesBlobStore.sqlfile.Internal.sql">
  32. <SubType>Code</SubType>
  33. </Build>
  34. </ItemGroup>
Add Comment
Please, Sign In to add comment