Esempio n. 1
0
 void ReloadOnOutputChange(object sender, ProjectPropertyChangedArgs e)
 {
     if (String.Equals(e.PropertyName, "OutputType", StringComparison.OrdinalIgnoreCase)
         && !String.Equals(e.OldValue, e.NewValue, StringComparison.OrdinalIgnoreCase))
     {
         TrackedFileNode crateNode = this.GetCrateFileNode(e.OldValue);
         if (crateNode != null)
             crateNode.IsEntryPoint = false;
         int temp;
         this.ReloadCore(out temp);
         this.GetCrateFileNode(e.NewValue).IsEntryPoint = true;
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Whenever project property has changed - refresh project hierarachy.
 /// </summary>
 private void CommonProjectNode_OnProjectPropertyChanged(object sender, ProjectPropertyChangedArgs e) {
     switch (e.PropertyName) {
         case CommonConstants.StartupFile:
             RefreshStartupFile(this,
                 CommonUtils.GetAbsoluteFilePath(ProjectHome, e.OldValue),
                 CommonUtils.GetAbsoluteFilePath(ProjectHome, e.NewValue));
             break;
     }
 }
Esempio n. 3
0
 private void OnProjectPropertyChanged(object sender, ProjectPropertyChangedArgs args)
 {
     // In theory here we should decide if we have to invalidate the group according with the kind of property
     // that is changed.
     InvalidateGroup();
 }
Esempio n. 4
0
 private void OnProjectPropertyChanged(object sender, ProjectPropertyChangedArgs args) {
     // In theory here we should decide if we have to invalidate the group according with the kind of property
     // that is changed.
     InvalidateGroup();
 }