manipulate other templates

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
I want to use a .NET component in my project. For this I need 3 steps

1 - Project 1 (C # macro in ProjectManager or CodeCreator) Start .Net component
2 - Project 2 ProjectManager
3 - Project 1 (C # macro in ProjectManager or CodeCreator) Stop .Net component

How can I accomplish this?
I found in CodeCreator something like "project.ExecuteProject ()" but do not understand arguments
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Please provide more information about what you plan to use.
 

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
I attach here two screenshots of what I want to do




I prefer the second picture soulution
 

Вложения

  • 140,3 КБ Просмотры: 407
  • 80,5 КБ Просмотры: 413

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
I think so. Now test
I want to run a project in another project actually. I do not know if: ExecuteProject solution method is solution because I receive error :
There was an error while trying to serialize parameter http://tempuri.org/:args. The InnerException message was 'Type 'System.Collections.Generic.List`1[[System.Tuple`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' with data contract name 'ArrayOfTupleOfstringstring:http://schemas.datacontract.org/2004/07/System' is not expected. Consider using a DataContractResolver or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.'. Please see InnerException for more details.

and in ProjectMaker via c # this error: Exception has been thrown by the target of an invocation.
 

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
with solution found here i get same error : Exception has been thrown by the target of an invocation.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
What build do you use?
 

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
5.7.1.0 (25.12.2014)
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Post whole code that you created for this method
 

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
Thanks rostonix
 

Вложения

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
update
 

Вложения

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

qioru

Client
Регистрация
09.08.2012
Сообщения
33
Благодарностей
1
Баллы
8
Many thanks Rostonix . It works now
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)