diff --git a/MetadataTranslator/Metadata Translator Setup/Metadata Translator Setup.vdproj b/MetadataTranslator/Metadata Translator Setup/Metadata Translator Setup.vdproj new file mode 100644 index 0000000..a38cce5 --- /dev/null +++ b/MetadataTranslator/Metadata Translator Setup/Metadata Translator Setup.vdproj @@ -0,0 +1,1157 @@ +"DeployProject" +{ +"VSVersion" = "3:800" +"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" +"IsWebType" = "8:FALSE" +"ProjectName" = "8:Metadata Translator Setup" +"LanguageId" = "3:1033" +"CodePage" = "3:1252" +"UILanguageId" = "3:1033" +"SccProjectName" = "8:" +"SccLocalPath" = "8:" +"SccAuxPath" = "8:" +"SccProvider" = "8:" + "Hierarchy" + { + "Entry" + { + "MsmKey" = "8:_0635D5A6F23DB1379A0FD91FF1B01507" + "OwnerKey" = "8:_7C7487CE661C4E1E5239FB4306E0749B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0635D5A6F23DB1379A0FD91FF1B01507" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_0635D5A6F23DB1379A0FD91FF1B01507" + "OwnerKey" = "8:_C48ECEE77D85A17550522737B8522D2B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_2F1DB028FE734DBD9E77D9DCA191FAD1" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_441D4DFF8EBA539070D14AA52B77A767" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_4DD4143C26C54926A2B59FBC551F160A" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7C7487CE661C4E1E5239FB4306E0749B" + "OwnerKey" = "8:_C48ECEE77D85A17550522737B8522D2B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_7C7487CE661C4E1E5239FB4306E0749B" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_905A4AA564BAC6CC36A45AEE36EFE2FD" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_905A4AA564BAC6CC36A45AEE36EFE2FD" + "OwnerKey" = "8:_7C7487CE661C4E1E5239FB4306E0749B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_905A4AA564BAC6CC36A45AEE36EFE2FD" + "OwnerKey" = "8:_C48ECEE77D85A17550522737B8522D2B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A00C4C4DA66740A385AE811FF37BAA77" + "OwnerKey" = "8:_UNDEFINED" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A1F0AFE5FCA14283B33A21CAC42178E4" + "OwnerKey" = "8:_C0C5DE7473DD8B2395E58F2E339A1AF1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A1F0AFE5FCA14283B33A21CAC42178E4" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_A1F0AFE5FCA14283B33A21CAC42178E4" + "OwnerKey" = "8:_905A4AA564BAC6CC36A45AEE36EFE2FD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C0C5DE7473DD8B2395E58F2E339A1AF1" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_C48ECEE77D85A17550522737B8522D2B" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_441D4DFF8EBA539070D14AA52B77A767" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_C48ECEE77D85A17550522737B8522D2B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_7C7487CE661C4E1E5239FB4306E0749B" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_0635D5A6F23DB1379A0FD91FF1B01507" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_905A4AA564BAC6CC36A45AEE36EFE2FD" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_C0C5DE7473DD8B2395E58F2E339A1AF1" + "MsmSig" = "8:_UNDEFINED" + } + "Entry" + { + "MsmKey" = "8:_UNDEFINED" + "OwnerKey" = "8:_A1F0AFE5FCA14283B33A21CAC42178E4" + "MsmSig" = "8:_UNDEFINED" + } + } + "Configurations" + { + "Debug" + { + "DisplayName" = "8:Debug" + "IsDebugOnly" = "11:TRUE" + "IsReleaseOnly" = "11:FALSE" + "OutputFilename" = "8:Debug\\Metadata Translator Setup.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + } + "Release" + { + "DisplayName" = "8:Release" + "IsDebugOnly" = "11:FALSE" + "IsReleaseOnly" = "11:TRUE" + "OutputFilename" = "8:Release\\Metadata Translator x86.msi" + "PackageFilesAs" = "3:2" + "PackageFileSize" = "3:-2147483648" + "CabType" = "3:1" + "Compression" = "3:2" + "SignOutput" = "11:FALSE" + "CertificateFile" = "8:" + "PrivateKeyFile" = "8:" + "TimeStampServer" = "8:" + "InstallerBootstrapper" = "3:2" + } + } + "Deployable" + { + "CustomAction" + { + "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_2C34E48AE6954790A87B87C83C3B6141" + { + "Name" = "8:Primary output from Metadata Translator (Active)" + "Condition" = "8:" + "Object" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "FileType" = "3:2" + "InstallAction" = "3:1" + "Arguments" = "8:" + "EntryPoint" = "8:" + "Sequence" = "3:1" + "Identifier" = "8:_5FA2B0FF_8A4A_482C_9229_1712B3A4403F" + "InstallerClass" = "11:TRUE" + "CustomActionData" = "8:" + } + "{4AA51A2D-7D85-4A59-BA75-B0809FC8B380}:_E30CC67BF42A4042BECEC05C4996DAB7" + { + "Name" = "8:Primary output from Metadata Translator (Active)" + "Condition" = "8:" + "Object" = "8:_5EE4AF833E364CBAB977AFCB8CD5E99D" + "FileType" = "3:2" + "InstallAction" = "3:4" + "Arguments" = "8:" + "EntryPoint" = "8:" + "Sequence" = "3:1" + "Identifier" = "8:_5E0EBF64_2328_425A_8AFC_EAC7F277C7F1" + "InstallerClass" = "11:TRUE" + "CustomActionData" = "8:" + } + } + "DefaultFeature" + { + "Name" = "8:DefaultFeature" + "Title" = "8:" + "Description" = "8:" + } + "ExternalPersistence" + { + "LaunchCondition" + { + "{A06ECF26-33A3-4562-8140-9B0E340D4F24}:_8AA2B2E962F244F1B61E6A889F9C872D" + { + "Name" = "8:.NET Framework" + "Message" = "8:[VSDNETMSG]" + "FrameworkVersion" = "8:.NETFramework,Version=v4.7.2" + "AllowLaterVersions" = "11:FALSE" + "InstallUrl" = "8:http://go.microsoft.com/fwlink/?LinkId=863262" + } + } + } + "File" + { + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_0635D5A6F23DB1379A0FD91FF1B01507" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.AnalysisServices.Tabular.Json, Version=19.16.3.4, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_0635D5A6F23DB1379A0FD91FF1B01507" + { + "Name" = "8:Microsoft.AnalysisServices.Tabular.Json.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.AnalysisServices.Tabular.Json.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2F1DB028FE734DBD9E77D9DCA191FAD1" + { + "SourcePath" = "8:..\\Metadata Translator\\metadata-translator.pbitool.json" + "TargetName" = "8:metadata-translator.pbitool.json" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_441D4DFF8EBA539070D14AA52B77A767" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" + "ScatterAssemblies" + { + "_441D4DFF8EBA539070D14AA52B77A767" + { + "Name" = "8:System.Net.Http.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:System.Net.Http.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4DD4143C26C54926A2B59FBC551F160A" + { + "SourcePath" = "8:..\\Metadata Translator\\Resources\\supportedlanguages.json" + "TargetName" = "8:supportedlanguages.json" + "Tag" = "8:" + "Folder" = "8:_B58920A79D7F4ECFB278D11291BCEBBB" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_7C7487CE661C4E1E5239FB4306E0749B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.AnalysisServices.Tabular, Version=19.16.3.4, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_7C7487CE661C4E1E5239FB4306E0749B" + { + "Name" = "8:Microsoft.AnalysisServices.Tabular.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.AnalysisServices.Tabular.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_905A4AA564BAC6CC36A45AEE36EFE2FD" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.AnalysisServices.Core, Version=19.16.3.4, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_905A4AA564BAC6CC36A45AEE36EFE2FD" + { + "Name" = "8:Microsoft.AnalysisServices.Core.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.AnalysisServices.Core.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A00C4C4DA66740A385AE811FF37BAA77" + { + "SourcePath" = "8:..\\Metadata Translator\\icon.ico" + "TargetName" = "8:icon.ico" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_A1F0AFE5FCA14283B33A21CAC42178E4" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.AnalysisServices.SPClient.Interfaces, Version=19.16.3.4, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_A1F0AFE5FCA14283B33A21CAC42178E4" + { + "Name" = "8:Microsoft.AnalysisServices.SPClient.Interfaces.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.AnalysisServices.SPClient.Interfaces.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C0C5DE7473DD8B2395E58F2E339A1AF1" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.AnalysisServices.AdomdClient, Version=19.16.3.4, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C0C5DE7473DD8B2395E58F2E339A1AF1" + { + "Name" = "8:Microsoft.AnalysisServices.AdomdClient.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.AnalysisServices.AdomdClient.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + "{9F6F8455-1EF1-4B85-886A-4223BCC8E7F7}:_C48ECEE77D85A17550522737B8522D2B" + { + "AssemblyRegister" = "3:1" + "AssemblyIsInGAC" = "11:FALSE" + "AssemblyAsmDisplayName" = "8:Microsoft.AnalysisServices, Version=19.16.3.4, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" + "ScatterAssemblies" + { + "_C48ECEE77D85A17550522737B8522D2B" + { + "Name" = "8:Microsoft.AnalysisServices.dll" + "Attributes" = "3:512" + } + } + "SourcePath" = "8:Microsoft.AnalysisServices.dll" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:TRUE" + "IsolateTo" = "8:" + } + } + "FileType" + { + } + "Folder" + { + "{1525181F-901A-416C-8A58-119130FE478E}:_50D538C6BF8441F883642D01FCD5AEB3" + { + "Name" = "8:#1919" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:ProgramMenuFolder" + "Folders" + { + } + } + "{1525181F-901A-416C-8A58-119130FE478E}:_6EFB76AEFB2B461AB66FCC0E49CD2207" + { + "Name" = "8:#1916" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:DesktopFolder" + "Folders" + { + } + } + "{3C67513D-01DD-4637-8A68-80971EB9504F}:_E31DB11D2BA64930BBAB95E69D1A099C" + { + "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]" + "Name" = "8:#1925" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:TARGETDIR" + "Folders" + { + "{9EF0B969-E518-4E46-987F-47570745A589}:_B58920A79D7F4ECFB278D11291BCEBBB" + { + "Name" = "8:Resources" + "AlwaysCreate" = "11:FALSE" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Property" = "8:_FAA3AC1E691E4032B2BE7B01A7BAE0B2" + "Folders" + { + } + } + } + } + } + "LaunchCondition" + { + } + "Locator" + { + } + "MsiBootstrapper" + { + "LangId" = "3:1033" + "RequiresElevation" = "11:FALSE" + } + "Product" + { + "Name" = "8:Microsoft Visual Studio" + "ProductName" = "8:Metadata Translator" + "ProductCode" = "8:{01D7B887-BCC7-4729-9C57-BAE151B6CCC5}" + "PackageCode" = "8:{9915492B-B895-4603-BD96-A379AFDD7089}" + "UpgradeCode" = "8:{67E5697C-787F-4F4D-A7B8-C0C2CB4392DD}" + "AspNetVersion" = "8:4.0.30319.0" + "RestartWWWService" = "11:FALSE" + "RemovePreviousVersions" = "11:FALSE" + "DetectNewerInstalledVersion" = "11:TRUE" + "InstallAllUsers" = "11:TRUE" + "ProductVersion" = "8:1.0.0" + "Manufacturer" = "8:Analysis Services Samples" + "ARPHELPTELEPHONE" = "8:" + "ARPHELPLINK" = "8:" + "Title" = "8:Metadata Translator Setup" + "Subject" = "8:" + "ARPCONTACT" = "8:Kay Unkroth" + "Keywords" = "8:Metadata, Translation, Power BI, Azure Cognitive Services" + "ARPCOMMENTS" = "8:Metadata Translator can translate the names and descriptions of the metadata objects in your semantic model by using Azure Cognitive Services." + "ARPURLINFOABOUT" = "8:https://github.com/Microsoft/analysis-services" + "ARPPRODUCTICON" = "8:_A00C4C4DA66740A385AE811FF37BAA77" + "ARPIconIndex" = "3:0" + "SearchPath" = "8:" + "UseSystemSearchPath" = "11:TRUE" + "TargetPlatform" = "3:0" + "PreBuildEvent" = "8:" + "PostBuildEvent" = "8:" + "RunPostBuildEvent" = "3:0" + } + "Registry" + { + "HKLM" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_D7D41309A07C4A668200D9B863ADEE00" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_03975696FE60414C86BE7A66C5CBC1B4" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCU" + { + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_7C0704A49C564C5FBEB0AD7C80732F51" + { + "Name" = "8:Software" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_96F2E6D56F5F4AEE8304513B8385E6AC" + { + "Name" = "8:[Manufacturer]" + "Condition" = "8:" + "AlwaysCreate" = "11:FALSE" + "DeleteAtUninstall" = "11:FALSE" + "Transitive" = "11:FALSE" + "Keys" + { + } + "Values" + { + } + } + } + "Values" + { + } + } + } + } + "HKCR" + { + "Keys" + { + } + } + "HKU" + { + "Keys" + { + } + } + "HKPU" + { + "Keys" + { + } + } + } + "Sequences" + { + } + "Shortcut" + { + } + "UserInterface" + { + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_09003F210C804B6FA4C5A9B160660210" + { + "Name" = "8:#1901" + "Sequence" = "3:2" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_16811BD769ED491DAF196869AFD7E027" + { + "Sequence" = "3:100" + "DisplayName" = "8:Progress" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_1088105BCC5945EEB37AFF0AFF0C4CC6" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdUserInterface.wim" + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_15845F5C68984FB8A71A8575B2ECF1C1" + { + "Name" = "8:#1901" + "Sequence" = "3:1" + "Attributes" = "3:2" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_9F10CB16426C40D6A8B36E740EAE7BFD" + { + "Sequence" = "3:100" + "DisplayName" = "8:Progress" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdProgressDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "ShowProgress" + { + "Name" = "8:ShowProgress" + "DisplayName" = "8:#1009" + "Description" = "8:#1109" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_41B8F885DFCE440C92FA5B391FB630F6" + { + "Name" = "8:#1900" + "Sequence" = "3:2" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0D391AF53FAF4A6CA251244400A2F33C" + { + "Sequence" = "3:300" + "DisplayName" = "8:Confirm Installation" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_1EDB01EE569149C2ABFFE4DA2757FB5C" + { + "Sequence" = "3:200" + "DisplayName" = "8:Installation Folder" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_85EAE7018C054FABB4596D7E309A5262" + { + "Sequence" = "3:100" + "DisplayName" = "8:Welcome" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_538BB9E3DFB741609085384AE5795C3C" + { + "Name" = "8:#1902" + "Sequence" = "3:1" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_CA924473681444A89A49D51D2E53908B" + { + "Sequence" = "3:100" + "DisplayName" = "8:Finished" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "UpdateText" + { + "Name" = "8:UpdateText" + "DisplayName" = "8:#1058" + "Description" = "8:#1158" + "Type" = "3:15" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1258" + "DefaultValue" = "8:#1258" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_777D8B788F2942718B065E5C46C10CD7" + { + "Name" = "8:#1900" + "Sequence" = "3:1" + "Attributes" = "3:1" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_357D60EBE924490BAA6BE1F1D251E51C" + { + "Sequence" = "3:200" + "DisplayName" = "8:Installation Folder" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdFolderDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "InstallAllUsersVisible" + { + "Name" = "8:InstallAllUsersVisible" + "DisplayName" = "8:#1059" + "Description" = "8:#1159" + "Type" = "3:5" + "ContextData" = "8:1;True=1;False=0" + "Attributes" = "3:0" + "Setting" = "3:0" + "Value" = "3:1" + "DefaultValue" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_56063236D91C4FF1895700BD03750C4F" + { + "Sequence" = "3:300" + "DisplayName" = "8:Confirm Installation" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdConfirmDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_B71FBCECADEC4E73ADE13F0DCF6D5EB3" + { + "Sequence" = "3:100" + "DisplayName" = "8:Welcome" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdWelcomeDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + "CopyrightWarning" + { + "Name" = "8:CopyrightWarning" + "DisplayName" = "8:#1002" + "Description" = "8:#1102" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1202" + "DefaultValue" = "8:#1202" + "UsePlugInResources" = "11:TRUE" + } + "Welcome" + { + "Name" = "8:Welcome" + "DisplayName" = "8:#1003" + "Description" = "8:#1103" + "Type" = "3:3" + "ContextData" = "8:" + "Attributes" = "3:0" + "Setting" = "3:1" + "Value" = "8:#1203" + "DefaultValue" = "8:#1203" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_DB9992FAA9334AEAA7EC2D20A38C045B" + { + "Name" = "8:#1902" + "Sequence" = "3:2" + "Attributes" = "3:3" + "Dialogs" + { + "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_0622BCDDFC264266861F06498C4DA298" + { + "Sequence" = "3:100" + "DisplayName" = "8:Finished" + "UseDynamicProperties" = "11:TRUE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" + "Properties" + { + "BannerBitmap" + { + "Name" = "8:BannerBitmap" + "DisplayName" = "8:#1001" + "Description" = "8:#1101" + "Type" = "3:8" + "ContextData" = "8:Bitmap" + "Attributes" = "3:4" + "Setting" = "3:1" + "UsePlugInResources" = "11:TRUE" + } + } + } + } + } + "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_FB8DB1E4746043989F7A2717AC661CDF" + { + "UseDynamicProperties" = "11:FALSE" + "IsDependency" = "11:FALSE" + "SourcePath" = "8:\\VsdBasicDialogs.wim" + } + } + "MergeModule" + { + } + "ProjectOutput" + { + "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_5EE4AF833E364CBAB977AFCB8CD5E99D" + { + "SourcePath" = "8:..\\Metadata Translator\\obj\\Release\\Metadata Translator.exe" + "TargetName" = "8:" + "Tag" = "8:" + "Folder" = "8:_E31DB11D2BA64930BBAB95E69D1A099C" + "Condition" = "8:" + "Transitive" = "11:FALSE" + "Vital" = "11:TRUE" + "ReadOnly" = "11:FALSE" + "Hidden" = "11:FALSE" + "System" = "11:FALSE" + "Permanent" = "11:FALSE" + "SharedLegacy" = "11:FALSE" + "PackageAs" = "3:1" + "Register" = "3:1" + "Exclude" = "11:FALSE" + "IsDependency" = "11:FALSE" + "IsolateTo" = "8:" + "ProjectOutputGroupRegister" = "3:1" + "OutputConfiguration" = "8:" + "OutputGroupCanonicalName" = "8:Built" + "OutputProjectGuid" = "8:{CB7D493C-B67E-4438-B304-EFE5D418ADDF}" + "ShowKeyOutput" = "11:TRUE" + "ExcludeFilters" + { + } + } + } + } +} diff --git a/MetadataTranslator/Metadata Translator.sln b/MetadataTranslator/Metadata Translator.sln index 2c72677..350f1eb 100644 --- a/MetadataTranslator/Metadata Translator.sln +++ b/MetadataTranslator/Metadata Translator.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.30907.101 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Metadata Translator", "Metadata Translator\Metadata Translator.csproj", "{CB7D493C-B67E-4438-B304-EFE5D418ADDF}" EndProject +Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Metadata Translator Setup", "Metadata Translator Setup\Metadata Translator Setup.vdproj", "{FC353DA7-B669-4EDF-B465-CB9827C7F035}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,8 @@ Global {CB7D493C-B67E-4438-B304-EFE5D418ADDF}.Debug|Any CPU.Build.0 = Debug|Any CPU {CB7D493C-B67E-4438-B304-EFE5D418ADDF}.Release|Any CPU.ActiveCfg = Release|Any CPU {CB7D493C-B67E-4438-B304-EFE5D418ADDF}.Release|Any CPU.Build.0 = Release|Any CPU + {FC353DA7-B669-4EDF-B465-CB9827C7F035}.Debug|Any CPU.ActiveCfg = Debug + {FC353DA7-B669-4EDF-B465-CB9827C7F035}.Release|Any CPU.ActiveCfg = Release EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/MetadataTranslator/Metadata Translator/App.config b/MetadataTranslator/Metadata Translator/App.config index 1e2eb3b..511e16c 100644 --- a/MetadataTranslator/Metadata Translator/App.config +++ b/MetadataTranslator/Metadata Translator/App.config @@ -1,13 +1,30 @@ - + - - - - - - - - - - + + +
+ + + + + + + + + + + + https://api.cognitive.microsofttranslator.com/ + + + + + + False + + + + + + \ No newline at end of file diff --git a/MetadataTranslator/Metadata Translator/Installer1.Designer.cs b/MetadataTranslator/Metadata Translator/Installer1.Designer.cs new file mode 100644 index 0000000..febce62 --- /dev/null +++ b/MetadataTranslator/Metadata Translator/Installer1.Designer.cs @@ -0,0 +1,37 @@ + +namespace Metadata_Translator +{ + partial class Installer1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + components = new System.ComponentModel.Container(); + } + + #endregion + } +} \ No newline at end of file diff --git a/MetadataTranslator/Metadata Translator/Installer1.cs b/MetadataTranslator/Metadata Translator/Installer1.cs new file mode 100644 index 0000000..42166e1 --- /dev/null +++ b/MetadataTranslator/Metadata Translator/Installer1.cs @@ -0,0 +1,59 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.Configuration.Install; +using System.Linq; +using System.Threading.Tasks; +using System.Diagnostics; +using System.Security.Permissions; +using System.Windows; +using System.IO; + +namespace Metadata_Translator +{ + [RunInstaller(true)] + public partial class Installer1 : System.Configuration.Install.Installer + { + public Installer1() + { + InitializeComponent(); + } + + [SecurityPermission(SecurityAction.Demand)] + public override void Commit(System.Collections.IDictionary savedState) + { + base.Commit(savedState); + MessageBox.Show("Commit"); + } + + [SecurityPermission(SecurityAction.Demand)] + public override void Install(System.Collections.IDictionary stateSaver) + { + base.Install(stateSaver); + + string exeName = Context.Parameters["assemblypath"]; + string appDir = Path.GetDirectoryName(exeName); + string pbiSharedDir = Environment.ExpandEnvironmentVariables(@"%CommonProgramFiles%\microsoft shared\Power BI Desktop\External Tools\"); + string pbiToolsJsonTemplate = $"{appDir}\\metadata-translator.pbitool.json"; + if (File.Exists(pbiToolsJsonTemplate)) + { + string pbiToolsJson = File.ReadAllText(pbiToolsJsonTemplate).Replace("", exeName.Replace("\\", "\\\\")); + File.WriteAllText($"{pbiSharedDir}\\metadata-translator.pbitool.json", pbiToolsJson); + } + } + + [SecurityPermission(SecurityAction.Demand)] + public override void Uninstall(System.Collections.IDictionary savedState) + { + base.Uninstall(savedState); + + string pbiSharedDir = Environment.ExpandEnvironmentVariables(@"%CommonProgramFiles%\microsoft shared\Power BI Desktop\External Tools\"); + string pbiToolFile = $"{pbiSharedDir}\\metadata-translator.pbitool.json"; + if (File.Exists(pbiToolFile)) + { + File.Delete(pbiToolFile); + } + } + } +} diff --git a/MetadataTranslator/Metadata Translator/Metadata Translator.csproj b/MetadataTranslator/Metadata Translator/Metadata Translator.csproj index 29a02c3..ea88ec5 100644 --- a/MetadataTranslator/Metadata Translator/Metadata Translator.csproj +++ b/MetadataTranslator/Metadata Translator/Metadata Translator.csproj @@ -14,6 +14,21 @@ 4 true true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true AnyCPU @@ -33,33 +48,42 @@ TRACE prompt 4 + true icon.ico + + true + + + MetadataTranslator.snk + - - ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3\lib\net45\Microsoft.AnalysisServices.dll + + ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3.4\lib\net45\Microsoft.AnalysisServices.dll - - ..\packages\Microsoft.AnalysisServices.AdomdClient.retail.amd64.19.16.3\lib\net45\Microsoft.AnalysisServices.AdomdClient.dll + + ..\packages\Microsoft.AnalysisServices.AdomdClient.retail.amd64.19.16.3.4\lib\net45\Microsoft.AnalysisServices.AdomdClient.dll - - ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3\lib\net45\Microsoft.AnalysisServices.Core.dll + + ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3.4\lib\net45\Microsoft.AnalysisServices.Core.dll - - ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3\lib\net45\Microsoft.AnalysisServices.SPClient.Interfaces.dll + + ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3.4\lib\net45\Microsoft.AnalysisServices.SPClient.Interfaces.dll - - ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3\lib\net45\Microsoft.AnalysisServices.Tabular.dll + + ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3.4\lib\net45\Microsoft.AnalysisServices.Tabular.dll - - ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3\lib\net45\Microsoft.AnalysisServices.Tabular.Json.dll + + ..\packages\Microsoft.AnalysisServices.retail.amd64.19.16.3.4\lib\net45\Microsoft.AnalysisServices.Tabular.Json.dll + + @@ -89,6 +113,12 @@ + + Component + + + Installer1.cs + ImportExportPanel.xaml @@ -161,7 +191,10 @@ ResXFileCodeGenerator Resources.Designer.cs - + + Always + + SettingsSingleFileGenerator @@ -175,7 +208,21 @@ - + + Always + + + + + False + Microsoft .NET Framework 4.7.2 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + diff --git a/MetadataTranslator/Metadata Translator/MetadataTranslator.snk b/MetadataTranslator/Metadata Translator/MetadataTranslator.snk new file mode 100644 index 0000000..8fd291c Binary files /dev/null and b/MetadataTranslator/Metadata Translator/MetadataTranslator.snk differ diff --git a/MetadataTranslator/Metadata Translator/Properties/AssemblyInfo.cs b/MetadataTranslator/Metadata Translator/Properties/AssemblyInfo.cs index b6c04fd..5d0fb40 100644 --- a/MetadataTranslator/Metadata Translator/Properties/AssemblyInfo.cs +++ b/MetadataTranslator/Metadata Translator/Properties/AssemblyInfo.cs @@ -8,9 +8,9 @@ using System.Windows; // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Metadata Translator")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyDescription("Metadata Translator can translate the names and descriptions of the metadata objects in your semantic model by using Azure Cognitive Services.")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("Microsoft Corporation")] [assembly: AssemblyProduct("Metadata Translator")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] diff --git a/MetadataTranslator/Metadata Translator/Properties/Settings.Designer.cs b/MetadataTranslator/Metadata Translator/Properties/Settings.Designer.cs index 1818ecf..80cf39c 100644 --- a/MetadataTranslator/Metadata Translator/Properties/Settings.Designer.cs +++ b/MetadataTranslator/Metadata Translator/Properties/Settings.Designer.cs @@ -8,22 +8,79 @@ // //------------------------------------------------------------------------------ - -namespace Metadata_Translator.Properties -{ +namespace Metadata_Translator.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string SubscriptionKey { + get { + return ((string)(this["SubscriptionKey"])); + } + set { + this["SubscriptionKey"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("https://api.cognitive.microsofttranslator.com/")] + public string TranslatorEndpoint { + get { + return ((string)(this["TranslatorEndpoint"])); + } + set { + this["TranslatorEndpoint"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string TranslatorLocation { + get { + return ((string)(this["TranslatorLocation"])); + } + set { + this["TranslatorLocation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("False")] + public bool OverwriteTranslation { + get { + return ((bool)(this["OverwriteTranslation"])); + } + set { + this["OverwriteTranslation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("")] + public string LastUsedExportFolder { + get { + return ((string)(this["LastUsedExportFolder"])); + } + set { + this["LastUsedExportFolder"] = value; + } + } } } diff --git a/MetadataTranslator/Metadata Translator/Properties/Settings.settings b/MetadataTranslator/Metadata Translator/Properties/Settings.settings index 033d7a5..1f899dc 100644 --- a/MetadataTranslator/Metadata Translator/Properties/Settings.settings +++ b/MetadataTranslator/Metadata Translator/Properties/Settings.settings @@ -1,7 +1,21 @@  - - - - - + + + + + + + + https://api.cognitive.microsofttranslator.com/ + + + + + + False + + + + + \ No newline at end of file diff --git a/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml b/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml index f03f12a..dbef897 100644 --- a/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml +++ b/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml @@ -6,7 +6,8 @@ xmlns:local="clr-namespace:Metadata_Translator" mc:Ignorable="d" x:Name="main" - Title="Metadata Translator" Height="450" Width="800"> + Title="Metadata Translator" Height="450" Width="800" + Closing="OnMainWindow_Closing"> diff --git a/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml.cs b/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml.cs index c058818..306cdd3 100644 --- a/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml.cs +++ b/MetadataTranslator/Metadata Translator/UI/MainWindow.xaml.cs @@ -32,13 +32,10 @@ namespace Metadata_Translator /// public partial class MainWindow : Window { - Configuration AppConfig { get; set; } public MainWindow() { InitializeComponent(); - AppConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); - SetDependencyProperty("SubscriptionKey"); SetDependencyProperty("TranslatorEndpoint"); SetDependencyProperty("TranslatorLocation"); @@ -102,20 +99,19 @@ namespace Metadata_Translator switch (parameterName) { case "SubscriptionKey": - SubscriptionKey = AppConfig.AppSettings.Settings[parameterName].Value; + SubscriptionKey = Properties.Settings.Default.SubscriptionKey; break; case "TranslatorEndpoint": - TranslatorEndpoint = AppConfig.AppSettings.Settings[parameterName].Value; + TranslatorEndpoint = Properties.Settings.Default.TranslatorEndpoint; break; case "TranslatorLocation": - TranslatorLocation = AppConfig.AppSettings.Settings[parameterName].Value; + TranslatorLocation = Properties.Settings.Default.TranslatorLocation; break; case "OverwriteTranslation": - string configSetting = AppConfig.AppSettings.Settings[parameterName].Value; - OverwriteTranslation = bool.TryParse(configSetting, out bool value) && value; + OverwriteTranslation = Properties.Settings.Default.OverwriteTranslation; break; case "LastUsedExportFolder": - LastUsedExportFolder = AppConfig.AppSettings.Settings[parameterName].Value; + LastUsedExportFolder = Properties.Settings.Default.LastUsedExportFolder; break; case "Languages": Languages = new ObservableCollection(); @@ -245,18 +241,6 @@ namespace Metadata_Translator return GetMainWindow(parentObject); } } - - /// - /// Save app settings to the application config file. - /// - /// - /// - private void OnAppSettingChanged(string settingName, string newValue) - { - AppConfig.AppSettings.Settings[settingName].Value = newValue; - AppConfig.Save(ConfigurationSaveMode.Modified); - ConfigurationManager.RefreshSection("appSettings"); - } #endregion #region Dependency Properties @@ -390,8 +374,7 @@ namespace Metadata_Translator private static void OnSubscriptionKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { - (d as MainWindow)?.OnAppSettingChanged("SubscriptionKey", (string)e.NewValue); - + Properties.Settings.Default.SubscriptionKey = (string)e.NewValue; } /// @@ -409,8 +392,7 @@ namespace Metadata_Translator private static void OnTranslatorEndpointChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { - (d as MainWindow)?.OnAppSettingChanged("TranslatorEndpoint", (string)e.NewValue); - + Properties.Settings.Default.TranslatorEndpoint = (string)e.NewValue; } /// @@ -428,8 +410,7 @@ namespace Metadata_Translator private static void OnTranslatorLocationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { - (d as MainWindow)?.OnAppSettingChanged("TranslatorLocation", (string)e.NewValue); - + Properties.Settings.Default.TranslatorLocation = (string)e.NewValue; } /// @@ -447,8 +428,7 @@ namespace Metadata_Translator private static void OnOverwriteTranslationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { - (d as MainWindow)?.OnAppSettingChanged("OverwriteTranslation", e.NewValue.ToString()); - + Properties.Settings.Default.OverwriteTranslation = (bool)e.NewValue; } /// @@ -466,8 +446,7 @@ namespace Metadata_Translator private static void OnLastUsedExportFolderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { - (d as MainWindow)?.OnAppSettingChanged("LastUsedExportFolder", (string)e.NewValue); - + Properties.Settings.Default.LastUsedExportFolder = (string)e.NewValue; } /// @@ -633,6 +612,16 @@ namespace Metadata_Translator { DataModel.Update(); } + + /// + /// Saves modified user settings. + /// + /// + /// + private void OnMainWindow_Closing(object sender, CancelEventArgs e) + { + Properties.Settings.Default.Save(); + } #endregion } } diff --git a/MetadataTranslator/Metadata Translator/metadata-translator.pbitool.json b/MetadataTranslator/Metadata Translator/metadata-translator.pbitool.json index dbf8b06..0bc50e3 100644 --- a/MetadataTranslator/Metadata Translator/metadata-translator.pbitool.json +++ b/MetadataTranslator/Metadata Translator/metadata-translator.pbitool.json @@ -2,7 +2,7 @@ "version": "1.0", "name": "Metadata Translator", "description": "Launch Metadata Translator to translate the names of the metadata objects in your semantic model by using Azure Cognitive Services.", - "path": "C:\\Users\\kayu\\source\\Repos\\Metadata Translator\\Metadata Translator\\bin\\Debug\\Metadata Translator.exe", + "path": "", "arguments": "\"%server%\" \"%database%\"", "iconData": "image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADmCAMAAAD2tAmJAAAC6FBMVEUSZ65HicAYa7Averj////5+/3J3OyTudpclscmdLRdl8fc6POlxeBhmcmIs9atyuOzzuV6qdHd6fNNj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g0pfk+b5Klal6HamUfhJOj7nlbq1gxSpKfSprsFrlSMoe7Mxq+fLT9yBooPP1/0vpWe2AM5SlH9Y3vmsYn6MxF4iTQdigz5R8jinn+aRW3JdHAVckyinbX3kMvf3/RwHJ0RTk90utyG9i5Ckj60c/O6GTnW74vwfOpuqWKlbpXPAC2tzPEJJPmnifYShr494TOg7JfzhoQk5W25MPNN6rPiBX5WMpo2pyHLMzoJW0YnfTvozcS9P4ZRm/VRBrIF3KbiLGTJSKMOkZ95Mo7+criJGhbPh803XSh0gzSBFahpegMPp+5TzhanezEh9WDv4XQ/PBdRPpoaQp54vlwIat2Zrq185yhyedKLWVZBovNdqCbmSh53KLWOdYyio6RKrRur7LRXQqYfIuhe2kwvVkWWVxd+3NY7Mu1W5z9V2vZ4z0Qz3HkgJlJSfXqbrm38sxnOmTKMt5IpkOyz3Yfo7Fb1DMBPmTieTJohW7EF2w7S3pb7icgx4V+KQEgyL5UN4A///s/I06V6He7bYdgney/D7+4cXIj/BUfL4X+ZwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8Fg+C/s3TkVrinAfwAAAABJRU5ErkJggg==" } \ No newline at end of file diff --git a/MetadataTranslator/Metadata Translator/packages.config b/MetadataTranslator/Metadata Translator/packages.config index 64a3c5d..1be8e80 100644 --- a/MetadataTranslator/Metadata Translator/packages.config +++ b/MetadataTranslator/Metadata Translator/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file