Beispiel #1
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            WebDevInfo info = new WebDevInfo();

            info.Path    = WebDevServerBuilder.WebDev_WebServer_Path;
            info.ExeName = WebDevServerBuilder.WebDev_WebServer_Exe;


            info.SetFullName(txtWebDev.Text.Trim());
            info.VSDevenvFileFullPath = txtVSDev.Text.Trim();
            WebDevBuilderSerializer.Serialize(info);
            WebDevServerBuilder.WebDev_WebServer_Exe  = info.ExeName;
            WebDevServerBuilder.WebDev_WebServer_Path = info.Path;
            DevenvCommand.MSBuildFileFullPath         = info.VSDevenvFileFullPath;
            MSBuildCommand.MSBuildFileFullPath        = info.VSDevenvFileFullPath;
        }
Beispiel #2
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            WebDevInfo info = new WebDevInfo();
            info.Path = WebDevServerBuilder.WebDev_WebServer_Path;
            info.ExeName = WebDevServerBuilder.WebDev_WebServer_Exe;

            info.SetFullName(txtWebDev.Text.Trim());
            info.VSDevenvFileFullPath = txtVSDev.Text.Trim();
            WebDevBuilderSerializer.Serialize(info);
            WebDevServerBuilder.WebDev_WebServer_Exe = info.ExeName;
            WebDevServerBuilder.WebDev_WebServer_Path = info.Path;
            DevenvCommand.MSBuildFileFullPath = info.VSDevenvFileFullPath;
            MSBuildCommand.MSBuildFileFullPath = info.VSDevenvFileFullPath;
        }