Модераторы: gambit, Kefir, Partizan
  

Поиск:

Ответ в темуСоздание новой темы Создание опроса
> Динамическое компилирование, WPF 
:(
    Опции темы
DenWPF
Дата 1.6.2010, 11:36 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
***


Профиль
Группа: Завсегдатай
Сообщений: 1659
Регистрация: 26.9.2009

Репутация: нет
Всего: 1



Как динамически скомпилировать проект WPF.
мне нужно что только получить ехе, даже можно его не запускать.
PM MAIL   Вверх
WolfTheGrey
Дата 1.6.2010, 14:44 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Бывалый
*


Профиль
Группа: Участник
Сообщений: 207
Регистрация: 21.1.2009
Где: forum.vingrad.ru

Репутация: 2
Всего: 2



Это тип RELEASE или юзай  дотфрускатор что идет к 2008 студии-PROFESIONAL
PM MAIL   Вверх
DenWPF
Дата 1.6.2010, 15:28 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
***


Профиль
Группа: Завсегдатай
Сообщений: 1659
Регистрация: 26.9.2009

Репутация: нет
Всего: 1



так нкаверное надо подробней сказать.
у меня есть проект. в нем надо изменить 2 значения и  скомпилировать.
PM MAIL   Вверх
Partizan
Дата 1.6.2010, 18:14 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Let's do some .NET
****


Профиль
Группа: Модератор
Сообщений: 2828
Регистрация: 19.12.2005
Где: Санкт-Петербург

Репутация: 9
Всего: 67



DenWPF, ну так что мешает из командной строки натравить компилятор на проект?


--------------------
СУВ,
       Partizan.
PM MAIL WWW ICQ Skype GTalk Jabber   Вверх
DenWPF
Дата 1.6.2010, 18:19 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
***


Профиль
Группа: Завсегдатай
Сообщений: 1659
Регистрация: 26.9.2009

Репутация: нет
Всего: 1



ну так его потом же надо будет скомпилить. это ещё лишнее действие. просто пойми надо много раз ввести разнные данные и получить разные ехешники.
PM MAIL   Вверх
Partizan
Дата 1.6.2010, 18:51 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Let's do some .NET
****


Профиль
Группа: Модератор
Сообщений: 2828
Регистрация: 19.12.2005
Где: Санкт-Петербург

Репутация: 9
Всего: 67



DenWPF, пишешь тулзу, которая меняет нужные значения в исходном файле, сохраняет, скармливает компилеру и задаёт в качестве Output: MyExeName1.exe
далее - снова меняет значения - снова сохраняет - снова скармливает - задаёт output: MyExeName2.exe. в чём проблема?)


--------------------
СУВ,
       Partizan.
PM MAIL WWW ICQ Skype GTalk Jabber   Вверх
DenWPF
Дата 3.6.2010, 17:22 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Эксперт
***


Профиль
Группа: Завсегдатай
Сообщений: 1659
Регистрация: 26.9.2009

Репутация: нет
Всего: 1



"скармливает компилеру и задаёт в качестве Output: MyExeName1.exe" вот в этом, как?

Это сообщение отредактировал(а) DenWPF - 3.6.2010, 17:22
PM MAIL   Вверх
Partizan
Дата 3.6.2010, 17:38 (ссылка) | (нет голосов) Загрузка ... Загрузка ... Быстрая цитата Цитата


Let's do some .NET
****


Профиль
Группа: Модератор
Сообщений: 2828
Регистрация: 19.12.2005
Где: Санкт-Петербург

Репутация: 9
Всего: 67



Цитата

C:\Program Files\Microsoft Visual Studio 9.0\VC>csc.exe /?
Microsoft ® Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft ® .NET Framework version 3.5
Copyright © Microsoft Corporation. All rights reserved.

                        Visual C# 2008 Compiler Options

                        - OUTPUT FILES -
/out:<file>                    Specify output file name (default: base name of
                               file with main class or first file)
/target:exe                    Build a console executable (default) (Short form:
                               /t:exe)
/target:winexe                 Build a Windows executable (Short form:
                               /t:winexe)
/target:library                Build a library (Short form: /t:library)
/target:module                 Build a module that can be added to another
                               assembly (Short form: /t:module)
/delaysign[+|-]                Delay-sign the assembly using only the public
                               portion of the strong name key
/doc:<file>                    XML Documentation file to generate
/keyfile:<file>                Specify a strong name key file
/keycontainer:<string>         Specify a strong name key container
/platform:<string>             Limit which platforms this code can run on: x86,
                               Itanium, x64, or anycpu. The default is anycpu.

                        - INPUT FILES -
/recurse:<wildcard>            Include all files in the current directory and
                               subdirectories according to the wildcard
                               specifications
/reference:<alias>=<file>      Reference metadata from the specified assembly
                               file using the given alias (Short form: /r)
/reference:<file list>         Reference metadata from the specified assembly
                               files (Short form: /r)
/addmodule:<file list>         Link the specified modules into this assembly

                        - RESOURCES -
/win32res:<file>               Specify a Win32 resource file (.res)
/win32icon:<file>              Use this icon for the output
/win32manifest:<file>          Specify a Win32 manifest file (.xml)
/nowin32manifest               Do not include the default Win32 manifest
/resource:<resinfo>            Embed the specified resource (Short form: /res)
/linkresource:<resinfo>        Link the specified resource to this assembly
                               (Short form: /linkres)
                               Where the resinfo format is <file>[,<string
                               name>[,public|private]]

                        - CODE GENERATION -
/debug[+|-]                    Emit debugging information
/debug:{full|pdbonly}          Specify debugging type ('full' is default, and
                               enables attaching a debugger to a running
                               program)
/optimize[+|-]                 Enable optimizations (Short form: /o)

                        - ERRORS AND WARNINGS -
/warnaserror[+|-]              Report all warnings as errors
/warnaserror[+|-]:<warn list>  Report specific warnings as errors
/warn:<n>                      Set warning level (0-4) (Short form: /w)
/nowarn:<warn list>            Disable specific warning messages

                        - LANGUAGE -
/checked[+|-]                  Generate overflow checks
/unsafe[+|-]                   Allow 'unsafe' code
/define:<symbol list>          Define conditional compilation symbol(s) (Short
                               form: /d)
/langversion:<string>          Specify language version mode: ISO-1, ISO-2, or
                               Default

                        - MISCELLANEOUS -
@<file>                        Read response file for more options
/help                          Display this usage message (Short form: /?)
/nologo                        Suppress compiler copyright message
/noconfig                      Do not auto include CSC.RSP file

                        - ADVANCED -
/baseaddress:<address>         Base address for the library to be built
/bugreport:<file>              Create a 'Bug Report' file
/codepage:<n>                  Specify the codepage to use when opening source
                               files
/utf8output                    Output compiler messages in UTF-8 encoding
/main:<type>                   Specify the type that contains the entry point
                               (ignore all other possible entry points) (Short
                               form: /m)
/fullpaths                     Compiler generates fully qualified paths
/filealign:<n>                 Specify the alignment used for output file
                               sections
/pdb:<file>                    Specify debug information file name (default:
                               output file name with .pdb extension)
/nostdlib[+|-]                 Do not reference standard library (mscorlib.dll)
/lib:<file list>               Specify additional directories to search in for
                               references
/errorreport:<string>          Specify how to handle internal compiler errors:
                               prompt, send, queue, or none. The default is
                               queue.
/moduleassemblyname:<string>   Name of the assembly which this module will be a
                               part of



--------------------
СУВ,
       Partizan.
PM MAIL WWW ICQ Skype GTalk Jabber   Вверх
  
Ответ в темуСоздание новой темы Создание опроса
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
« Предыдущая тема | WPF и Silverlight | Следующая тема »


 




[ Время генерации скрипта: 0.0469 ]   [ Использовано запросов: 22 ]   [ GZIP включён ]


Реклама на сайте     Информационное спонсорство

 
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности     Powered by Invision Power Board(R) 1.3 © 2003  IPS, Inc.