I need to display the version number in the title along with the application name.
Currently, it looks like
Here is my wix snippet:
<Product Id="$(var.ProductId)" Name="Test Application" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Test1111 Inc"
UpgradeCode="C9BC6B42-FCAF-4E96-8F8F-E9D0AC4F393B">
Run Code Online (Sandbox Code Playgroud)
If I change it (append version number in the Name attribute) as below, it will display the version number in all the places Title, Welcome text/description but I just want to change in Title.
<Product Id="$(var.ProductId)" Name="Test Application $(var.ProductVersion)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="Test1111 Inc"
UpgradeCode="C9BC6B42-FCAF-4E96-8F8F-E9D0AC4F393B">
Run Code Online (Sandbox Code Playgroud)
How we can …
我正在尝试使用以下代码使用 Graph API 向 MS Teams 发送消息。
List<Recipient> recipients = new List<Recipient>();
recipients.Add(new Recipient
{
EmailAddress = new EmailAddress
{
Address = "user1@abctest.onmicrosoft.com"
}
});
// Create the message.
Message msg = new Message
{
Body = new ItemBody
{
Content = "Test message3",
ContentType = BodyType.Text,
},
ToRecipients = recipients
};
_graphServiceClient.Users["fe0bb333-3334c49-a3eb-25af61fed1db"].SendMail(msg, true).Request().PostAsync().Wait();
Run Code Online (Sandbox Code Playgroud)
此代码不会在 MS Team 中发送消息,而是在电子邮件中发送该消息。
我正在遵循文档https://learn.microsoft.com/en-us/graph/api/message-send?view=graph-rest-1.0并尝试 Graph Explorer 发送消息但无法正常工作。
请求正文
{“正文”:“你好世界”}
但是,我从 Graph Explorer 收到以下错误:
{
"error": {
"code": "ErrorInvalidIdMalformed",
"message": "Id is …Run Code Online (Sandbox Code Playgroud)