Installing a WIF Runtime for hosting a .NET application in Windows Azure

前端 未结 3 1206
萌比男神i
萌比男神i 2021-01-23 08:32

I developed a Custom application that is able to consume the CRM Web services and perform Windows Live Id authentication, create, read and update operation in the CRM from the c

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-23 09:16

    What do you mean by "was unable to add RegisterDLL.cmd to my project solution"? In Visual Studio, just follow these steps:

    1. Right click on your project
    2. Choose Add > New Item > Text File
    3. Enter the following code (from the blog post):

      @echo off
      sc config wuauserv start= demand
      wusa.exe "Windows6.1-KB974405-x64.msu" /quiet /norestart
      sc config wuauserv start= disabled
      exit /b 0
      
    4. Rename the file to RegisterDLL.cmd

    5. In the properties, set Copy to Output Directory to Copy always
    6. Go to File > Save as. On the Save button, click the small arrow and choose Save with Encoding
    7. Choose Unicode (UTF-8 without signature) - Codepage 65001

    This should be enough to have a working file. Now follow the rest of the guide and redeploy your application.

提交回复
热议问题